Retrieve a contact
Retrieve a contact belonging to your workspace.
GET
/v1/leads/{lead_id}Requires the leads:read scope
Requires leads:read, which exposes personal contact details. Keep this permission on trusted server integrations, not on a public website. Unknown IDs and contacts from another workspace both return 404.
Example request
curl "https://api.vestta.app/v1/leads/1" \
-H "X-Api-Key: $VESTTA_API_KEY"Authorization
X-Api-KeystringheaderrequiredYour API key,
AC_LIVE_<key_id>.<secret>.Authorization: ApiKey <key>is also accepted.
Path parameters
lead_idintegerrequired≥ 1
Response
200 Successful response.
Response fields
statusstring default:okalwaysokdataExternalLeadrequired
Errors
Error bodies and how to handle each case: Errors.