agency-board

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

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

ሁሉም የ agency-board ማጠናቀቂያ ነጥቦች

ማረጋገጫ

የኤፒአይ ቁልፍ (API key) እንደ ቢረር ቶከን (bearer token) ይላኩ። ይህ የመጨረሻ ነጥብ (endpoint) በመግለጫው ውስጥ የተወሰነ ፈቃድ አልገለጸም፣ ስለዚህ ከማሰብ ይልቅ ለቁልፍዎ የሚያስፈልገውን አነስተኛ ፈቃድ ይስጡት እና ምላሹን ያረጋግጡ።

ይህ ኤንድፖይ መክፈቻ (endpoint) የድርጅት መታወቂያ (organisation id) አይወስድም። የእርስዎ ቁልፍ (key) እሱ የሚመለከተውን ድርጅት አስቀድሞ ይለያል፣ እና ምላሹም ለዚሁ የተወሰነ ነው።

ሞክሩት

በቅንፍ ውስጥ ያለውን ማንኛውንም ነገር በራስዎ እሴቶች ይተኩ፣ እና ቁልፍ ቦታ ያዢውን ከዳሽቦርድዎ በመጣ ቁልፍ ይተኩ።

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> }'

ገብተዋል? የመቆጣጠሪያ ማዕከልዎ ውስጥ ያለው የኤፒአይ ኮንሶል ትክክለኛውን የድርጅት መታወቂያዎን እና የራስዎን ቁልፍ ይሞላል፣ እና ትክክለኛውን ምላሽ ማየት እንዲችሉ ጥያቄውን በቀጥታ ከሚሰራው ኤፒአይ ጋር ያካሂደዋል። ይህን ኤንድፖይንት በAPI ኮንሶል ውስጥ ይክፈቱ

ዝርዝሮች

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