Send a test event
Send a signed `theseus.ping` to an HTTPS endpoint now (owners and admins)
POST /api/v1/integrations/{integration}/test
Personal token · webhooks:manage
One attempt, never retried, never stored as an event; the delivery log shows it as a test. It is sent even while the endpoint is disabled.
Example request
Link to this section# Set your token and resource IDs first.
API_BASE_URL="https://app.theseus.dev/api/v1"
curl --fail-with-body --request POST \
-H "Authorization: Bearer ${THESEUS_API_TOKEN:?}" \
"${API_BASE_URL}/integrations/${INTEGRATION_ID:?}/test"Parameters
Link to this section| Name | In | Type | Description |
|---|---|---|---|
integration required | path | string | Pattern |
Responses
Link to this sectionWhat the endpoint answered
Response fields
Content type application/json
idstring requiredThe delivery,
dlv_…integration_idstring requiredevent_idstring requiredwebhook-id; never stored as an eventevent_typestring requiredAlways
theseus.pingtestboolean requiredAlways
truestatusstring requiredOne of
succeeded,failedlast_errorstring or null requiredattemptsarray of DeliveryAttempt requiredattempts fields
attemptinteger requiredresendboolean requiredstarted_atstring (date-time) requiredoutcomestring requiredOne of
succeeded,retrying,failed,revokedstatus_codeinteger or null requiredresponse_bodystring or null requiredThe start of an HTTPS endpoint's answer, at most 1 KB
errorstring or null required
created_atstring (date-time) requiredupdated_atstring (date-time) required
Example responses
Link to this sectionEndpoint answered
Illustrative response · selected fields
{
"id": "dlv_EXAMPLE",
"integration_id": "int_EXAMPLE",
"event_id": "evt_EXAMPLE",
"event_type": "theseus.ping",
"test": true,
"status": "succeeded",
"last_error": null,
"attempts": [
{
"attempt": 1,
"outcome": "succeeded",
"status_code": 204,
"error": null
}
]
}Errors
Link to this section400 · The request is not valid
401 · A valid bearer token is required
402 · The workspace's plan does not include this
403 · The credential's scopes do not allow this
404 · Not found
426 · Upgrade the CLI: run theseus update
429 · Too many requests
Headers
Retry-AfterintegerSeconds to wait before the next request, when known
500 · Theseus could not complete the request; retrying will not help
503 · Theseus is unavailable; retry the same request
Headers
Retry-AfterintegerSeconds to wait before the next request, when known
Error response fields
Content type application/problem+json
typestring (uri) requiredIdentifies the problem type; branch on
codeinsteadtitlestring requiredstatusinteger requireddetailstringcodestring requiredWhy the request failed. New codes may be added: treat an unknown one by its status
One of
invalid_request,unauthenticated,not_in_plan,insufficient_scope,admission_required,not_found,ambiguous,conflict,rate_limited,internal_error,unavailable,search_authorization_pending,search_unavailable,cli_upgrade_requiredrequest_idstring requiredQuote this when reporting the problem
errorsarray of FieldErrorWith
invalid_request: what is wrong with each fielderrors fields
pathstring requiredWhere in the request, as dotted segments
messagestring required
required_scopestringWith
insufficient_scope: the scope the operation needsnextstringRecovery action, such as theseus update
candidatesarray of CandidateWith
ambiguous: what the request could mean; ask whichcandidates fields
idstring requiredpathstring requiredkindstring requiredtitlestring requiredurlstring (uri) required