Skip to main content
The REST API lets your code do what your team does in Postploy: create, schedule, approve and track posts.
Base URL

Authentication

Every request needs an API key.
1

Create a key

In Postploy, open Settings › AI apps & API and click Create key. Copy it now, because it’s shown only once.
2

Send it with every request

Put it in the Authorization header:
A key acts as the person who created it, in the team they created it in. It has their permissions and can use their channels. It stops working when they delete it or leave the team. Each person can have up to 10 keys in a team.
Treat a key like a password. Keep it on your server, never in a browser or app people download. If one leaks, delete it in Settings › AI apps & API.

Your first request

List the channels you can post to:

Requests

  • Send JSON with Content-Type: application/json.
  • Ids are UUIDs.
  • Times are ISO 8601 with an offset, such as 2030-01-15T09:00:00Z or 2030-01-15T10:00:00+01:00. Postploy returns times in UTC.

Responses

Successful responses put their result in data:
Lists also say where you are. page starts at 0:
To get every post, ask for the next page until you’ve seen total posts.

Limits

Next steps

Schedule posts

Text, media, threads, drafts and approvals.

Platform options

What each platform needs, and its extra options.

Errors

What each error means and what to do about it.

API reference

Every endpoint, with a playground to try it.