Skip to main content
POST
/
api
/
v1
/
tags
Create tag
curl --request POST \
  --url https://app.sure.am/api/v1/tags \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "tag": {
    "name": "<string>",
    "color": "<string>"
  }
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "color": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-Api-Key
string
header
required

API key for authentication. Generate one from your account settings.

Body

application/json
tag
object
required

Response

tag created with auto-assigned color

id
string<uuid>
required
name
string
required
color
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required