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

Create a Tag

POST
https://api.mottasl.ai/v1/tags
Last modified:2025-12-16 12:42:03
Using this endpoint you'll be able to create a new single tag with a description and a color.
You can use the any color picker for Hex Codes like https://htmlcolorcodes.com/
Descriptions are important if you have multiple tags in you account and you need to distinguish between them later on.

Request

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

Example
{
    "tag": "VIP",
    "description": "VIP client",
    "colour": "#e74266"
}

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/tags' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "tag": "VIP",
    "description": "VIP client",
    "colour": "#e74266"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "data": {
        "id": 97451,
        "business_id": "8e4c6c2f-2f73-0000-0000-0000",
        "tag": "VIP",
        "colour": "#1ca08a",
        "description": "VIP Client",
        "created_by": 3077323,
        "display_name": "",
        "updated_at": "2025-10-12T08:40:43.163004Z",
        "created_at": "2025-10-12T08:40:43.163004Z"
    },
    "message": "Tag created successfully",
    "success": true
}
🔴500InternelError
🟠400BadRequest
Modified at 2025-12-16 12:42:03
Previous
Delete Webhook
Next
List All Tags
Built with