Get Token
post /identity/token
This endpoint for generate access token. Which is used to access any resources on AXA Connect platform.
Request Header
Name | Type | Required | Description |
---|---|---|---|
content-type | string | Required | application/x-www-form-urlencoded |
Request Body
Name | Type | Required | Description |
---|---|---|---|
grant_type | string | Required | Grant types specify how a client can interact with the token service. |
client_id | string | Required | client identifier |
client_secret | string | Required | The secret key |
scope | string | Required | Resource name to access |
Example request
Response
Name | Type | Required | Description |
---|---|---|---|
access_token | string | Required | An access token allows access to an API resource. |
expires_in | number | Required | Lifetime of access token in seconds |
token_type | string | Required | Type of token |