---
title: "Callback: Add/Update"
method: POST
path: "/accounting/suppliers/subscription"
tags: ["Accounting Suppliers"]
---

# Callback: Add/Update

`POST /accounting/suppliers/subscription`

## Request

- Base URL: `https://partner-api.getpliant.com/api`
- URL: `https://partner-api.getpliant.com/api/accounting/suppliers/subscription`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/getpliant/apis/pliant-customer-api/docs/accounting/suppliers/subscription/post.ts> (a function with typed inputs; its response is checked against the schema)

Subscribe to callbacks for this entity or change an existing callback.

## Request body

- object
  - `callbackUrl` string, uri, required: The URL to send the callback to. Must be a valid and reachable URL. We do some basic validation to ensure the URL is syntactically correct and reachable for Pliant. Only HTTPS URLs are supported.
  - `eventTypes` string[], required: The event types to subscribe to.

## Response `201`

Created

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal Server Error

## Changes

- **2026-11-03** `a4fbf7d068b4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getpliant/apis/pliant-customer-api/changes/accounting/suppliers/subscription/post.md)

---

[API](https://skmtc.dev/getpliant/apis/pliant-customer-api.md) - [All operations](https://skmtc.dev/getpliant/apis/pliant-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getpliant/apis/pliant-customer-api/revisions/a4fbf7d068b4?raw)
