cURL
curl --request POST \ --url https://api.portable.io/v2/workflows/{id}/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "provider": "slack", "credential_source_id": 123, "event_type": "<string>" } '
{ "data": { "id": 123, "webhook_id": "<string>", "workflow_id": 123, "provider": "slack", "url": "<string>", "status": "active", "trigger_count": 123, "credential_source_id": 123, "created_at": "2023-11-07T05:31:56Z", "event_type": "<string>", "last_triggered_at": "2023-11-07T05:31:56Z" } }
Create a new webhook trigger for a workflow
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID
568971
Webhook provider type
slack
github
stripe
generic
ID of the credential source containing signing secret
Provider-specific event type filter
Created
Show child attributes