POST

/v1/contacts/subscribe

Bearer*
curl --request POST \
  --url https://api.useplunk.com/v1/contacts/subscribe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: "application/json"' \
  --data '{
  "id": "<id>"
}'

Body

idrequired
string

The ID of the contact you want to subscribe

Headers

Content-Typerequired
string

application/json

Response

{
    "success": true,
    "contact": "80d74d13-16eb-48c5-bc2b-aae6fd5865cc",
    "subscribed": true
}