---
title: Generate a Maps token
framework: applemapsserverapi
role: symbol
role_heading: Web Service Endpoint
path: applemapsserverapi/-v1-token
---

# 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/token

## Response Codes

200 OK: 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: 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 : 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: An error that indicates the server can’t complete the request. The dictionary that accompanies the error may contain additional details about the error.

## Mentioned in

Creating and using tokens with Maps Server API

## Discussion

Discussion Example

## See Also

### Essentials

- [Creating and using tokens with Maps Server API](applemapsserverapi/creating-and-using-tokens-with-maps-server-api.md)
- [Creating a Maps identifier and a private key](applemapsserverapi/creating-a-maps-identifier-and-a-private-key.md)
- [Debugging an Invalid token](applemapsserverapi/debugging-an-invalid-token.md)
- [Common objects](applemapsserverapi/common-objects.md)
- [Integrating the Apple Maps Server API into Java server applications](applemapsserverapi/integrating-the-apple-maps-server-api-into-java-server-applications.md)
