Back to Callbacks Endpoints
PATCH /v1/callbacks/:id
Full Scope Required
Update an existing callback configuration using a partial update (PATCH) approach. Only the fields you provide in the request body will be updated; all other fields remain unchanged. This allows you to modify specific aspects of a callback, such as changing the URL, updating the timeout, enabling or disabling it, or modifying the payload template, without having to resubmit the entire configuration.
Request
http
PATCH https://api.votepipe.com/v1/callbacks/1
Authorization: Bearer mr_live_your_api_key_here
Content-Type: application/json
{
"name": "Updated Callback Name",
"enabled": false
}Response (200 OK)
json
{
"data": {
"id": "1",
"name": "Updated Callback Name",
"url": "https://my-server.com/api/vote",
"timeout_ms": 5000,
"enabled": false,
"priority": 0,
"payload_template": { ... },
"created_at": "2026-01-02T15:30:00Z",
"updated_at": "2026-01-02T16:00:00Z"
}
}