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 the ValoRoster Slack Bot collection.

Collection Variable NameCollection Variable Initial Value
Qodex_api_keyfrom the Qodex account settings
workspace_idthe ID of the workspace this collection is in; you can find this in this page's URL or using the [Qodex API workspaces endpoint] Screen-Shot-2021-07-26-at-5-29-42-PM.png
collection_uidthe ID of the ValoRoster Slack Bot collection; you can find this by selecting ValoRoster Slack Bot collection from the Collections menu on the left, then clicking the on the right side of the screen. The collection_uid is listed under ID

Once you've entered and saved those variable values, click on the Create Webhook folder and then on the request named Create Qodex Webhook. Hit Send to create the webhook, then copy the value of the webhookUrl field from the repsonse body. Navigate back to the Variables tab of the ValoRoster Slack Bot collection, and paste the value into the Qodex_webhook_url variable's Initial Value field.

Request Params

KeyDatatypeRequiredDescription
workspacestring

Request Body

{"webhook"=>{"name"=>"ValoRoster-Postman-webhook", "collection"=>"{{collection_uid}}"}}