Skip to main content
POST
Select company context

Authorizations

Authorization
string
header
required

JWT token for user authentication

Body

application/json
company_id
string
required

Company ID to select

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Company selected successfully

user
object
required
token
string
required

JWT authentication token

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

expires_at
string<date-time>
required

Token expiration timestamp

Example:

"2024-01-02T00:00:00.000Z"

selected_company
object