Tip |
---|
Available from CRM.COM R10.0.0 |
Excerpt |
---|
This method returns an authentication token which can subsequently be used by all other Web API methods to access the system. Note that the authentication token expires after two hours. |
Note |
---|
Token expires after two hours, regardless of if the token is used or not, and a new one should be retrieved From CRM.COM R12.0.0 onwards: The token is returned in JWT structure and the length of the token will be more that 32 characters |
...
Name | Type | Description |
---|---|---|
key | String | The key should be passed via HTTP Basic Auth, as the basic auth username. The basic auth password should be left empty |
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 |
...
Expand | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
HTTP Method: POST
Request:
Headers:
Post Data:
Response:
|