Skip to content
Docs

Retrieve a write receipt

Early access. Tell us what you're building and we'll set you up. Contact us

GETapi.lempile.com/writes/{key}

What became of one write sent with an Idempotency-Key (POST /posts, replies, and follows, reposts, pins and profile edits sent with a key). state is done (sent: response is the stored answer), failed (nothing was sent), pending (still running, or not sure) or none. The browser's answer is kept 48 hours, also after the request stopped waiting.

Scope: accounts.read or accounts.write.

Authentication

X-API-KEY header·A Lempile API key, made in the dashboard under Access tokens.

Path parameters

  • keystringrequired

    The write's Idempotency-Key.

Responses

200

The receipt.

›

application/json

  • objectany
    AlwaysWriteStatus
  • keystring
  • statestring
    One ofnonependingdonefailed
  • statusinteger
  • responseobject | null
401

Missing or invalid API key ({error, message}), errors/disconnected_account, or errors/reauth_required when X is signed out in the account's browser.

›

application/problem+json

  • typestringrequired
  • titlestring
  • statusintegerrequired
  • detailstring
  • retry_atstring · date-time
  • codestring

    The browser's own reason, when it refused before the click: replies_limited, post_not_accepted, gif_not_found, browser_busy…

402

subscription_required: the workspace has no active trial or subscription.

›

application/problem+json

  • typestringrequired
  • titlestring
  • statusintegerrequired
  • detailstring
  • retry_atstring · date-time
  • codestring

    The browser's own reason, when it refused before the click: replies_limited, post_not_accepted, gif_not_found, browser_busy…

403

insufficient_permissions: the key has neither accounts.read nor accounts.write.

›

application/json

  • typestringrequired
  • titlestring
  • statusintegerrequired
  • detailstring
  • retry_atstring · date-time
  • codestring

    The browser's own reason, when it refused before the click: replies_limited, post_not_accepted, gif_not_found, browser_busy…

Was this page helpful?