« Back to Documentation Overviewget_contact
Section: Contacts
Version: 1.5.0
Get a single contact using CONTACT_ID.
Parameters
|
---|
string | API_KEY |
object | |
Return Value
|
---|
object | CONTACT_ID | string | campaign | CAMPAIGN_ID | string | name | My Contact Name | string | email | my_contact_1@emailaddress.com | string | origin | www | string | ip | 1.1.1.1 | integer | cycle_day | 32 | string | changed_on | get_contact_changed_on__string | string | created_on | 2010-01-01 00:00:00 |
|
Example Request JSON
[
"API_KEY",
{
"contact": "CONTACT_ID"
}
]
Example Response JSON
{
"CONTACT_ID": {
"campaign": "CAMPAIGN_ID",
"name": "My Contact Name",
"email": "my_contact_1@emailaddress.com",
"origin": "www",
"ip": "1.1.1.1",
"cycle_day": 32,
"changed_on": null,
"created_on": "2010-01-01 00:00:00"
}
}
API-wide Errors
|
---|
API key verification failed
| API key verification failed |
API client IP not allowed
| API client IP not allowed |
Invalid params
| Attribute params must be reference to hash |