Create Webhook
POST
/webhooks
Webhooks
webhook
object on your JSON body:name
: the name of the webhook that you're creating.collection
: the ID of the collection that you want to trigger once this webhook is called.webhookUrl
attribute of the webhook
object on the response JSON payload.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.getpostman.com/webhooks' \
--header 'Content-Type: application/json' \
--data-raw '{
"webhook": {
"collection": "{{collection_id}}",
"name": "{{webhook_name}}"
}
}'
Response Response Example
{}
Request
Query Params
workspace
string
optional
Body Params application/json
Responses
Modified at 2023-08-15 05:41:04