syndication

POST /v1/syndication/posts/{postId}/{action}

Approve, reject or retry one channel's post.

ყველა syndication ენდპოინტი

ყველა დეველოპერის დოკუმენტაცია

ავტორიზაცია

API გასაღები გაგზავნეთ როგორც bearer token. ეს ენდპოინტი სპეციფიკაციაში არ მიუთითებს კონკრეტულ ნებართვას, ამიტომ მიანიჭეთ თქვენს გასაღებს მინიმალური საჭირო უფლებები და ვარაუდის ნაცვლად შეამოწმეთ პასუხი.

ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

curl -X POST https://api.zinndigital.com/v1/syndication/posts/{postId}/{action} \
  -H "Authorization: Bearer zdk_live_…"

შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი API კონსოლში

დეტალები

Approving queues the post for the next sweep; rejecting settles it skipped because nothing went wrong; retrying re-queues a failed or needs_reconnect post — reconnect the account first, or it will settle the same way again. Gated on syndication.manage.

პარამეტრები

სახელიტიპისავალდებულორა არის ეს
postId (path)stringდიახ
action (path)string<approve, reject, retry>დიახapprove clears a held post for sending, reject marks it skipped (nothing went wrong — the customer said no), retry re-queues a failed one.

პასუხი

სახელიტიპისავალდებულორა არის ეს
idstringდიახ
channelstringდიახ
connection_idstringდიახ
connection_labelstringდიახ
statusstring<drafting, awaiting_approval, queued, posted, failed, needs_reconnect, skipped>დიახ⛔⛔ needs_reconnect is NOT failed. skipped means the customer said no or the connection was removed — nothing went wrong.
textstringდიახ
remote_urlstringდიახThe live post, read back from the channel where it returns one. ⛔ Empty where the vendor gives us nothing to build a URL from (a Slack incoming webhook answers the literal string…
droppedstring[][]დიახ[[field, reason], …] — what this channel could not carry, and WHY. The reason travels: "no image endpoint" and "the upload was refused" are different problems with different…
errorstringდიახA machine code, never a sentence.
cost_microsintegerდიახWhat this post cost us, in USD micros. One line per channel per post.
character_limitintegerდიახ
posted_atstringდიახ

შეცდომები, რომლებიც ამ ენდპოინტს შეუძლია დააბრუნოს

401 · 403 · 404