Azeer API Documentation
  1. Tags
Azeer API Documentation
  • Welcome 👋
  • API Authentication
  • API Endpoints
    • Messages
      • Messages Overview
      • Get Templates List
      • Send a Template Message
      • Send a Text Message
      • Send a Document
      • Send an Image
    • Agents
      • List All Agents
      • Get an Agent Details
      • Assign Contact to an Agent
    • Contacts
      • Create a Contact
      • Get Contact Details
    • Webhooks
      • Webhooks Overview
      • List All Webhooks
      • Get Webhook Details
      • Create Webhook
      • Delete Webhook
    • Tags
      • Create a Tag
        POST
      • List All Tags
        GET
      • Adding Tag to a Contact
        POST
  1. Tags

Adding Tag to a Contact

POST
https://api.mottasl.ai/v1/contact/tags
Last modified:2026-01-04 13:50:43

Assign Tags to a Contact#

Use this endpoint to assign one or more existing tags to a specific contact in your Business.
The contact is identified using platform_id (the contact’s phone number), and the tags are provided as an array of tag_ids.
💡
To get the Tag ID (id), you must call the Tags listing endpoint first:
Open Tags Listing Endpoint →

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params

Body Params application/jsonRequired

Example
{
    "platform_id": "966544444444",
    "tag_ids": [
        121976
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mottasl.ai/v1/contact/tags' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "platform_id": "966544444444",
    "tag_ids": [
        121976
    ]
}'

Responses

🟢201Created
application/json
Body

Example
{
    "message": "string",
    "success": true
}
Modified at 2026-01-04 13:50:43
Previous
List All Tags
Built with