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.curl --location --request POST 'https://api.getpostman.com/webhooks' \
--header 'Content-Type: application/json' \
--data-raw '{
"webhook": {
"collection": "{{collection_id}}",
"name": "{{webhook_name}}"
}
}'
{}