...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Tip |
---|
Available from CRM.COM R15.0.0 |
Excerpt |
---|
This method returns an authentication token, which can subsequently be used by all other Web API methods to access the system and retrieve data that are owned only by the consumer that was identified through the provided access token |
...
Note |
---|
The Authentication Token expires after two hours, regardless of if the token is used or not, and a new one should be retrieved. The token is returned in JWT structure and the length of the token will be more that 32 characters More information for authenticating using Consumer Application Keys can be found in API Authentication |
Resource URL
Parameters
Name | Type | Description | ||
---|---|---|---|---|
key (mandatory on conditions) | String | The key should be passed via HTTP Basic Auth, as the basic auth username. The basic auth password should be left empty
| ||
jwt (semi-optional and optional on conditions) | String | The authentication token returned by the CRM.COM Identity management system.
| ||
access_token_identifier ( |
semi-optional and optional on conditions) | Access Token Identifier | The identifier of the access token that should be used during the authentication process. The allowed access token identifier fields are the following
|
| ||||
organisation (mandatory on conditions) | String | The organization id on which the a session should be created
| ||
unit (optional) | String | The unit ID that the user will use during login. If not specified then the default unit for that user is used |
Response Data
Name | Type | Description |
---|---|---|
token | String | The authentication token which can be used to access CRM.COM. The token expires after two hours |
Examples
Expand | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
HTTP Method: POST Request
|
...