Aller au contenu principal
Rodz API
FR EN
v2.0.0

Référence / Signals / Send a test payload to a signal's webhook

Send a test payload to a signal's webhook

Les résumés et descriptions des routes viennent du contrat OpenAPI et restent en anglais.

Deliver a sample lead to the signal's configured webhookUrl so you can verify your endpoint before real leads arrive.

POST https://api.rodz.io/api/v1/signals/{signal_id}/test-webhook

Documenté depuis le contrat OpenAPI, version 2.0.0 de l’API.

Lire la description complète

Deliver a sample lead to the signal’s configured webhookUrl so you can verify your endpoint before real leads arrive. Input: signalId in the path; optional body {"url": "..."} to test another endpoint than the saved webhookUrl (for example before saving it). The URL must be HTTP(S) and reachable from the internet. Output: success, the statusCode your endpoint returned, the exact payloadSent (it carries is_test: true so you can discard it), and the first bytes of your responseBody. signed tells whether the request carried the X-Webhook-Signature / X-Webhook-Timestamp headers: when no API key is linked to the signal the test is sent unsigned, like real deliveries, and warning says so. On a transport failure success is false and error explains why.

Authentification et en-têtes

Toutes les routes demandent une clé d’API. Vous la créez dans le tableau de bord, sous Intégrations puis API. Voir comment obtenir une clé.

Authorization requis

Bearer suivi de votre clé d’API, par exemple Bearer USR_...

Content-Type requis

application/json

Paramètres

signal_id string path requis

Corps de la requête

url string facultatif accepte null

Endpoint to test instead of the signal's saved webhook URL

  • maxLength: 500

Réponses

200 OK
Schéma de la réponse
success boolean requis

True when your endpoint answered with a 2xx/3xx

statusCode integer facultatif accepte null

HTTP status your endpoint returned

payloadSent object facultatif accepte null

The exact test payload delivered, carrying is_test: true

  • additionalProperties: true
responseBody string facultatif accepte null

First bytes of your endpoint's response

error string facultatif accepte null

Why the send failed; absent on success

signed boolean facultatif

True when the request carried the X-Webhook-Signature and X-Webhook-Timestamp headers. False when no API key is linked to the signal: the test (like real deliveries) is then sent unsigned.

par défaut
true
warning string facultatif accepte null

Something to fix even though the send worked, e.g. an unsigned delivery

403 Partner accounts only: this configuration helper answers API keys of accounts approved as partners. Ask support@rodz.io to enable an account.
422 Validation Error
Schéma de la réponse · HTTPValidationError
detail object[] facultatif
5 champs dans detail
loc string | integer[] requis
msg string requis
type string requis
input any facultatif
ctx object facultatif
429 Configuration-helper limit reached (10 calls per minute per API key and 100 calls per account per UTC day). This route helps build signal configurations; it is not a data feed. Retry after the number of seconds in the Retry-After header.

Où cette route est utilisée

Cette route est appelée dans :