System Info›Get Users

Get Users

Return your system’s users, including their Marketing Profile fields.

GEThttps://secure-api.setshape.com/api/get/users/{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 GET 
  --url "https://secure-api.setshape.com/api/get/users/YOUR_CRM_ID" 
  --header "Authorization: YOUR_API_AUTHORIZATION_KEY" 
  --header "Accept: application/json"

Example response

{
  "message": "Users fetched successfully.",
  "users": [
    {
      "id": 1024,
      "firstname": "Alex",
      "lastname": "Example",
      "email": "alex.example@example.com",
      "phone": "5550100199",
      "departments": "Loan Officer: depursLO",
      "Advisor ID": "10001",
      "Location ID": "8000",
      "Market": "ABC"
    }
  ]
}

Marketing Profile fields

Each user also includes the fields from their Marketing Profile, as top-level keys named exactly as each field’s label. Your system administrator sets these fields up, so they differ between systems. Empty fields are returned as ""; every user has every field.

Marketing Profile field names come from your system’s settings. If an administrator renames a field, its key in the response changes too.