Skip to main content
POST
/
attachments
/
tags
Create Attachment Tag
curl --request POST \
  --url https://api.decodahealth.com/attachments/tags \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "name": "<string>",
  "color": "#3B82F6"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "color": "<string>",
  "createdDate": "2023-11-07T05:31:56Z"
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json
name
string
required
color
string
default:#3B82F6

Response

Successful Response

id
string
required
name
string
required
color
string
required
createdDate
string<date-time> | null