GET api/Tokens
Issues both an access and refresh token based on the CRM credentials provided via basic authentication in the form of email and password. Note: Custom header X-MSRenewal required to uniquely identify client requesting token in order to validate refresh token later when client calls PATCH /api/token.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Access token in response body, refresh token via custom response header: X-MSRenewal.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
Optional |
|
| Content | HttpContent |
Optional |
|
| StatusCode | HttpStatusCode |
Optional |
|
| ReasonPhrase | string |
Optional |
|
| Headers | Collection of Object |
Optional |
|
| RequestMessage | HttpRequestMessage |
Optional |
|
| IsSuccessStatusCode | boolean |
Optional |