Retrieve an Article job
Early access. Tell us what you're building and we'll set you up. Contact us
api.lempile.com/articles/{key}Where one Article is, by the Idempotency-Key it was sent with: building (202), published (200, url, article_id), draft (200, a dry run, draft_url), not_sent (422, or 409 for account_busy) or unknown (200: Publish was pressed but X didn't confirm; check the account's Articles before sending again).
Scope: accounts.read.
Authentication
X-API-KEY header·A Lempile API key, made in the dashboard under Access tokens.Path parameters
keystringrequiredThe Idempotency-Key the Article was sent with.
Responses
200Published, draft or unknown.
›
application/json
objectanyAlwaysArticleJobidstringaccount_idstringstatusstringOne ofbuildingpublisheddraftnot_sentunknownurlstringarticle_idstringdraft_urlstringcodestringdetailstring
202Still building.
›
application/json
objectanyAlwaysArticleJobidstringaccount_idstringstatusstringOne ofbuildingpublisheddraftnot_sentunknownurlstringarticle_idstringdraft_urlstringcodestringdetailstring
401Missing or invalid API key ({error, message}), errors/disconnected_account, or errors/reauth_required when X is signed out in the account's browser.
›
{error, message}), errors/disconnected_account, or errors/reauth_required when X is signed out in the account's browser.application/problem+json
typestringrequiredtitlestringstatusintegerrequireddetailstringretry_atstring · date-timecodestringThe browser's own reason, when it refused before the click:
replies_limited,post_not_accepted,gif_not_found,browser_busy…
402subscription_required: the workspace has no active trial or subscription.
›
subscription_required: the workspace has no active trial or subscription.application/problem+json
typestringrequiredtitlestringstatusintegerrequireddetailstringretry_atstring · date-timecodestringThe browser's own reason, when it refused before the click:
replies_limited,post_not_accepted,gif_not_found,browser_busy…
404errors/not_found: no Article with this key.
›
errors/not_found: no Article with this key.application/problem+json
typestringrequiredtitlestringstatusintegerrequireddetailstringretry_atstring · date-timecodestringThe browser's own reason, when it refused before the click:
replies_limited,post_not_accepted,gif_not_found,browser_busy…
422Not sent.
›
application/json
objectanyAlwaysArticleJobidstringaccount_idstringstatusstringOne ofbuildingpublisheddraftnot_sentunknownurlstringarticle_idstringdraft_urlstringcodestringdetailstring
Was this page helpful?