Retrieve a contact
GET
/customers/{customerId}/contacts/{contactId}
Customers/contacts
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-sandbox.saaslogic.io/v1/customers/782ef4f6-8cdd-4f7c-9223-efc8b63d0b62/contacts/af0a7273-88c0-4119-83f5-cee8191b5fcb' \
--header 'Accept: application/json' \
--header 'Accept;' \
--header 'Authorization;' \
--header 'Content-Type: application/json'
Response Response Example
200 - Retrieve a contact
{
"firstName": "Michael",
"lastName": "Hensley",
"email": "info@adroit.io",
"contactNumber": "1234567890",
"countryCode": "IND",
"contactId": "54674d18-aa04-4650-baf2-36479dafdb22",
"countryPrefix": "+91",
"isDefault": true
}
Request
Path Params
customerId
string
required
Example:
782ef4f6-8cdd-4f7c-9223-efc8b63d0b62
contactId
string
required
Example:
af0a7273-88c0-4119-83f5-cee8191b5fcb
Header Params
Accept
string
required
Example:
application/json
Authorization
string
required
Default:
Bearer {{bearerToken}}
Content-Type
string
optional
Default:
application/json