# Acquire an access token Acquire an access token for accessing devices and users endpoints Endpoint: POST /organization/auth/token Version: 1.0.0 Security: bearerAuth ## Request fields (application/json): - `organizationId` (string, required) - `secret` (string, required) ## Response 200 fields (application/json): - `accessToken` (string, required) - `expiresIn` (number, required) - `scope` (array, required) ## Response 400 fields (application/json): - `code` (string, required) Enum: "ERR_BAD_REQUEST" - `message` (string, required) - `details` (any) - `stack` (any) ## Response 401 fields (application/json): - `code` (string, required) Enum: "ERR_UNAUTHORIZED" - `message` (string, required) - `details` (any) - `stack` (any) ## Response 500 fields (application/json): - `code` (string, required) Enum: "ERR_INTERNAL_SERVER_ERROR" - `message` (string, required) - `details` (any) - `stack` (any)