Browse documentation

Onboarding

7 endpoints, of which 3 need no token.

Paths are relative to the base URL for your environment. Unless marked otherwise, every request needs an Authorization: Bearer header.

GET/onboarding/draft

Get Draft

Response fields

Asserted by the API’s own test suite.

draft
PUT/onboarding/draft

Update Draft

Request body

json
{
  "step": "company_info",
  "data": {
    "companyName": "Test Company",
    "dotNumber": "1234567"
  }
}

Response fields

Asserted by the API’s own test suite.

ok
DELETE/onboarding/draft

Delete Draft

Response fields

Asserted by the API’s own test suite.

ok
POST/onboarding/setup

Setup

Request body

json
{
  "companyName": "Test Company LLC",
  "dotNumber": "1234567"
}

Response fields

Asserted by the API’s own test suite.

organizationId
POST/onboarding/send-codeNo token required

Send Code

Request body

json
{
  "email": "test@example.com",
  "username": "testuser"
}

Response fields

Asserted by the API’s own test suite.

successsignature
POST/onboarding/verify-codeNo token required

Verify Code

Request body

json
{
  "email": "test@example.com",
  "username": "testuser",
  "code": "123456",
  "signature": "{{verification_signature}}"
}

Response fields

Asserted by the API’s own test suite.

successcognitoConfirmed
POST/onboarding/submitNo token required

Submit Onboarding

Request body

json
{
  "organizationId": "{{organization_id}}"
}

Response fields

Asserted by the API’s own test suite.

successorganizationId