curl --request POST \
--url https://api.cloudtalk.io/v1/conversations/lookup \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"phones": [
"+12025550143",
"+12025550187"
]
}
'{
"data": [
{
"id": "55188",
"channel": "whatsapp",
"externalNumber": "+12025550187",
"internalNumber": {
"id": "3109",
"numberE164": "+12025550111",
"internalName": "WhatsApp line",
"numberType": "mobile",
"country": "US"
},
"contact": {
"id": "44388",
"type": "lead",
"name": "Sam Rivera",
"company": "Northwind",
"phones": [
"+12025550187"
],
"emails": [
"[email protected]"
]
},
"contactAmbiguous": false,
"unread": false,
"awaitingReply": true,
"lastInboundAt": "2026-11-12T10:12:00Z",
"lastOutboundAt": "2026-11-11T16:30:00Z",
"lastMessage": {
"id": "918301",
"conversationId": "55188",
"direction": "inbound",
"channel": "whatsapp",
"externalNumber": "+12025550187",
"internalNumber": {
"id": "3109",
"numberE164": "+12025550111",
"internalName": "WhatsApp line",
"numberType": "mobile",
"country": "US"
},
"body": "Here is a photo of the damaged box.",
"media": [
{
"id": "77120",
"url": "https://media.example.com/v2/djI6MTIzNDU2Ojc3MTIw.c2lnbmF0dXJl/77120",
"fileName": "damaged-box.jpg",
"extension": "jpg",
"contentType": "image/jpeg",
"urlExpiresAt": "2026-11-12T11:20:00Z"
}
],
"fragments": 1,
"whatsappTemplate": null,
"status": null,
"error": null,
"statusUpdatedAt": "2026-11-12T10:12:00Z",
"sentAt": null,
"deliveredAt": null,
"contact": {
"id": "44388",
"type": "lead",
"name": "Sam Rivera",
"company": "Northwind",
"phones": [
"+12025550187"
],
"emails": [
"[email protected]"
]
},
"contactAmbiguous": false,
"user": null,
"createdAt": "2026-11-12T10:12:00Z"
},
"whatsappWindowEndsAt": "2026-11-13T10:12:00Z",
"createdAt": "2026-11-11T16:30:00Z",
"updatedAt": "2026-11-12T10:12:00Z"
},
{
"id": "55120",
"channel": "sms",
"externalNumber": "+12025550143",
"internalNumber": {
"id": "3104",
"numberE164": "+12025550100",
"internalName": "Support line",
"numberType": "fixed",
"country": "US"
},
"contact": {
"id": "44210",
"type": "contact",
"name": "Jane Doe",
"company": "Acme Inc.",
"phones": [
"+12025550143"
],
"emails": [
"[email protected]"
]
},
"contactAmbiguous": false,
"unread": true,
"awaitingReply": true,
"lastInboundAt": "2026-11-12T10:05:00Z",
"lastOutboundAt": "2026-11-12T10:00:00Z",
"lastMessage": {
"id": "918280",
"conversationId": "55120",
"direction": "inbound",
"channel": "sms",
"externalNumber": "+12025550143",
"internalNumber": {
"id": "3104",
"numberE164": "+12025550100",
"internalName": "Support line",
"numberType": "fixed",
"country": "US"
},
"body": "Great, thanks! Can I change the delivery address?",
"media": [],
"fragments": 1,
"whatsappTemplate": null,
"status": null,
"error": null,
"statusUpdatedAt": "2026-11-12T10:05:00Z",
"sentAt": null,
"deliveredAt": null,
"contact": {
"id": "44210",
"type": "contact",
"name": "Jane Doe",
"company": "Acme Inc.",
"phones": [
"+12025550143"
],
"emails": [
"[email protected]"
]
},
"contactAmbiguous": false,
"user": null,
"createdAt": "2026-11-12T10:05:00Z"
},
"whatsappWindowEndsAt": null,
"createdAt": "2026-10-02T14:05:11Z",
"updatedAt": "2026-11-12T10:05:00Z"
}
],
"pagination": {
"limit": 20,
"next": null
},
"requestId": "5f0c2a7e-91d4-4c1b-8e2a-3b6d9f1e7a20"
}{
"error": {
"code": "VALIDATION.INVALID_PARAMETER",
"message": "Unknown query parameter cursor.",
"target": "cursor",
"details": {
"retryable": false
}
},
"requestId": "5f0c2a7e-91d4-4c1b-8e2a-3b6d9f1e7a20"
}{
"code": "UNAUTHORIZED",
"message": "You are not authorized to access this resource."
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {
"retryable": true,
"candidates": [
{
"id": "<string>",
"numberE164": "<string>",
"internalName": "<string>"
}
]
},
"target": "<string>"
},
"requestId": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {
"retryable": true,
"candidates": [
{
"id": "<string>",
"numberE164": "<string>",
"internalName": "<string>"
}
]
},
"target": "<string>"
},
"requestId": "<string>"
}{
"error": {
"code": "VALIDATION.INVALID_FIELD",
"message": "limit must be a whole number.",
"target": "limit",
"details": {
"retryable": false
}
},
"requestId": "5f0c2a7e-91d4-4c1b-8e2a-3b6d9f1e7a20"
}<string>{
"error": {
"code": "<string>",
"message": "<string>",
"details": {
"retryable": true,
"candidates": [
{
"id": "<string>",
"numberE164": "<string>",
"internalName": "<string>"
}
]
},
"target": "<string>"
},
"requestId": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {
"retryable": true,
"candidates": [
{
"id": "<string>",
"numberE164": "<string>",
"internalName": "<string>"
}
]
},
"target": "<string>"
},
"requestId": "<string>"
}Look up conversations
Returns your conversations with up to 50 phone numbers, matched exactly, newest activity first. The numbers go in the body to keep them out of URLs. Set channel for one channel only.
This endpoint pages in the body and takes no query parameters: send limit and cursor next to phones. For the next page, send pagination.next as cursor with the same phones and channel.
Counts toward your company’s Messaging rate limit, one count shared by the Messages, Conversations, WhatsApp templates and media operations: 60 requests per minute by default. See Rate limiting.
curl --request POST \
--url https://api.cloudtalk.io/v1/conversations/lookup \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"phones": [
"+12025550143",
"+12025550187"
]
}
'{
"data": [
{
"id": "55188",
"channel": "whatsapp",
"externalNumber": "+12025550187",
"internalNumber": {
"id": "3109",
"numberE164": "+12025550111",
"internalName": "WhatsApp line",
"numberType": "mobile",
"country": "US"
},
"contact": {
"id": "44388",
"type": "lead",
"name": "Sam Rivera",
"company": "Northwind",
"phones": [
"+12025550187"
],
"emails": [
"[email protected]"
]
},
"contactAmbiguous": false,
"unread": false,
"awaitingReply": true,
"lastInboundAt": "2026-11-12T10:12:00Z",
"lastOutboundAt": "2026-11-11T16:30:00Z",
"lastMessage": {
"id": "918301",
"conversationId": "55188",
"direction": "inbound",
"channel": "whatsapp",
"externalNumber": "+12025550187",
"internalNumber": {
"id": "3109",
"numberE164": "+12025550111",
"internalName": "WhatsApp line",
"numberType": "mobile",
"country": "US"
},
"body": "Here is a photo of the damaged box.",
"media": [
{
"id": "77120",
"url": "https://media.example.com/v2/djI6MTIzNDU2Ojc3MTIw.c2lnbmF0dXJl/77120",
"fileName": "damaged-box.jpg",
"extension": "jpg",
"contentType": "image/jpeg",
"urlExpiresAt": "2026-11-12T11:20:00Z"
}
],
"fragments": 1,
"whatsappTemplate": null,
"status": null,
"error": null,
"statusUpdatedAt": "2026-11-12T10:12:00Z",
"sentAt": null,
"deliveredAt": null,
"contact": {
"id": "44388",
"type": "lead",
"name": "Sam Rivera",
"company": "Northwind",
"phones": [
"+12025550187"
],
"emails": [
"[email protected]"
]
},
"contactAmbiguous": false,
"user": null,
"createdAt": "2026-11-12T10:12:00Z"
},
"whatsappWindowEndsAt": "2026-11-13T10:12:00Z",
"createdAt": "2026-11-11T16:30:00Z",
"updatedAt": "2026-11-12T10:12:00Z"
},
{
"id": "55120",
"channel": "sms",
"externalNumber": "+12025550143",
"internalNumber": {
"id": "3104",
"numberE164": "+12025550100",
"internalName": "Support line",
"numberType": "fixed",
"country": "US"
},
"contact": {
"id": "44210",
"type": "contact",
"name": "Jane Doe",
"company": "Acme Inc.",
"phones": [
"+12025550143"
],
"emails": [
"[email protected]"
]
},
"contactAmbiguous": false,
"unread": true,
"awaitingReply": true,
"lastInboundAt": "2026-11-12T10:05:00Z",
"lastOutboundAt": "2026-11-12T10:00:00Z",
"lastMessage": {
"id": "918280",
"conversationId": "55120",
"direction": "inbound",
"channel": "sms",
"externalNumber": "+12025550143",
"internalNumber": {
"id": "3104",
"numberE164": "+12025550100",
"internalName": "Support line",
"numberType": "fixed",
"country": "US"
},
"body": "Great, thanks! Can I change the delivery address?",
"media": [],
"fragments": 1,
"whatsappTemplate": null,
"status": null,
"error": null,
"statusUpdatedAt": "2026-11-12T10:05:00Z",
"sentAt": null,
"deliveredAt": null,
"contact": {
"id": "44210",
"type": "contact",
"name": "Jane Doe",
"company": "Acme Inc.",
"phones": [
"+12025550143"
],
"emails": [
"[email protected]"
]
},
"contactAmbiguous": false,
"user": null,
"createdAt": "2026-11-12T10:05:00Z"
},
"whatsappWindowEndsAt": null,
"createdAt": "2026-10-02T14:05:11Z",
"updatedAt": "2026-11-12T10:05:00Z"
}
],
"pagination": {
"limit": 20,
"next": null
},
"requestId": "5f0c2a7e-91d4-4c1b-8e2a-3b6d9f1e7a20"
}{
"error": {
"code": "VALIDATION.INVALID_PARAMETER",
"message": "Unknown query parameter cursor.",
"target": "cursor",
"details": {
"retryable": false
}
},
"requestId": "5f0c2a7e-91d4-4c1b-8e2a-3b6d9f1e7a20"
}{
"code": "UNAUTHORIZED",
"message": "You are not authorized to access this resource."
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {
"retryable": true,
"candidates": [
{
"id": "<string>",
"numberE164": "<string>",
"internalName": "<string>"
}
]
},
"target": "<string>"
},
"requestId": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {
"retryable": true,
"candidates": [
{
"id": "<string>",
"numberE164": "<string>",
"internalName": "<string>"
}
]
},
"target": "<string>"
},
"requestId": "<string>"
}{
"error": {
"code": "VALIDATION.INVALID_FIELD",
"message": "limit must be a whole number.",
"target": "limit",
"details": {
"retryable": false
}
},
"requestId": "5f0c2a7e-91d4-4c1b-8e2a-3b6d9f1e7a20"
}<string>{
"error": {
"code": "<string>",
"message": "<string>",
"details": {
"retryable": true,
"candidates": [
{
"id": "<string>",
"numberE164": "<string>",
"internalName": "<string>"
}
]
},
"target": "<string>"
},
"requestId": "<string>"
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {
"retryable": true,
"candidates": [
{
"id": "<string>",
"numberE164": "<string>",
"internalName": "<string>"
}
]
},
"target": "<string>"
},
"requestId": "<string>"
}Authorizations
HTTP Basic Authentication. Use your API Access Key ID as the username and your API Access Key Secret as the password. Generate keys in the CloudTalk Dashboard under Account -> Settings -> API Keys (https://dashboard.cloudtalk.io/menu/account/settings/API-keys).