auth

switchCompany auth

post/auth/v1/switchCompany

Request body

clientIdstring required

Client ID

clientSecretstring

Client Secret

companyIdnumber double required

Company ID

refreshTokenstring required

Refresh token

Example request

{
  "clientId": "app1",
  "clientSecret": "40cc097b-2a57-4c17-b36a-8fdf3fc2d578",
  "companyId": 1,
  "refreshToken": "eyJhbGciOiJSUzI1NiIsInR5cCIgO...qH1hQ9jv2n3q6T57_F8hZ6hybGRJw"
}

Response

OK

Changes

No recorded changes to this endpoint across all 1 revision of this API.