Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Please use base64 encoded client_id:client_secret

Body

application/json
provider_id
string
required

The provider associated with the connection

authentication_type
enum<string>
Available options:
api_token,
assisted,
credential,
oauth
products
string[]
employee_size
integer

Optional: the size of the employer to be created with this connection. Defaults to 20. Note that if this is higher than 100, historical payroll data will not be generated, and instead only one pay period will be created.

Response

200 - application/json

OK

access_token
string
required
account_id
string<uuid>
required
authentication_type
enum<string>
required
Available options:
api_token,
assisted,
credential,
oauth
connection_id
string
required
entity_id
string
required
products
string[]
required
provider_id
string
required
token_type
string
required
company_id
string<uuid> | null