Logo
30 Days of Postman API Documentation

Webhooks

Number of APIs: 1


1. Create Webhook

POST https://api.getpostman.com/webhooks?workspace={{workspace_id}}

Create a webhook that triggers a collection with your custom payload.

You can specify the webhook name and the collection to trigger by using the following attributes of the 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.

Once created, the webhook URL can be retrieved by accessing the webhookUrl attribute of the webhook object on the response JSON payload.



ENDPOINTS