Create Token

Create a new token object for the specific account.

post
Body
accountall ofOptional
namestringOptional
iconstring | nullableOptional
descriptionstring | nullableOptional
Responses
201
Created
application/json
post
POST /public/v1/accounts/api-tokens HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 100

{
  "account": {
    "id": "text"
  },
  "name": "text",
  "icon": "text",
  "description": "text",
  "modules": [
    {
      "id": "text"
    }
  ]
}
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-06-22T18:54:34.910Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    },
    "updated": {
      "at": "2025-06-22T18:54:34.910Z",
      "by": {
        "0": "[",
        "1": "C",
        "2": "i",
        "3": "r",
        "4": "c",
        "5": "u",
        "6": "l",
        "7": "a",
        "8": "r",
        "9": " ",
        "10": "R",
        "11": "e",
        "12": "f",
        "13": "e",
        "14": "r",
        "15": "e",
        "16": "n",
        "17": "c",
        "18": "e",
        "19": "]"
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "status": "text",
  "name": "text",
  "description": "text",
  "icon": "text",
  "lastAccessAt": "2025-06-22T18:54:34.910Z",
  "token": "text",
  "account": {
    "id": "text",
    "icon": "text",
    "type": "text",
    "status": "text",
    "name": "text"
  },
  "modules": [
    {
      "id": "text",
      "description": "text",
      "name": "text",
      "filters": {
        "group.buyers": [
          "text"
        ]
      },
      "settings": {
        "configurable": true,
        "default": true,
        "paid": true,
        "type": [
          "text"
        ],
        "obsolete": true,
        "eligibility": {
          "multi": true,
          "single": true
        }
      }
    }
  ]
}

Last updated

Was this helpful?