Skip to content

Switch from PostPeer

The create-post request has the same fields on both, and credits cost the same. Change the base URL and the key, have your users reconnect, and update one webhook header.

No card required.

Before: PostPeer

curl https://api.postpeer.dev/v1/posts \
  -H "x-access-key: $POSTPEER_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "content": "Spring trail shoes are in.",
        "platforms": [{ "platform": "linkedin", "accountId": "int_li_456" }],
        "publishNow": true }'

After: Postkey

curl https://api.postkey.dev/v1/posts \
  -H "x-access-key: $POSTKEY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "content": "Spring trail shoes are in.",
        "platforms": [{ "platform": "linkedin", "accountId": "int_li_456" }],
        "publishNow": true }'

Field by field

PostPeer side from its live OpenAPI spec, read on 25 November 2026. Postkey side from the Postkey OpenAPI spec.

PostPeer fields and their Postkey equivalents
PostPeerPostkeyWhat to do
https://api.postpeer.dev/v1https://api.postkey.dev/v1Change
x-access-keyx-access-keySame header, new key
contentcontentSame
mediaItems[].type, url, altText, thumbnailmediaItems[].type, url, altText, thumbnailSame (image, video, gif, document)
platforms[].platform, accountIdplatforms[].platform, accountIdSame values (twitter, googlebusiness, …). New account ids after reconnecting
platforms[].content, platformSpecificDataplatforms[].content, platformSpecificDataSame
scheduledFor, timezone, publishNowscheduledFor, timezone, publishNowSame
saveAsDraft, idempotencyKeysaveAsDraft, idempotencyKeySame
202: success, status, postId, platforms[]202: success, status, postId, platforms[]Same response
X-PostPeer-SignatureX-Postkey-SignatureChange in your webhook handler

Four steps

  1. 1.

    Get a Postkey key

    Create a key in the dashboard. It goes in the same x-access-key header.

  2. 2.

    Reconnect accounts

    Access tokens belong to the service that issued them, so each account connects once through a Postkey connect link. Using your own OAuth apps? Register the same apps with Postkey first.

  3. 3.

    Change the base URL and key

    Point your client at api.postkey.dev/v1 and swap the key. Request and response bodies stay the same.

  4. 4.

    Update your webhook handler

    Subscribe your endpoint in Postkey and check X-Postkey-Signature instead of X-PostPeer-Signature. Event names are the same.

What Postkey doesn't have

If you use any of these on PostPeer, keep that part there for now.

  • Threads and Bluesky accounts
  • Editing a post after it's published (POST /v1/posts/{postId}/edit)
  • The messages inbox (reading and sending DMs). Comment-to-DM on Instagram works the same

Switching questions

Something not here? Email hello@postkey.dev. I answer every one myself.

Book a 15-minute call
  • No. The create-post fields, the platform values and the response shape are the same. Only the base URL, the key and the account ids change.

  • OAuth tokens are issued to the service that ran the connect flow, so they can't be moved between services. Each account reconnects once through a Postkey link.

  • No. 1 credit per post per network, 5 on X or 50 with a link, and failed networks are refunded.

Get your key and change one URL.

$ curl -X POST api.postkey.dev/v1/posts -H "x-access-key: …"

No card required.