# Generate access token Generate access token Endpoint: POST /auth/token Version: v1 ## Request fields (application/json): - `clientId` (string) The client Id of the organisation - `clientSecret` (string) The client secret of the organisation - `refreshToken` (string) Required for refresh token - `grantType` (string) Define the type of grant Enum: "client_credentials", "refresh_token" - `scope` (string) Define the access scope Enum: "organisation" ## Response 200 fields (application/json): - `token` (string) Example: "u_at_abc123def45678" - `refreshToken` (string) Example: "u_rt_abc123def45678" - `scope` (string) The Domain of the Access Token. Example: "user" - `expiresIn` (integer) Example: 36000 - `createdAt` (integer) Example: 1642759067045