Skip to main content
POST
/
api
/
v3
/
labels
Create a new label
curl --request POST \
  --url https://tokens.swap.coffee/api/v3/labels \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "label": "label"
}
'
{
  "error": "error description"
}

Authorizations

X-Api-Key
string
header
required

Body

application/json
label
string
required
Example:

"label"

Response

Label created successfully