API ReferenceWorkflows
Create an inbound webhook and reveal its signing secret once.
Create an inbound webhook and reveal its signing secret once. - Rensei REST API operation reference.
POST
header
AuthorizationBearer <WorkOS user access token>WorkOS user access token created by the Rensei CLI. The authenticated organization is resolved from membership and may be narrowed with X-Rensei-Org.
id*stringLength
1 <= length <= 256application/json- body
triggerId*stringLength
1 <= length <= 256mapping*Created; persist the secret now. Never returned by GET.
application/json- response
id*stringworkflowId*stringtriggerId*stringmapping*path*stringsecret*stringcurl -X POST 'https://app.rensei.ai/api/workflows/string/inbound-webhook' \ -H 'Content-Type: application/json' \ -d '{ "triggerId": "string", "mapping": { "property1": "string", "property2": "string" }}'Example Response
{ "id": "string", "workflowId": "string", "triggerId": "string", "mapping": { "property1": "string", "property2": "string" }, "path": "string", "secret": "string"}Read inbound webhook configuration without secret material.
Read inbound webhook configuration without secret material. - Rensei REST API operation reference.
Rotate the inbound signing secret, immediately invalidating the old secret.
Rotate the inbound signing secret, immediately invalidating the old secret. - Rensei REST API operation reference.