Skip to main content
Get WhatsApp Details
curl --request GET \
  --url https://api.agents.timepay.ai/api/v1/communication/whatsapp/{message_id} \
  --header 'Authorization: <authorization>'
{
  "success": true,
  "data": {
    "message_id": "JGhgdfyrvydfaygdvfjgdvfadf",
    "wamid": "wamid.HBgMOTE4MjY0NzA1NDg4FQIATUFgdTEXgetREQzk0RjExNTQzMzE3RkZGAA==",
    "campaign_id": "PKoinuhbDFCdvhgsvfgv",
    "name": "John wick",
    "agent_id": "JvfyfdfygdvfhvdjfjgGV",
    "loan_id": "LOAN-2025-00123",
    "to": "9876543210",
    "status": "Delivered",
    "template_name": "emi_reminder_hindi",
    "template_id": "ndjgFTCTFCvjhvbHG",
    "conversation": [
      {
          "role": "assistant",
          "content": "Hi Anmol, this is to remind you of your upcoming auto-pay: \n\nDate: 2025-06-11\nAccount: 3583791\nAmount: 10000\n\nThank you and have a nice day.",
          "timestamp": "2026-02-12T16:23:36"
      },
      {
          "role": "user",
          "content": "Hi",
          "timestamp": "2026-02-12T16:28:58"
      },
      {
          "role": "assistant",
          "content": "Hi Anmol,\n\nWelcome to timepay.ai! I'm your personal credit coach, here to assist you in resolving your negative accounts.\n\nLet's get started.\n",
          "timestamp": "2026-02-12T16:28:59"
      },
      {
          "role": "user",
          "content": "Yes",
          "timestamp": "2026-02-12T16:29:10"
      },
      {
          "role": "assistant",
          "content": "Please wait while we fetch your accounts...\n",
          "timestamp": "2026-02-12T16:29:11"
      },
      {
          "role": "user",
          "content": "Any update",
          "timestamp": "2026-02-12T16:29:37"
      }
    ],
    "errors": []
  }
}

Headers

Authorization
string
required
Bearer token for authentication (e.g., Bearer <your_token>).

Path Parameters

message_id
string
required
The unique identifier of the WhatsApp message/conversation.

Response

success
boolean
Indicates whether the request was successful.
data
object
WhatsApp message details object.
{
  "success": true,
  "data": {
    "message_id": "JGhgdfyrvydfaygdvfjgdvfadf",
    "wamid": "wamid.HBgMOTE4MjY0NzA1NDg4FQIATUFgdTEXgetREQzk0RjExNTQzMzE3RkZGAA==",
    "campaign_id": "PKoinuhbDFCdvhgsvfgv",
    "name": "John wick",
    "agent_id": "JvfyfdfygdvfhvdjfjgGV",
    "loan_id": "LOAN-2025-00123",
    "to": "9876543210",
    "status": "Delivered",
    "template_name": "emi_reminder_hindi",
    "template_id": "ndjgFTCTFCvjhvbHG",
    "conversation": [
      {
          "role": "assistant",
          "content": "Hi Anmol, this is to remind you of your upcoming auto-pay: \n\nDate: 2025-06-11\nAccount: 3583791\nAmount: 10000\n\nThank you and have a nice day.",
          "timestamp": "2026-02-12T16:23:36"
      },
      {
          "role": "user",
          "content": "Hi",
          "timestamp": "2026-02-12T16:28:58"
      },
      {
          "role": "assistant",
          "content": "Hi Anmol,\n\nWelcome to timepay.ai! I'm your personal credit coach, here to assist you in resolving your negative accounts.\n\nLet's get started.\n",
          "timestamp": "2026-02-12T16:28:59"
      },
      {
          "role": "user",
          "content": "Yes",
          "timestamp": "2026-02-12T16:29:10"
      },
      {
          "role": "assistant",
          "content": "Please wait while we fetch your accounts...\n",
          "timestamp": "2026-02-12T16:29:11"
      },
      {
          "role": "user",
          "content": "Any update",
          "timestamp": "2026-02-12T16:29:37"
      }
    ],
    "errors": []
  }
}