Webhooks (beta)
Specifying a webhook URL
When creating an interview flow you can specify a webhook_url
. This can be used to receive updates related to interviews.
curl --request POST \
--url https://app.ribbon.ai/be-api/v1/interview-flows \
--header 'accept: application/json' \
--header 'authorization: Bearer <your-api-key-here>' \
--header 'content-type: application/json' \
--data '
{
"webhook_url": "https://example.com",
"org_name": "Example Org Name",
"title": "Example Title",
"questions": [
"Example Question 1?",
"Example Question 2?"
]
}
'
Webhook payload
The webhook payload returns the interview_flow_id
, interview_id
, and status
. We currently support two webhook event types: interview_processed
and video_processed
{
"interview_flow_id": "d1a104e7",
"interview_id": "7ada85b2-b8a6-4e4a-84ed-f1c25fa63843",
"status": "completed",
"event_type": "interview_processed"
}
Webhook event types
interview_processed
This event occurs after an interview has been completed and the interview has been successfully processed and analyzed by Ribbon. If video was collected during the interview the video will not be available yet.
video_processed
This event only occurs if you are collecting video during the interview (is_video_enabled
is true
). The event is sent after video processing is complete and when the video_url
is available.
Webhook event ordering
You will explicitly always receive the events in this order:
interview_processed
video_processed
Updated 5 days ago