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": "eqZxFCfgLXtuHlyOikbMjoVImlJzZQ",
    "wamid": "wamid.HBgMOTE4MjQ5NTg3NTUyFQIAERgSREYzODA5ODlFQzdBQjVDNzBGAA==",
    "agent_id": "PPTnLQAvGlLtVgRbpcFn",
    "campaign_id": "xyGwYgmSSUsGKtTPmxTv",
    "to": "8249587552",
    "status": "Accepted",
    "template_id": "hfu7VL6sBhI6NPm",
    "name": "Subhranshu Choudhury",
    "loan_id": "LOANID-2043153",
    "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": "eqZxFCfgLXtuHlyOikbMjoVImlJzZQ",
    "wamid": "wamid.HBgMOTE4MjQ5NTg3NTUyFQIAERgSREYzODA5ODlFQzdBQjVDNzBGAA==",
    "agent_id": "PPTnLQAvGlLtVgRbpcFn",
    "campaign_id": "xyGwYgmSSUsGKtTPmxTv",
    "to": "8249587552",
    "status": "Accepted",
    "template_id": "hfu7VL6sBhI6NPm",
    "name": "Subhranshu Choudhury",
    "loan_id": "LOANID-2043153",
    "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": []
  }
}