Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview

Create a URL group

Create a group of URLs for broadcasting messages. The group belongs to the calling key’s environment and is only visible to keys bound to it.

POST/api/v2/url-groups
Authorization
AuthorizationBearer token (Anlyon API key) · headerrequired

Workspace API key sent as Authorization: Bearer <key>.

or
better-auth.session_tokenAPI key · cookierequired

Browser session used by dashboard-only operations.

Header parameters
X-Request-Idstring

Optional caller correlation ID. Unsafe or oversized values are replaced.

max length 128
Request body
requiredapplication/json
namestringrequired
min length 1 · max length 100
endpointsobject[]required
min items 1 · max items 50
Show properties
Array of object
urlstring<uri>required
namestring
max length 100
retryCountinteger
min 0 · max 10 · default: 3
Responses
200

URL group created successfully

successboolean
dataPublicUrlGroupWithEndpoints
Show properties
groupIdstringrequired
matches ^grp_
namestringrequired
endpointCountinteger
min 0
createdAtstring<date-time>required
updatedAtstring<date-time>required
endpointsPublicUrlGroupEndpoint[]required
Show properties
Array of PublicUrlGroupEndpoint
idstring<uuid>required
urlstring<uri>required
namestring | nullrequired
retryCountinteger | nullrequired
min 0 · max 10
createdAtstring<date-time>required
400

Bad Request - Invalid input data

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
401

Unauthorized - Invalid or missing API key

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
402

Payment Required - Feature not available on current plan

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
403

Authenticated credential lacks the required scope or workspace access.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - either the request rate limit, or the plan's cap on how many of this resource may exist. The code distinguishes them: RATE_LIMIT_EXCEEDED clears on its own, QUOTA_EXCEEDED does not until you remove one or upgrade.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X POST 'https://api.anlyon.com/api/v2/url-groups' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Production Webhooks",
  "endpoints": [
    {
      "url": "https://example.com/webhook",
      "name": "Primary Endpoint",
      "retryCount": 3
    }
  ]
}'
Response
{
  "success": true,
  "data": {
    "groupId": "grp_1234567890abcdef",
    "name": "Production Webhooks",
    "endpointCount": 1,
    "endpoints": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "url": "https://example.com/webhook",
        "name": "Primary Endpoint",
        "retryCount": 3,
        "createdAt": "2026-07-13T12:00:00Z"
      }
    ],
    "createdAt": "2026-07-13T12:00:00Z",
    "updatedAt": "2026-07-13T12:00:00Z"
  }
}