Docs
Get Maps Token
POST /maps/token
POST
/maps/tokenReturns a short-lived Azure Maps SAS token for searching places from the browser, with its expiry and the host to call. Reuses the caller's token until five minutes before it expires. Send the browser's Azure Maps call counts since the last token in the body. Needs organization or event basic access. 400 when Location search is unavailable.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| browserCalls | object | Optional | |
| rejectedToken | string | Optional |
Response
| Field | Type | Description |
|---|---|---|
| token | string| null | |
| expiresOn | date-time | |
| host | string| null |