Retrieve the current status of a single record.
POSThttps://secure-api.setshape.com/api/get/lead/status/{crmid}
Replace
{crmid} with your CRM ID, the Shape system ID that belongs to your API key. Send the standard headers on every request: Authorization: YOUR_API_AUTHORIZATION_KEY and Content-Type: application/json. See Authentication.Both
GET and POST work on this endpoint; the examples use POST.Body parameters
| Field | Requirement | Description |
|---|---|---|
lead_id |
Required | Shape record ID. |
Example request
curl --request POST
--url "https://secure-api.setshape.com/api/get/lead/status/YOUR_CRM_ID"
--header "Authorization: YOUR_API_AUTHORIZATION_KEY"
--header "Content-Type: application/json"
--data '{ "lead_id": 281944 }'
{
"lead_id": 281944
}