cURL
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" } ] }
Gets the variables for a specific agent
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the agent
Variables response
The response is of type object.
object