v1

latestOpenAPI 3.0.02026-07-175989869.3 KB
Upload Tokens

Generate an upload token

Generates an upload token that can be used to replace the API Key. More information can be found here

post/upload-tokens

Request body

ttlinteger

Time in seconds that the token will be active. A value of 0 means that the token has no exipration date. The default is to have no expiration.

Example request

{
  "ttl": 3600
}

Response

Success

tokenstring

The unique identifier for the token you will use to authenticate an upload.

ttlinteger

Time-to-live - how long the upload token is valid for.

createdAtstring date-time

When the token was created, displayed in ATOM UTC format.

expiresAtstring date-time nullable

When the token expires, displayed in ATOM UTC format.

Example response

{
  "createdAt": "2019-12-16T08:25:51Z",
  "ttl": 171976544,
  "expiresAt": "2019-12-16T09:25:51Z",
  "token": "to1tcmSFHeYY5KzyhOqVKMKb"
}