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 Botcollection in the current workspace, enter the following information in the Initial Value fields under the Variables tab of theValoRoster Slack Botcollection.
Collection Variable Name Collection 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] collection_uidthe ID of the ValoRoster Slack Botcollection; you can find this by selectingValoRoster Slack Botcollection from the Collections menu on the left, then clicking the ⓘ on the right side of the screen. Thecollection_uidis listed under IDOnce you've entered and saved those variable values, click on the
Create Webhookfolder and then on the request namedCreate Qodex Webhook. Hit Send to create the webhook, then copy the value of thewebhookUrlfield from the repsonse body. Navigate back to the Variables tab of theValoRoster Slack Botcollection, and paste the value into theQodex_webhook_urlvariable's Initial Value field.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
workspace | string |
Request Body
{"webhook"=>{"name"=>"ValoRoster-Postman-webhook", "collection"=>"{{collection_uid}}"}}
