Contact Tag API

The Contact Tag API allows you to organize and manage tags for your contacts. Tags can be used for segmentation, categorization, and advanced filtering in broadcasts, automations, and reports.Endpoint

Endpoints Overview

Method
Path
Description

GET

/v1/contactTags

List or search contact tags

POST

/v1/contactTags

Create a new contact tag

GET

/v1/contactTags/{contactTagId}

Retrieve a contact tag by ID

DELETE

/v1/contactTags/{contactTagId}

Delete a contact tag by ID

All endpoints require the x-api-key header for authentication.

1. List / Search Contact Tags

GET /v1/contactTags

Retrieve a list of contact tags with optional filtering and search.

Authentication: Requires x-api-key header

Query Parameters:

Name
In
Type
Required
Description

limit

query

string

No

Max number of results

page

query

string

No

Page number for pagination

searchText

query

string

No

Free text search

x-api-key

header

string

Yes

API authentication key

Response: 200 OK – Array of ContactTag

2. Create a Contact Tag

POST /v1/contactTags

Create a new contact tag.

Authentication: Requires x-api-key header

Request Body: ContactTag (application/json)

Response: 200 OK – ContactTag

3. Get Contact Tag by ID

GET /v1/contactTags/{contactTagId}

Retrieve a contact tag by its unique ID.

Authentication: Requires x-api-key header

Path Parameters:

Name
In
Type
Required
Description

contactTagId

path

string

Yes

Contact tag unique ID

Response: 200 OK – ContactTag

4. Delete Contact Tag by ID

DELETE /v1/contactTags/{contactTagId}

Delete a contact tag by its unique ID.

Authentication: Requires x-api-key header

Path Parameters:

Name
In
Type
Required
Description

contactTagId

path

string

Yes

Contact tag unique ID

Response: 200 OK – DeleteResponse

Schemas

ContactTag Schema

{
  "id": "string",
  "name": "string",
  "canonical": "string",
  "createdAt": "string",
  "updatedAt": "string"
}

DeleteResponse Schema

{
  "success": true
}

Last updated