POST
/
sandbox
/
connections

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:
credential,
api_token,
oauth,
assisted
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.

products
string[]

Response

200 - application/json
access_token
string
required
account_id
string
requireddeprecated

[DEPRECATED] Use connection_id to associate a connection with an access token

authentication_type
enum<string>
required
Available options:
credential,
api_token,
oauth,
assisted
company_id
string
requireddeprecated

[DEPRECATED] Use connection_id to associate a connection with an access token

connection_id
string
required

The ID of the new connection

products
string[]
required
provider_id
string
required

The ID of the provider associated with the access_token.

token_type
string