POST
/
addons
curl --request POST \
  --url https://api.togai.com/addons \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "type": "LICENSE",
  "billableName": "<string>"
}'
{
  "name": "<string>",
  "type": "LICENSE",
  "billableName": "<string>",
  "id": "addon.1zYnCiM9Bpg.1zYn",
  "createdAt": "2023-11-07T05:31:56Z",
  "status": "ACTIVE",
  "displayName": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Payload to create addon

Request to create an addon

Response

200
application/json

Response for Create and Get addons requests

Request to create an addon