curl -X GET "https://api.foxreach.io/api/v1/inbox/threads/rpl_abc123/conversation" \
-H "X-API-Key: otr_your_key"
{
"data": {
"messages": [
{
"id": "eml_001",
"direction": "sent",
"fromEmail": "[email protected]",
"toEmail": "[email protected]",
"subject": "Quick question about your product",
"body": "Hi John, I noticed Acme recently expanded...",
"category": null,
"timestamp": "2025-01-18T09:00:00"
},
{
"id": "rpl_abc123",
"direction": "received",
"fromEmail": "[email protected]",
"toEmail": "[email protected]",
"subject": "Re: Quick question about your product",
"body": "Hi, thanks for reaching out! I'd love to learn more about your solution.",
"category": "interested",
"timestamp": "2025-01-20T14:30:00"
}
],
"lead": {
"id": "cld_xyz789",
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe",
"company": "Acme Inc"
},
"campaign": {
"id": "cmp_def456",
"name": "Q1 Outreach"
}
}
}
Retrieve the full conversation thread including all sent and received messages.
curl -X GET "https://api.foxreach.io/api/v1/inbox/threads/rpl_abc123/conversation" \
-H "X-API-Key: otr_your_key"
{
"data": {
"messages": [
{
"id": "eml_001",
"direction": "sent",
"fromEmail": "[email protected]",
"toEmail": "[email protected]",
"subject": "Quick question about your product",
"body": "Hi John, I noticed Acme recently expanded...",
"category": null,
"timestamp": "2025-01-18T09:00:00"
},
{
"id": "rpl_abc123",
"direction": "received",
"fromEmail": "[email protected]",
"toEmail": "[email protected]",
"subject": "Re: Quick question about your product",
"body": "Hi, thanks for reaching out! I'd love to learn more about your solution.",
"category": "interested",
"timestamp": "2025-01-20T14:30:00"
}
],
"lead": {
"id": "cld_xyz789",
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe",
"company": "Acme Inc"
},
"campaign": {
"id": "cmp_def456",
"name": "Q1 Outreach"
}
}
}
Show Conversation
curl -X GET "https://api.foxreach.io/api/v1/inbox/threads/rpl_abc123/conversation" \
-H "X-API-Key: otr_your_key"
{
"data": {
"messages": [
{
"id": "eml_001",
"direction": "sent",
"fromEmail": "[email protected]",
"toEmail": "[email protected]",
"subject": "Quick question about your product",
"body": "Hi John, I noticed Acme recently expanded...",
"category": null,
"timestamp": "2025-01-18T09:00:00"
},
{
"id": "rpl_abc123",
"direction": "received",
"fromEmail": "[email protected]",
"toEmail": "[email protected]",
"subject": "Re: Quick question about your product",
"body": "Hi, thanks for reaching out! I'd love to learn more about your solution.",
"category": "interested",
"timestamp": "2025-01-20T14:30:00"
}
],
"lead": {
"id": "cld_xyz789",
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe",
"company": "Acme Inc"
},
"campaign": {
"id": "cmp_def456",
"name": "Q1 Outreach"
}
}
}
| Status | Description |
|---|---|
404 | Thread not found |