EZDERM
Export sent prescriptions
Export the sent prescription report as CSV.
POSThttps://api.ontross.com/api/integrations/ezderm/export-sent-prescriptions
Request Fields
input.sent_date_start
string
requiredFirst day to include, as YYYY-MM-DD, read in the practice's timezone.
Example
"2026-09-01"input.sent_date_end
string
requiredLast day to include, as YYYY-MM-DD; the whole day counts.
Example
"2026-09-30"input.pharmacy_name
string
Pharmacy store name exactly as the report's filter lists it; omit to cover every pharmacy.
Example
"Apple Specialty Pharmacy"auth_id
string
requiredSaved connection to run this operation through, from the Authentication page. It decides which practice and login the call uses.
Example
"00000000-0000-4000-8000-000000000000"Output Fields
csv_base64
string
The report CSV, base64 encoded, so decode before reading.
Example
"cGF0aWVudE5hbWUKSm9yZGFuIFJpdmVyYQo="size
integer
Size of the decoded CSV in bytes.
Example
2399444Code
curl --request POST \
--url https://api.ontross.com/api/integrations/ezderm/export-sent-prescriptions \
--header 'X-API-Key: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"input":{"sent_date_start":"2026-09-01","sent_date_end":"2026-09-30","pharmacy_name":"Apple Specialty Pharmacy"},"auth_id":"auth_uuid_here"}'Request BODY
{
"input": {
"sent_date_start": "2026-09-01",
"sent_date_end": "2026-09-30",
"pharmacy_name": "Apple Specialty Pharmacy"
},
"auth_id": "auth_uuid_here"
}Response BODY
{
"id": "string",
"workflow_id": "string",
"auth_id": "string",
"status": "string",
"input": {},
"output": {
"csv_base64": "cGF0aWVudE5hbWUKSm9yZGFuIFJpdmVyYQo=",
"size": 2399444
},
"files": null,
"created_at": "2019-08-24T14:15:22Z",
"started_at": "2019-08-24T14:15:22Z",
"completed_at": "2019-08-24T14:15:22Z"
}