Publish to all endpoints in a group
Send a message to all endpoints in a URL group. Fan-out is a publish, so
it obeys the same rules as POST /messages/publish: the messages are
created in the calling key’s environment, a halted environment refuses
an agent key’s publish with 409, and a {{secret:NAME}} reference in
a delivery header requires secrets:read.
Against a key budget the publish costs one unit per endpoint in the
group, and admission is all-or-nothing: a fan-out that does not fit the
remaining cap is refused whole with 429 BUDGET_EXCEEDED and no
endpoint receives a message.
/api/v2/url-groups/{groupId}/publishAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
groupIdstringrequiredThe URL group ID
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
Idempotency-KeystringStable retry key for a mutation. The key is claimed atomically before the handler runs, so concurrent retries execute the side effect at most once. Replaying the key for the same request (same method, path, workspace and JSON body) returns the original response with an X-Idempotent-Replay: true header. Reusing the key for a different request returns 409 with error code idempotency_key_reuse. A duplicate arriving while the first is still in flight waits and then replays; if the first does not finish in time the duplicate gets 409 idempotency_request_in_progress. Keys are retained for 24 hours. Only successful (2xx) responses are stored; a failed request frees the key so it can be retried.
application/jsonmethodstringGETPOSTPUTPATCHDELETEheadersobjectbodyanyRequest body
queuestringexecuteAtinteger<int64>scheduledForstring<date-time>deprecatedmaxRetriesintegercontentIdstringOptional 24-hour content-deduplication identifier.
callbackUrlstring<uri>failureCallbackUrlstring<uri>runIdstringExisting run in this API key environment for queue-delivery spans.
parentSpanIdstringOptional parent span within runId.
flowControlobjectShow propertiesHide properties
keystringrequiredrateLimitintegerrateLimitWindowintegerparallelismintegerMessages published to group successfully
successbooleandataPublicUrlGroupPublishResultShow propertiesHide properties
publishedCountintegerrequiredfailedCountintegerrequiredmessagesobject[]requiredShow propertiesHide properties
objectmessageIdstringrequiredendpointUrlstring<uri>requiredfailuresobject[]requiredShow propertiesHide properties
objecturlstring<uri>requirederrorstringrequiredBad Request - Invalid input data
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectUnauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectPayment Required - Usage quota exceeded
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectAuthenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectNot Found - Resource does not exist
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectThe request conflicts with current resource state or a concurrent decision.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectToo Many Requests - Rate limit exceeded
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectA required provider or platform dependency is not configured or available.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobject
