Generate access_token
POST {{base_url}}/collection/token/
The POST /collection/token/ endpoint is used to obtain a token.
Request Body
- No request body parameters required for this request.
Response
Upon a successful request, the response will be a JSON object with the following properties:
access_token(string): The access token obtained.token_type(string): The type of token obtained.expires_in(integer): The duration in seconds for which the token is valid.
Headers
- No specific headers are required for this request.
Example response:
{
"access_token": "",
"token_type": "",
"expires_in": 0
}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Ocp-Apim-Subscription-Key | string |