Azeer API Documentation
  1. Agents
Azeer API Documentation
  • Welcome to Azeer API 👋
  • 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
      • Get an Agent Details
        GET
      • Assign Contact to an Agent
        POST
    • Contacts
      • Create a Contact
      • Get Contact Details
    • Webhooks
      • Webhooks Overview
      • List All Webhooks
      • Get Webhook Details
      • Create Webhook
      • Delete Webhook
    • Tags
      • Create a Tag
      • List All Tags
      • Adding Tag to a Contact
    • Custoum Fields
      • List Custoum Fields
  1. Agents

List All Agents

GET
https://api.mottasl.ai/v1/agent
Last modified:2026-03-02 00:18:55

List Agents#

Use this endpoint to fetch details about every agent associated with your organization.
Each agent object includes essential metadata such as ID, name, role, status etc.
This endpoint is typically used to:
Display a full list of active and inactive agents in your dashboard.
Sync agent data into your CRM or admin panel.
Validate agent presence for automations or reporting.

Request

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

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 GET 'https://api.mottasl.ai/v1/agent' \
--header 'Authorization: Bearer <token>'

Responses

🟢200ContactDetails
application/json
Body

Example
{
    "id": 1,
    "platform_id": "1234567890",
    "platform": "WhatsApp",
    "is_agent": true,
    "business_id": "550e8400-e29b-41d4-a716-446655440000",
    "chat_status": "online",
    "created_at": "2024-11-24T10:00:00Z",
    "updated_at": "2024-11-24T11:00:00Z",
    "contact_meta": {
        "last_message_at": "2024-11-23T15:30:00Z",
        "status": "active"
    },
    "contact_profile": {
        "name": "John Doe",
        "display_name": "John",
        "address": "123 Main St, Springfield",
        "email": "johndoe@example.com",
        "country": "US",
        "image": "https://example.com/profile.jpg",
        "language": "en",
        "role": "customer"
    },
    "tags": [
        {
            "id": 101,
            "name": "VIP",
            "color": "#FFD700"
        },
        {
            "id": 102,
            "name": "Support",
            "color": "#00FF00"
        }
    ]
}
🔴500InternelError
🟠400BadRequest
🟢200OK
Modified at 2026-03-02 00:18:55
Previous
Send an Image
Next
Get an Agent Details
Built with