curl --request GET \
--url https://getbill.io/external-api/v1/followups/debt/{debtId} \
--header 'Authorization: <authorization>'{
"error": false,
"data": [
{
"id": "abc123def456",
"debt_id": "xyz789ghi012",
"status": "deal_found",
"type": "call",
"call_date": "2024-01-22T10:30:00+00:00",
"scheduled_at": "2024-01-22T10:00:00+00:00",
"summary": "Initial contact attempt - successful",
"notes": "Customer answered, discussed payment options",
"call_id": "call_789456",
"audio_url": "https://s3.amazonaws.com/bucket/recordings/call_789456.mp3?X-Amz-Signature=...",
"pdf_url": null,
"duration_ms": 180000,
"disconnection_reason": "completed_successfully",
"direction": "outbound",
"phone_number_used": "+33800123456",
"is_retry": false,
"processed_at": "2024-01-22T10:35:00+00:00",
"triggered_payment": true,
"email_opened": false,
"email_open_count": 0,
"email_first_opened_at": null,
"email_clicked": false,
"email_click_count": 0,
"media_urls_expire_at": "2024-01-22T11:35:00+00:00"
},
{
"id": "def456ghi789",
"debt_id": "xyz789ghi012",
"status": "delivered",
"type": "email",
"call_date": "2024-01-20T14:15:00+00:00",
"scheduled_at": "2024-01-20T14:00:00+00:00",
"summary": "Payment reminder sent",
"notes": "Automated reminder email with payment instructions",
"call_id": null,
"audio_url": null,
"pdf_url": null,
"duration_ms": null,
"disconnection_reason": null,
"direction": null,
"phone_number_used": null,
"is_retry": false,
"processed_at": "2024-01-20T14:15:00+00:00",
"triggered_payment": false,
"email_opened": true,
"email_open_count": 3,
"email_first_opened_at": "2024-01-20T15:30:00+00:00",
"email_clicked": true,
"email_click_count": 1
}
],
"pagination": {
"total": 5,
"page": 1,
"limit": 50,
"pages": 1
}
}
Retrieve all followups for a specific debt
curl --request GET \
--url https://getbill.io/external-api/v1/followups/debt/{debtId} \
--header 'Authorization: <authorization>'{
"error": false,
"data": [
{
"id": "abc123def456",
"debt_id": "xyz789ghi012",
"status": "deal_found",
"type": "call",
"call_date": "2024-01-22T10:30:00+00:00",
"scheduled_at": "2024-01-22T10:00:00+00:00",
"summary": "Initial contact attempt - successful",
"notes": "Customer answered, discussed payment options",
"call_id": "call_789456",
"audio_url": "https://s3.amazonaws.com/bucket/recordings/call_789456.mp3?X-Amz-Signature=...",
"pdf_url": null,
"duration_ms": 180000,
"disconnection_reason": "completed_successfully",
"direction": "outbound",
"phone_number_used": "+33800123456",
"is_retry": false,
"processed_at": "2024-01-22T10:35:00+00:00",
"triggered_payment": true,
"email_opened": false,
"email_open_count": 0,
"email_first_opened_at": null,
"email_clicked": false,
"email_click_count": 0,
"media_urls_expire_at": "2024-01-22T11:35:00+00:00"
},
{
"id": "def456ghi789",
"debt_id": "xyz789ghi012",
"status": "delivered",
"type": "email",
"call_date": "2024-01-20T14:15:00+00:00",
"scheduled_at": "2024-01-20T14:00:00+00:00",
"summary": "Payment reminder sent",
"notes": "Automated reminder email with payment instructions",
"call_id": null,
"audio_url": null,
"pdf_url": null,
"duration_ms": null,
"disconnection_reason": null,
"direction": null,
"phone_number_used": null,
"is_retry": false,
"processed_at": "2024-01-20T14:15:00+00:00",
"triggered_payment": false,
"email_opened": true,
"email_open_count": 3,
"email_first_opened_at": "2024-01-20T15:30:00+00:00",
"email_clicked": true,
"email_click_count": 1
}
],
"pagination": {
"total": 5,
"page": 1,
"limit": 50,
"pages": 1
}
}
followups:read scope.
curl -X GET "/external-api/v1/followups/debt/xyz789ghi012?limit=50" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
false for successful requestsShow followup object
on_hold, scheduled, in_progress, sent, delivered, deal_found, no_answer, deal_not_found, bad_behavior, failed, cancelledcall, email, sms, whatsapp, voicemail, manual_call, physical, postmailinbound or outboundaudio_url or pdf_url are provided.{
"error": false,
"data": [
{
"id": "abc123def456",
"debt_id": "xyz789ghi012",
"status": "deal_found",
"type": "call",
"call_date": "2024-01-22T10:30:00+00:00",
"scheduled_at": "2024-01-22T10:00:00+00:00",
"summary": "Initial contact attempt - successful",
"notes": "Customer answered, discussed payment options",
"call_id": "call_789456",
"audio_url": "https://s3.amazonaws.com/bucket/recordings/call_789456.mp3?X-Amz-Signature=...",
"pdf_url": null,
"duration_ms": 180000,
"disconnection_reason": "completed_successfully",
"direction": "outbound",
"phone_number_used": "+33800123456",
"is_retry": false,
"processed_at": "2024-01-22T10:35:00+00:00",
"triggered_payment": true,
"email_opened": false,
"email_open_count": 0,
"email_first_opened_at": null,
"email_clicked": false,
"email_click_count": 0,
"media_urls_expire_at": "2024-01-22T11:35:00+00:00"
},
{
"id": "def456ghi789",
"debt_id": "xyz789ghi012",
"status": "delivered",
"type": "email",
"call_date": "2024-01-20T14:15:00+00:00",
"scheduled_at": "2024-01-20T14:00:00+00:00",
"summary": "Payment reminder sent",
"notes": "Automated reminder email with payment instructions",
"call_id": null,
"audio_url": null,
"pdf_url": null,
"duration_ms": null,
"disconnection_reason": null,
"direction": null,
"phone_number_used": null,
"is_retry": false,
"processed_at": "2024-01-20T14:15:00+00:00",
"triggered_payment": false,
"email_opened": true,
"email_open_count": 3,
"email_first_opened_at": "2024-01-20T15:30:00+00:00",
"email_clicked": true,
"email_click_count": 1
}
],
"pagination": {
"total": 5,
"page": 1,
"limit": 50,
"pages": 1
}
}
{
"error": true,
"message": "Access denied to this debt",
"code": 403
}