AI agents

Plan and publish from the AI you already use

Ask your agent for a week of posts in your voice. Skryvo tells it to show you each one and wait for your go-ahead.

On this page

The REST API gives a script, an automation or an AI agent the same account the person uses in the app: their brands, connected channels, plan limits and calendar. Every route takes JSON and returns JSON, and every agent tool has one.

Base addresshttps://api.skryvo.ai/api/v1/agent
OpenAPI filehttps://api.skryvo.ai/openapi.json, version 1.0.0
Sign-inAn API key or an OAuth access token, as Authorization: Bearer
Rate limit60 requests a minute and 1,000 an hour per key or sign-in

The OpenAPI file covers every route on the reference with a summary, a description, an example and a typed schema for every answer. Tests check each answer the API gives against its schema. A typed client generated from it is published as the JavaScript and TypeScript SDK, under the MIT licence.

Sign in with an API key

  1. In Skryvo, open Settings › API & agents and create a key. It starts with sk_skryvo_, is shown once and is stored only as a hash. A person can keep up to 10.
  2. Send it on every call:
curl https://api.skryvo.ai/api/v1/agent/me \
  -H "Authorization: Bearer $SKRYVO_API_KEY"
{
  "email": "sam@example.com",
  "plan": "pro"
}

A key opens the agent API and nothing else in the account, and acts in the workspace it was made in, with that member's role and brands. Revoking it in Settings stops it at once.

Sign in with OAuth

For an app that acts for people other than its maker. Skryvo runs OAuth 2.1 with dynamic client registration and PKCE:

  1. Discover the server at https://api.skryvo.ai/.well-known/oauth-protected-resource and https://api.skryvo.ai/.well-known/oauth-authorization-server.
  2. Register at https://api.skryvo.ai/oauth/register. A redirect address must be HTTPS, a loopback address or a desktop app's own scheme.
  3. Send the person to https://api.skryvo.ai/oauth/authorize with an S256 code challenge. Skryvo's consent page names your app and the signed-in account; the person chooses Authorize or Deny.
  4. Swap the code at https://api.skryvo.ai/oauth/token. A code is single-use and lasts ten minutes. You get an access token (sko_…) that lasts 1 hour and a refresh token (skr_…) that lasts 90 days and rotates each time it is used. The scope is skryvo.

Tokens are stored hashed, like keys, and the person sees your app under Connected apps in Settings › API & agents, where Disconnect stops it at once.

Times

Times are ISO 8601. A time without an offset is read in the calendar's own time zone, and every post moves to the calendar's next quarter hour.

Spending, and the summary first

Calls that write or design spend the person's monthly generations or image credits. A call that would rely on a choice the person did not make, such as the platforms or pictures, writes nothing and returns status: "confirm" with each setting, where it came from, the cost and what is left. Call again with confirmed: true once the person agrees. A cost the balance cannot cover is refused before anything is spent. How agents use it.

Knowing when a post is out

Skryvo publishes each post at its time and reads it back. Register an HTTPS endpoint and Skryvo POSTs a signed event when a post is published or fails and when an article is ready: Webhooks. Or poll list_scheduled_posts, which returns each post's status, publish_error and posted_url.

Checked against the product on 23 November 2026. Known limits · What changed · Edit this page

Esc