Webhooks Overview¶
Use Scholaro webhooks to receive data as soon as GPA reports and digital evaluations are created or updated, and to have report PDFs delivered to systems such as Slate and Salesforce.
Scholaro sends two kinds of events:
- JSON events (the
(data)andbulk_uploadevents) post the event as JSON to your endpoint as soon as it happens. They are covered on this page. - File events (the
(pdf)events andevaluation_report.created) deliver report files to your endpoint on a schedule. See PDF Delivery Events.
Steps to receive webhooks¶
- Choose your events. Decide which events you want to receive and which payloads you will parse. See the Events Reference for every event, when it is sent, and its fields.
- Create an endpoint. Set up a publicly accessible HTTPS URL on your server that accepts
POSTrequests with a JSON body. - Handle requests and return
200. Parse each event and respond with HTTP200 OKwithin 30 seconds. Scholaro records any other status code, or no response, as a failed delivery. - Verify the signature (optional, recommended). Use the
X-Scholaro-Signatureheader to check that each request came from Scholaro. See Signature Verification. - Register your endpoint. In the Scholaro Developer dashboard:
- Enter your URL under Hosted Endpoint.
- Under Events to Send, tick the events you want.
- If your endpoint requires it, turn on basic authentication and enter a username and password. Scholaro then sends them in an
Authorization: Basicheader. - Turn the endpoint on, then click Save.
The Signing Secret for signature verification is shown on the same page.
Requests¶
Each data event is a separate HTTP POST request:
Content-Type: application/json; charset=utf-8X-Scholaro-Signature: the request signature (see Signature Verification)Authorization: Basic ..., only if basic authentication is turned on
The body is a JSON event object:
type tells you which event was sent, and data holds the report. See the Events Reference for every field.
Delivery behavior¶
- Created events are sent once per report. Updated events are sent every time the report changes in a way that triggers them.- Only recent reports are sent. GPA report and digital evaluation events are only sent for reports created within the last 14 days.
- Failed JSON deliveries are not retried automatically. The Developer dashboard lists recent deliveries with your endpoint's response. Use Resend Reports to send selected reports again, or Find Missing Reports to send created events for recent reports that don't have one yet.
- Failed PDF deliveries are retried automatically. A PDF your endpoint doesn't accept is sent again on each scheduled run for up to 7 days. See PDF Delivery Events.
- You can use a second endpoint. You can add a second endpoint and choose which endpoint receives each event, for example report data to one system and PDFs to another.
Tip
Return 200 as soon as you have received the request, and do any slow processing afterwards. Log each event and make your handler safe to run twice for the same report, because resends and updated events can deliver the same report more than once.
Reviewing deliveries¶
The Developer dashboard lists the deliveries made to your endpoints in the last 14 days, JSON events and PDFs, newest first. It is available to admins of your organization.
| Column | Shows |
|---|---|
| Report ID | The GPA report or digital evaluation the event was about. N/A for bulk_upload events. For a PDF delivery, Scholaro's applicant number, not the report ID. |
| Event | The event that was sent. |
| Endpoint | The endpoint it was sent to. |
| Created On | When it was sent. |
| Response | The status code your endpoint returned, for example 200 OK or 500 ERR. A timeout is shown as 408. |
Select a delivery to see the request Scholaro sent and the response it got.
- Resend Reports (or Re-send on a single delivery) sends the selected
(data)events again. The event must still be ticked under Events to Send.bulk_uploadevents and PDF deliveries can't be re-sent. - Find Missing Reports sends
createdevents, data and PDF, for reports created in the last 14 days. It skips the data event for any report that already has a delivery in the list, even a failed one, so use Resend Reports for failed JSON deliveries. - PDF deliveries (the
(pdf)events) are listed with one row for each PDF in each scheduled run, including failed runs. The request shown is the name of the file that was sent, not a JSON body. A failed PDF delivery is retried automatically on the next run. See PDF Delivery Events.
For bulk imports, see SFTP processing and webhook delivery.