Get contact
curl --request GET \
--url https://staging-api.usetyms.com/v1/adam/contacts/{uuid} \
--header 'X-API-Key: <api-key>'import requests
url = "https://staging-api.usetyms.com/v1/adam/contacts/{uuid}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://staging-api.usetyms.com/v1/adam/contacts/{uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "Contact retrieved successfully",
"data": {
"uuid": "aa0e8400-e29b-41d4-a716-446655440006",
"name": "John Smith",
"email": "john@example.com",
"phone": "+1234567890",
"address": "123 Main St",
"type": "customer"
}
}Contacts
Get contact
GET
/
contacts
/
{uuid}
Get contact
curl --request GET \
--url https://staging-api.usetyms.com/v1/adam/contacts/{uuid} \
--header 'X-API-Key: <api-key>'import requests
url = "https://staging-api.usetyms.com/v1/adam/contacts/{uuid}"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://staging-api.usetyms.com/v1/adam/contacts/{uuid}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "success",
"message": "Contact retrieved successfully",
"data": {
"uuid": "aa0e8400-e29b-41d4-a716-446655440006",
"name": "John Smith",
"email": "john@example.com",
"phone": "+1234567890",
"address": "123 Main St",
"type": "customer"
}
}Authorizations
Business secret tyms_sk_... for business-scoped routes. Partner secret for register-business and referred-business distributor routes.
Path Parameters
Response
200 - application/json
Single contact