Create api-token

post

API tokens securely grant operators access to an API's services by authenticating and authorizing their requests, ensuring proper permission to access resources and perform actions.

Body
brand_idstringRequired

Unique identifier for the brand, provided by the TBB platform.

passwordstringRequired

Password associated with the brand, provided by the TBB platform.

Responses
200
Token successfully created
application/json
post
POST /api/token HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 71

{
  "brand_id": "hsgfthyescf555JKJJKJH",
  "password": "hsgfthyescf555JKJJKJH"
}
{
  "api-token": "example-token"
}

Last updated