Skip to content
Splashify Pro
Docs

Assign Tags

Add one or more tags to a contact. Tags drive segmentation, automation, and reporting in Splashify Pro — assign them from your own systems (CRM stage changes, purchase events, lifecycle triggers) to keep segments in sync.

Existing tags on the contact are preserved; new tags are merged in and de-duplicated.

Endpoint

POST

https://api.splashifypro.com/api/v1/public/contacts/tags

Headers

Request body

Identify the contact by either phone_number or contact_id.

json
{
  "phone_number": "919876543210",
  "tags": ["vip", "renewed"]
}

Example

bash
curl -X POST https://api.splashifypro.com/api/v1/public/contacts/tags \
  -H "Authorization: Basic YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "phone_number": "919876543210",
    "tags": ["vip", "renewed"]
  }'

Successful response — 200 OK

json
{
  "result": true,
  "message": "Tags assigned successfully",
  "tags": ["lead", "website", "vip", "renewed"]
}

tags is the contact's full tag list after the merge, so you can store it directly.

Error response — 404 Not Found

json
{
  "result": false,
  "message": "Contact not found"
}

Status codes

Implementation tips

  • Idempotent — re-assigning a tag the contact already has is a no-op, and the response still returns the full list.
  • Assigning a tag can trigger Meta Conversions API events if you've configured a lead/purchase trigger on that tag (Settings → Meta Ads) — the event fires automatically.
  • Tag changes sync to the contact's open conversation, so the inbox reflects them in real time.