agency-board

POST /v1/agency/boards/{boardId}/automations

Create a rule — when this happens, only if that, then do these.

সমস্ত agency-board এন্ডপয়েন্ট

প্রমাণীকরণ

একটি বিয়ার টোকেন হিসেবে একটি এপিআই কি পাঠান। এই এন্ডপয়েন্টটি স্পেসিফিকেশনে কোনো নির্দিষ্ট অনুমতির কথা বলে না, তাই অনুমান না করে আপনার কি-কে এর জন্য ন্যূনতম প্রয়োজনীয় অনুমতি দিন এবং রেসপন্স পরীক্ষা করুন।

এই এন্ডপয়েন্টটি কোনো অর্গানাইজেশন আইডি নেয় না। আপনার কীটি ইতিমধ্যে এটি যে অর্গানাইজেশনের অন্তর্গত তা শনাক্ত করে এবং প্রতিক্রিয়াটি সেই অনুযায়ী নির্ধারিত হয়।

চেষ্টা করুন

কোণ বন্ধনীতে থাকা যেকোনো কিছু আপনার নিজস্ব মান দিয়ে এবং কী প্লেসহোল্ডারটি আপনার ড্যাশবোর্ডের একটি কী দিয়ে প্রতিস্থাপন করুন।

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

লগ ইন করা আছে? আপনার ড্যাশবোর্ডের এপিআই কনসোল আপনার আসল অর্গানাইজেশন আইডি এবং আপনার নিজের কি পূরণ করে দেয়, এবং লাইভ এপিআই-এর বিপরীতে অনুরোধটি চালায় যাতে আপনি প্রকৃত প্রতিক্রিয়া দেখতে পান। এই এন্ডপয়েন্টটি এপিআই কনসোলে খুলুন

বিবরণ

Validated against the catalogue at save time, not at run time. A rule pairing a card action with a trigger that carries no card, naming a context field its trigger does not publish, or using an operator the field's type cannot take is refused here with the offending clause named — because the alternative is a rule that sits in the list looking enabled and does nothing for ever, whose only evidence is an absence.

পরামিতি

নামধরনআবশ্যকএটি কী
boardId (path)Uuidহ্যাঁProject board ID (UUIDv7).

অনুরোধের বডি

নামধরনআবশ্যকএটি কী
namestringহ্যাঁ
descriptionstringনা
triggerstringহ্যাঁ
trigger_configobjectনাPer-trigger settings, e.g. `hours_before` for "due date approaching".
conditionsBoardAutomationCondition[]নাANDed. An empty list means the rule always matches its trigger.
actionsBoardAutomationAction[]না
statusstring<enabled, disabled>না
positionintegerনা

প্রতিক্রিয়া

নামধরনআবশ্যকএটি কী
idUuidহ্যাঁUUIDv7 identifier — sortable by creation time (docs/02 §8).
board_idUuidহ্যাঁUUIDv7 identifier — sortable by creation time (docs/02 §8).
namestringহ্যাঁ
descriptionstringনা
triggerstringহ্যাঁ
trigger_configobjectনা
conditionsBoardAutomationCondition[]না
actionsBoardAutomationAction[]না
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…
positionintegerনা
run_countintegerনা
fired_countintegerনা
consecutive_failuresintegerনা
suspended_reasonstringনাWhy we paused this rule, in authored copy from a closed table — never an exception, a status or a message from our own code. The per-failure detail lives on each run (`action_re…
suspended_atstringনা
last_fired_atstringনা
last_run_atstringনা
next_due_atstringনাOnly set for a wall-clock rule. Null for a rule on a live act.
created_atstringনা
updated_atstringনা

এই এন্ডপয়েন্ট থেকে যেসব ত্রুটি আসতে পারে

401 · 403 · 404 · 422