agency-board

PATCH /v1/agency/boards/{boardId}/inbound-endpoints/{endpointId}

Rename an endpoint, or pause and resume it.

Tất cả các điểm cuối agency-board

Xác thực

Gửi khóa API dưới dạng mã thông báo bearer. Điểm cuối này không nêu rõ quyền cụ thể trong thông số kỹ thuật, vì vậy hãy cấp cho khóa của bạn quyền tối thiểu cần thiết và kiểm tra phản hồi thay vì phỏng đoán.

Endpoint này không nhận ID tổ chức. Khóa của bạn đã xác định tổ chức mà nó thuộc về và phản hồi được giới hạn trong phạm vi đó.

Dùng thử

Thay thế bất kỳ nội dung nào trong ngoعل (angle brackets) bằng giá trị của riêng bạn và trình giữ chỗ key bằng một key từ trang tổng quan của bạn.

curl -X PATCH https://api.zinndigital.com/v1/agency/boards/{boardId}/inbound-endpoints/{endpointId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "name": <string> }'

Đã đăng nhập? Bảng điều khiển API trong trang quản lý của bạn sẽ tự điền ID tổ chức thực tế và khóa của riêng bạn, sau đó chạy yêu cầu đối với API trực tiếp để bạn có thể xem phản hồi thực tế. Mở điểm cuối này trong bảng điều khiển API

Tham số

TênLoạiBắt buộcNội dung này là gì
boardId (path)UuidProject board ID (UUIDv7).
endpointId (path)UuidInbound endpoint ID (UUIDv7).

Nội dung yêu cầu

TênLoạiBắt buộcNội dung này là gì
namestring
signature_schemestring<zinn, github>Không`zinn` verifies `X-Zinn-Signature` over "<timestamp>.<body>"; `github` verifies GitHub's own `X-Hub-Signature-256` over the body. One route, one rate limiter, one log, whichever…
statusstring<enabled, disabled>Không

Phản hồi

TênLoạiBắt buộcNội dung này là gì
idUuidUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestring
endpoint_keystringThe opaque path segment. Not the board id, and unchanged by a secret rotation.
urlstringKhôngThe full URL to paste into the sending system.
signature_schemestring<zinn, github>
statusBoardAutomationStatus`suspended` means WE paused it after repeated failure and it carries a reason the customer has not read. It is a third state rather than a reuse of `disabled`, because collapsin…
has_secretboolean
request_countintegerKhông
rejected_countintegerKhông
last_rejectionstringKhôngWhy the last refused request was refused — so "my n8n node says 404" is answerable from this screen rather than from a support ticket.
last_seen_atstringKhông
created_atstringKhông

Các lỗi điểm cuối này có thể trả về

401 · 403 · 404 · 422