accounts

Create new API key

post/v1/accounts/me/api-keys

Request

  • Base URL: https://api.dispatchtickets.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dispatchtickets.com/v1/accounts/me/api-keys
  • Auth: HTTP bearer

Request body

namestring

Name for the API key

allBrandsboolean

Whether this key can access all brands (default: true)

brandIdsstring[]

Specific brand IDs this key can access (only if allBrands is false)

Example request

{
  "name": "Production API Key",
  "allBrands": true,
  "brandIds": [
    "ws_abc123",
    "ws_def456"
  ]
}

Response

API key created. The key value is only returned once.

Changes

No recorded changes to this operation across all 1 revision of this API.