Create Qodex Webhook
POST https://api.getpostman.com/webhooks?workspace={{workspace_id}}
The instructions below are from [the documentation] for the ValoRoster Slack Bot
collection. Please refer to that documentation to fully set up ValoRoster.
[Qodex webhooks] allow an entire collection to run when an event occurs. To create the Qodex webhook that will run the
ValoRoster Slack Bot
collection in the current workspace, enter the following information in the Initial Value fields under the Variables tab of theValoRoster Slack Bot
collection.
Collection Variable Name Collection Variable Initial Value Qodex_api_key
from the Qodex account settings workspace_id
the ID of the workspace this collection is in; you can find this in this page's URL or using the [Qodex API workspaces endpoint] collection_uid
the ID of the ValoRoster Slack Bot
collection; you can find this by selectingValoRoster Slack Bot
collection from the Collections menu on the left, then clicking the ⓘ on the right side of the screen. Thecollection_uid
is listed under IDOnce you've entered and saved those variable values, click on the
Create Webhook
folder and then on the request namedCreate Qodex Webhook
. Hit Send to create the webhook, then copy the value of thewebhookUrl
field from the repsonse body. Navigate back to the Variables tab of theValoRoster Slack Bot
collection, and paste the value into theQodex_webhook_url
variable's Initial Value field.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
workspace | string |
Request Body
{"webhook"=>{"name"=>"ValoRoster-Postman-webhook", "collection"=>"{{collection_uid}}"}}