Skip to main content

Create API token

POST/api/v1/apis/token/

Query parameters

  • apikeyQuerystringrequired

    API key used to authenticate the request

    • required
    • must be a valid API key
    example{{api_key}}
  • locationQuerystringrequired

    Specifies the target location for the API token

    • non-empty string
    • alphanumeric characters, hyphens, or underscores only
    example{{location}}

Request body

application/json

object
token_namestringrequired

Name of the API token

exampleapi-automation
access_nameoneOfrequired

Responses

200Successful response
object
codeinteger

HTTP status code of the token creation request

example200
dataobject
errorsobject
messagestring

Status message indicating the result of the request

exampleSuccess