MapKit JS token
GET
/maps/token
The token MapKit JS initializes with. Minted (a 30-minute ES256 token for this site's origin) when the server holds a MapKit key, else the static token configured for the site (expires_at null when it has no expiry), else 503 with code MAPKIT_NOT_CONFIGURED, and the page keeps its static map. Never cached.
Responses
A token
application/json
JSON
{
"token": "string",
"expires_at": "string"
}