Skip to navigation

send_test_event

Send a test event
View as Markdown
  • Callers: API key
  • Label: Write
  • Side effects: Queues a test event. The event carries no applicant data.
  • Limits: API key: each call counts as a quote read. 10 test events a minute per subscription. 5 replays a day per event. Tests and replays together: 60 a minute per integration.
  • Hints: readOnlyHint: false, destructiveHint: false
  • Result: The subscription ID and the test event that Truvo queued.
  • HTTP: POST /v1/event-subscriptions/{id}/test

Input

FieldTypeDescription
subscription_id
Required
stringThe webhook subscription ID, which starts with sub_.
request_key
Required
stringYour own ID for this test. Send the same value to retry after an error.

Description

tools/list returns this description to an API key:

Queues a test event for one of your webhook subscriptions, to check that your endpoint gets it and verifies its signature. Then call get_event_delivery to see whether the delivery succeeded. A test can take up to 35 seconds to answer, so set your timeout to 40 seconds or more. The test event has the type webhook.test, names the subscription, and carries no applicant data. It changes no quote. A subscription takes 10 test events a minute. request_key is your own ID for this test. To retry after an error, send the same key: it queues the same test event. Ask the person for the subscription ID. They find it on the Webhooks page of the Truvo Partners portal at https://partners.truvo.com/developers/webhooks: in this environment, they open the endpoint and copy its Endpoint ID.

Try it

POST
https://api.truvo.com/v1/mcp#send_test_event
Headers
Body