Webhooks

Update a webhook subscription

Changed on

Updates a webhook subscription. Any combination of the subscribed event types, state (ACTIVE or DISABLED), and description may be changed, and at least one field must be supplied. Setting state to ACTIVE re-enables a subscription that was auto-blocked after sustained delivery failures. The URL or integration target cannot be changed; delete and recreate the webhook instead.

patch/webhooks/{id}

Request

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

Path parameters

idstring uuid required
Example:550e8400-e29b-41d4-a716-446655440000

Request body

eventTypesstring[]
state'ACTIVE' | 'DISABLED'
descriptionstring nullable

Response

Updated webhook subscription

Example response

{
  "data": {
    "integration": {
      "capability": {
        "id": "slack.post_message",
        "revision": 1
      }
    }
  }
}

Changes

    • breaking

      the response property / became nullable for the status

    • breaking

      removed the required property from the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property / to the response with the status