Webhooks

Update Webhook Configuration

This API updates an existing webhook configuration by id, then simulates webhook call if user chooses to make the config active.

put/webhook_configs/{webhook_config_id}

Request

  • Base URL
    https://connect-au.catapultsports.com/api/v6
  • Auth
    HTTP bearer

Path parameters

webhook_config_idstring required

Webhook Config Id

Request body

namestring required
topicstring required
actionstring required
activeboolean
callbackstring required
secretstring

Example request

{
  "name": "Webhook Config Test",
  "topic": "activity",
  "action": "created",
  "callback": "http://callback.me"
}

Response

Webhook Config Object

Example response

{
  "webhook": {
    "created_at": "2023-10-31 23:59:59",
    "modified_at": "2023-10-31 23:59:59"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.