Skip to content

Get a contact

GET

https://api.responsly.com/v1/contacts/{id}

Path parameters

  • id (string, required): Contact ID of a particular contact

Request

cURL

Terminal window
curl --request GET \
--url 'https://api.responsly.com/v1/contacts/{id}' \
--header 'Authorization: Bearer <Access Token>'

Response

{
"id": "lnP9e2AYwpxqX5dsfh669R5EyJoDKOvQ0m7B",
"email": "example@example.com",
"name": "Contact Name",
"data": "{\"phone\":\"+43123123123\"}",
"subscribed_at": "2024-07-01 14:39:58",
"links": {
"current_page": 1,
"data": [
{
"address": "example@example.com",
"opened_at": null,
"sent_at": null,
"clicked_at": "2024-07-03 12:38:37"
},
{
"address": "example@example.com",
"opened_at": null,
"sent_at": null,
"clicked_at": null
}
],
"first_page_url": "http://api.responsly.com/v1/contacts/lnP9e2AYwpxqX566asf9R5EyJoDKOvQ0m7B?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://api.responsly.com/v1/contacts/lnP9e2AYwpxqX566asf9R5EyJoDKOvQ0m7B?page=1",
"links": [
{
"url": null,
"label": "&laquo; Previous",
"active": false
},
{
"url": "http://api.responsly.com/v1/contacts/lnP9e2AYwpxqX566asf9R5EyJoDKOvQ0m7B?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next &raquo;",
"active": false
}
],
"next_page_url": null,
"path": "http://api.responsly.com/v1/contacts/lnP9e2AYwpxqX566asf9R5EyJoDKOvQ0m7B",
"per_page": 20,
"prev_page_url": null,
"to": 18,
"total": 18
}
}

Status Code: 200 OK