---
title: "Update Callback"
method: PATCH
path: "/callbacks/{id}"
tags: ["Callbacks"]
---

# Update Callback

`PATCH /callbacks/{id}`

Update an existing **Callback** using a given `:id`. You can change the `URL`, the `object_type` and whether the **Callback** is `enabled` or `disabled`.

## Path parameters

- `id` string, required

## Request body

- CallbackRequestBody
  - `url` string, required — URL to which the callbacks will notify
  - `object_type` string, required — Object or entity to which the callbacks refer. Please refer to [Callbacks](https://developer.assemblypayments.com/docs/callbacks) for a list of object types.
  - `enabled` string, required — Toggle whether callback is active or inactive.

## Response `200`

OK

- SingleCallback
  - `callbacks` Callback
    - `id` string
    - `description` string
    - `url` string
    - `object_type` 'Transactions' | 'Items' | 'Users' | 'Batch Transactions' | 'Disbursements' | 'Accounts'
    - `enabled` boolean
    - `authorization_token` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `marketplace_id` string, uuid
    - `links` object
      - `self` string
      - `responses` string

---

[API](https://skmtc.net/hellozai/apis/assembly-api.md) · [All operations](https://skmtc.net/hellozai/apis/assembly-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hellozai/assembly-api/revisions/60b528b2e015/schema)
