Generate a Maps token
Returns a JWT maps access token that you use to call the service API.
URL
GET https://maps-api.apple.com/v1/tokenResponse Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | TokenResponse | A response that indicates the authorization request is successful. The dictionary that accompanies the response contains a maps access token and an integer that indicates the time in seconds until the token expires. |
| 401 | Unauthorized Content-Type: application/json | ErrorResponse | An error response that indicates the maps token is missing or invalid. The dictionary that accompanies the error may contain additional details about the error. |
| 429 | Content-Type: application/json | ErrorResponse | An ErrorResponse object that indicates the call exceeds the daily service call quota for the authorization token presented. The app should try again later. If your app requires a larger daily quota, submit a quota increase request form. |
| 500 | Internal Server Error Content-Type: application/json | ErrorResponse | An error that indicates the server can’t complete the request. The dictionary that accompanies the error may contain additional details about the error. |