Developers
Publish from your own code with the API and webhooks
If you would rather write code than click, Skedlark has two ways in: a REST API and webhooks. A command-line tool is built but not published yet.
The REST API
Create an API key in the app. Each key belongs to one workspace. Send it with every request as Authorization: Bearer skl_your_key.
With the API you can list the accounts in the workspace, list posts and send or schedule a post. Each key can make 120 requests a minute. When a request is refused, the answer is JSON with a message that says what to do.
The command-line tool
The skedlark command-line tool is not published yet, so there is nothing to install today. Until it is, use the REST API from your own scripts, or connect your AI app and ask it to post.
Webhooks
Add an https address in the app and Skedlark sends it a JSON POST the moment a post is published or fails. Each event carries an id, a type, the time it was created and the data.
Answer with a 2xx status. Anything else is tried again five times over about an hour. Every webhook is signed, so your server can check that it came from Skedlark.
Where to find the details
The API section of the app lists the endpoints, the post fields and the webhook events, with examples you can copy.