Azeer API
  1. Contacts
Azeer API
  • Default module
    • API Authentication
    • APIs
      • Agents
        • Create Agent
        • Update Agent
        • Get Agent Details
      • Contacts
        • Create Contact
          POST
        • Create Bulk Contacts
          POST
      • Messages
        • Send Message
        • Delete Message
        • Delete Bulk Messages
      • Webhooks
        • Webhooks
        • List all webhooks
        • Get Webhook Details
        • Create Webhook
        • Delete Webhook
      • tags
        • Create Tag
  1. Contacts

Create Contact

POST
https://api.mottasl.ai/v1/contact/create
Last modified:2024-11-25 15:46:16
Create a new single/multiple contact, You can create up to 1000 contact per bulck bach

Request

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

Example
{
    "mode": "string",
    "contacts": [
        {
            "platform_id": "string",
            "platform": "string",
            "image_url": "string",
            "profile_name": "string",
            "profile_display_name": "string",
            "profile_email": "string",
            "country_code": "string",
            "tags": [
                0
            ]
        }
    ]
}

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/create' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "mode": "string",
    "contacts": [
        {
            "platform_id": "string",
            "platform": "string",
            "image_url": "string",
            "profile_name": "string",
            "profile_display_name": "string",
            "profile_email": "string",
            "country_code": "string",
            "tags": [
                0
            ]
        }
    ]
}'

Responses

🟢200Success
application/json
Body

Example
{}
🟠400BadRequest
Modified at 2024-11-25 15:46:16
Previous
Get Agent Details
Next
Create Bulk Contacts
Built with