Webhook Integrations

List integration targets

Changed on

Returns the live list of targets (e.g. Slack channels the connected account is a member of) for an integration. Pass a target's args together with the integration capability to POST /webhooks with kind: "integration".

get/webhooks/integrations/{capabilityId}/targets

Request

  • Base URL
    https://api.mobilerun.ai
  • URL
    https://api.mobilerun.ai/webhooks/integrations/{capabilityId}/targets
  • Auth
    HTTP bearer

Path parameters

capabilityIdstring required
Example:slack.post_message

Query parameters

revisioninteger required
Example:1

Response

Integration targets

Example response

{
  "data": [
    {
      "args": {
        "channelId": "C07ABCDEF"
      },
      "label": "#ops"
    }
  ]
}

Changes