cURL
curl --request POST \ --url https://api.sftpsync.io/webhooks \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "name": "<string>", "description": "<string>", "url": "<string>", "eventType": "<string>", "headers": {}, "secret": "<string>", "isActive": true }'
{ "id": "<string>", "name": "<string>", "description": "<string>", "url": "<string>", "eventType": "<string>", "headers": {}, "secret": "<string>", "isActive": true, "workspaceId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Show child attributes
Webhook