You need a plan that includes the API, and at least one social account connected to a company (in the app: Company settings > Integrations). This guide posts to LinkedIn, which accepts text only. Other networks have their own rules.
Get an API key
Create a key in Settings > API keys and export it:Paste the whole key as the app shows it, including the number and the
| at the start. Responses below are shortened.Find your company
A company is a brand or client workspace. Everything you publish belongs to one.Keep the
cURL
Response
id (1287 here).Create a draft and its post
A post group is one piece of content and its schedule, with one post per network. Create the group as a draft:Then add the LinkedIn post:
cURL
Response (201)
cURL
Response (201)
Schedule it
Take the group out of draft and give it a time a few minutes from now, in UTC or with an offset:Done. At
cURL
publish_at, the post’s status goes from pending to publishing to published, and external_id gets LinkedIn’s ID. If it ends in error, status_message says why. Check it with GET /postGroups/88412/posts.The whole flow in code
Next steps
Publishing posts
Media, queues, publishing now and recovering from failures.
Uploading media
Add pictures and videos to your posts.
Webhooks
Get told when a post is published or fails.
API reference
Every endpoint, with a playground.
