# Get Contact Details
Using this location services, you can get a specific contact detail by id.
# Building your request
You can get a contact's details by passing the exact value of their contactId
in the /locations/contacts/{id}
endpoint. In addition, ensure that your request has been authenticated by passing your JWT access_token
as the Authorization
header.
# Sample request:
In our example, we're going to be retrieving contact based on the provided id.
# Sample response:
{
"data": {
"type": "contact",
"id": "1009902487177527296",
"attributes": {
"firstName": "FirstName",
"lastName": "LastName",
"emailAddress": "EmailAddress@email.com"
}
}
}
# Response Details:
Many of the response attributes are self-descriptive, but some of them may require a bit more clarity:
firstName
- First name of the Contact.lastName
- Last name of the Contact.emailAddress
- Email address of the Contact. This must be a unique and valid email address, not used by another contact.
# 🚀 ☀️ ⭐️ Congratulations! ⭐️ ☀️ 🚀
You have now obtained all of the information for this contact, to help your users drive further goodness in the world!