Webhook
Test delivery to your endpoint
Sent synchronously by POST /v1/webhook_endpoints/{id}/test, signed exactly like a real event. Not part of the event catalog and never stored — a contract ping between Roster and your receiver.
Headers
- Type: stringRoster
- Signature requiredt={unix_seconds},v1={hmac_sha256("{t}.{body}", secret)}— reject timestamps older than 300 seconds.
Body
required
application/json
- Type: stringevent
_id required - event
_type const:webhook.testrequired - Type: string Format: date-timeoccurred
_at requiredthe date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
- Type: objectpayloadrequired
Responses
- 200
Return any 2xx to acknowledge the delivery.
Request Example for postwebhookTest
{
"event_id": "",
"event_type": "webhook.test",
"occurred_at": "",
"payload": {
"message": "Roster webhook test delivery"
}
}
No Body