Read customer
GET
/v1/customers/{id}Path parameters
idstringrequiredResponses
200Successful response
idstringorgstringgymstringThe inbox the contact belongs to.
phoneNumberstringE.164 phone number, unique within the inbox.
firstNamestringlastNamestringemailstringoptoutbooleanThe contact opted out of texts. Helios will not text them.
emailOptoutbooleanThe contact unsubscribed from email.
blockedbooleansourcestringHow the contact was first created, for example `sms`, `form`, or `api`.
propertiesobjectCustom and integration properties. Returned when reading a single contact.
createdAtstring<date-time>updatedAtstring<date-time>403The contact belongs to a different inbox
Request
curl -X GET "https://api.sendhelios.com/v1/customers/string"const response = await fetch("https://api.sendhelios.com/v1/customers/string", {
method: "GET"
});import requests
response = requests.get(
"https://api.sendhelios.com/v1/customers/string",
)Response
{
"id": "string",
"org": "string",
"gym": "string",
"phoneNumber": "string",
"firstName": "string",
"lastName": "string",
"email": "string",
"optout": true,
"emailOptout": true,
"blocked": true,
"source": "string",
"properties": {},
"createdAt": "2024-01-01T00:00:00Z",
"updatedAt": "2024-01-01T00:00:00Z"
}The contact belongs to a different inbox