For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inBook a demo
GuidesAPI Reference
GuidesAPI Reference
  • API Reference
      • GETGet Global Error Subscribers
      • PUTUpdate Global Error Subscribers
Logo
Log inBook a demo
API ReferenceNotifications

Update Global Error Subscribers

PUT
https://app.polytomic.com/api/notifications/global-error-subscribers
PUT
/api/notifications/global-error-subscribers
$curl -X PUT https://app.polytomic.com/api/notifications/global-error-subscribers \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '{}'
1{
2 "emails": [
3 "alerts@companydomain.com",
4 "it-support@companydomain.com",
5 "devops@companydomain.com"
6 ]
7}
Replaces the list of email addresses subscribed to global sync error notifications for the caller's organization. This is a **full replacement** — the request body becomes the complete subscriber list. To add or remove a single address without affecting others, fetch the current list with [`GET /api/notifications/global-error-subscribers`](../../../api-reference/notifications/get-global-error-subscribers), apply your change, and send the modified list back.
Was this page helpful?
Previous

Replaces the list of email addresses subscribed to global sync error notifications for the caller’s organization.

This is a full replacement — the request body becomes the complete subscriber list. To add or remove a single address without affecting others, fetch the current list with GET /api/notifications/global-error-subscribers, apply your change, and send the modified list back.

Authentication

AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic

Basic organization-scoped API key

Headers

X-Polytomic-VersionstringOptional

Request

This endpoint expects an object.
emailslist of strings or nullOptional

Email addresses to subscribe to global sync error notifications. Replaces the current subscriber list; pass an empty list to unsubscribe everyone.

Response

OK
emailslist of strings or null
Email addresses subscribed to global sync error notifications for the organization.

Errors

400
Bad Request Error
500
Internal Server Error