/api

get
api key.

geolytix.xyz/auth/token/api
Calling the endpoint without a valid access token will redirect the client to the login view. A successful /login post will redirect to this endpoint with a temporary token which should resolve into an API key.
Request
Response
Request
Query Parameters
token
required
string
An admin token is required to request an API key.
Response
200: OK
An API key is returned when called with a valid token for an admin user account which has API keys enabled.
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImRlbm5pcy5iYXVzenVzQGdlb2x5dGl4LmNvLnVrIiwiYWNjZXNzIjoiYXBpIiwiaWF0IjoxNTQxODU2NzEwfQ.fFQxuYls5560CWdnIO13vwOa229TJYSDxYCVD56y***
401: Unauthorized
Returned if the token is not an admin token or if the user account has not been enabled to have API keys.
'Invalid token.'

‚Äč