preview_event_payload
Preview a sample payload for any webhook event type to see the exact fields you’ll receive before building a receiver or verifying workflow data.
Instructions
Show an EXAMPLE payload for one webhook event type.
`event_type` is the value a webhook carries - `COURSE_COMPLETION`,
`PURCHASE_FULFILLMENT` and so on. `list_webhooks` shows which are subscribed;
this works for all ten whether or not anything is listening.
Use it to answer "what fields will I get" before writing a receiver, and to check
whether an event carries the data a workflow needs.
THE PAYLOAD IS AN EXAMPLE, NOT A REAL EVENT. Skilljar returns sample data; the
ids and names in it refer to nothing. Do not report them as real records, and do
not look up the ids.
One tool rather than ten: v1 has a separate endpoint per event type, which is ten
tools' worth of surface for a single question.
Requires `CSA_SKILLJAR_V1_API_KEY`, a separate credential from the v2 client.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"event_type": "<event_type>"
},
"name": "preview_event_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||