GET
/
v1
/
variables
curl --request GET \
  --url https://api.penciled.com/v1/variables \
  --header 'Authorization: Bearer <token>'
{
  "variables": [
    {
      "variable": "patient_first_name",
      "type": "patient_first_name"
    },
    {
      "variable": "patient_phone_number",
      "type": "patient_phone_number"
    },
    {
      "variable": "appointment_dates",
      "type": "date[]"
    },
    {
      "variable": "callback_number",
      "type": "phone_number"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

agent_id
string
required

The ID of the agent

Response

200
application/json
Variables response
variables
object[]