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

Add an endpoint to a URL group

Add a new endpoint URL to an existing URL group

POST/api/v2/url-groups/{groupId}/endpoints
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.

Path parameters
groupIdstringrequired

The URL group ID

Header parameters
X-Request-Idstring

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

max length 128
Request body
requiredapplication/json
urlstring<uri>required
namestring
max length 100
retryCountinteger
min 0 · max 10 · default: 3
Responses
200

Endpoint added successfully

successboolean
dataPublicUrlGroupEndpoint
Show properties
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
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
404

Not Found - Resource does not exist

successbooleanrequired
requestIdstringrequired

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

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - Rate limit exceeded

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/string/endpoints' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "https://example.com/webhook",
  "name": "Primary Endpoint",
  "retryCount": 3
}'
Response
{
  "success": true,
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "url": "https://example.com/webhook",
    "name": "Primary Endpoint",
    "retryCount": 3,
    "createdAt": "2019-08-24T14:15:22Z"
  }
}