POST
/
contacts
/
{id}
/
tags
Add tags to a contact
curl --request POST \
  --url https://api.smokeball.com/contacts/{id}/tags \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json-patch+json' \
  --header 'x-api-key: <api-key>' \
  --data '[
  "<string>"
]'
{
  "id": "<string>",
  "href": "<string>",
  "relation": "<string>",
  "method": "GET"
}

Authorizations

x-api-key
string
header
required
Authorization
string
header
required

Path Parameters

id
string<uuid>
required

The contact ID

Body

The list of tags to add

The body is of type string[].

Response

When request is successful. Returns a hypermedia 'Link' object.

id
string | null
href
string | null
relation
string | null
method
string | null
default:GET