Management
Create Access Token
Exchange the authorization code for an access token
POST
/
auth
/
token
Headers
Finch-API-Version
string
default: 2020-09-17requiredHeader used to specify the version for a given API request. Current version is 2020-09-17.
Content-Type
string
default: application/jsonrequiredUsed to indicate the original media type of the resource
Body
application/json
client_id
string
requiredclient_secret
string
requiredcode
string
requiredredirect_uri
string
Response
200 - application/json
access_token
string
requiredaccount_id
string
requiredThe Finch uuid of the account used to connect this company.
client_type
enum<string>
requiredThe type of application associated with a token.
Available options:
production
, development
, sandbox
company_id
string
requiredThe Finch uuid of the company associated with the access_token
.
connection_type
enum<string>
requiredThe type of the connection associated with the token.
provider
- connection to an external providerfinch
- finch-generated data.
Available options:
provider
, finch
products
string[]
requiredAn array of the authorized products associated with the access_token
.
provider_id
string
requiredThe payroll provider associated with the access_token
.
Was this page helpful?