System Info›Get Record Types

Get Record Types

Return your system’s record types.

POSThttps://secure-api.setshape.com/api/get/lead/types/{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.

Example request

curl --request POST 
  --url "https://secure-api.setshape.com/api/get/lead/types/YOUR_CRM_ID" 
  --header "Authorization: YOUR_API_AUTHORIZATION_KEY" 
  --header "Content-Type: application/json"

Use these names as recordtype on Add Records, and as record_type on Get Prioritized View Count.