Overview
Webhooks notify your application in real time when events happen on the YoID platform — a youth accepts a credential, a verification is completed, or a request expires. This eliminates the need to poll the API for status updates.Supported Events
- For Learning & Impact Partners
- For Employers & Opportunity Providers
Registering a Webhook Endpoint
Request Body
Available filter types:
Response (201 Created)
Listing Webhook Endpoints
Removing a Webhook Endpoint
Webhook Payload Structure
All payloads include aneventType and a payload with a resource reference:
Technical Requirements
Your webhook endpoint must:- Accept POST requests
- Use HTTPS exclusively
- Respond promptly with a 2xx status code
- Handle duplicate deliveries — the platform may retry on failure
- Be idempotent — processing the same event twice should produce the same result
Implementation Example
A production-ready webhook handler for a learning partner tracking credential acceptance:Use Cases in the YOMA Ecosystem
Local Development
Use ngrok to expose your local server via a public HTTPS URL during development:https:// ngrok URL as your webhook endpoint. The platform retries failed deliveries automatically.
For production, consider a webhook ingestion service (like Svix or AWS EventBridge) that handles retries, logging, and replay — especially if your backend may be temporarily unavailable.

