NewGet it on Google Play →

Byvano REST API

Schedule posts, upload media and read results from your own scripts. The base URL is https://byvano.com/api/v1.

Quick start

Schedule your first post

  1. 1

    Connect an account and create a key

    Connect a social account on the Connections page, then create a key in Settings → API keys. The key is shown once, so save it somewhere safe.

  2. 2

    Get your account ID

    curl https://byvano.com/api/v1/accounts \
      -H "Authorization: Bearer YOUR_API_KEY"

    Find your platform in the response and copy the id inside targets.

  3. 3

    Upload your media

    curl -X POST https://byvano.com/api/v1/media/upload \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -F "file=@photo.jpg"

    Copy the url inside assets.

  4. 4

    Schedule the post

    curl -X POST https://byvano.com/api/v1/posts \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "contentType": "PHOTO",
        "text": "New arrivals just dropped.",
        "hashtags": ["newin"],
        "mediaUrls": ["URL_FROM_STEP_3"],
        "mode": "schedule",
        "scheduledAt": "2026-12-08T14:30:00Z",
        "externalRef": "my-job-1",
        "targets": [{ "targetId": "ID_FROM_STEP_2" }]
      }'

    A new post returns 201, and you can see it on your calendar.

    On Windows, run these commands in Git Bash or use Postman. Command Prompt does not support the single quotes in this step.

POST /posts

Post fields

FieldWhat it does
contentTypeTEXT, PHOTO, VIDEO, REEL, STORY, CAROUSEL or LINK. Networks support different types: see summary.contentTypes in GET /accounts.
textThe caption.
hashtagsA list of hashtags without the # sign.
mediaUrlsA list of media URLs. Use the url returned by POST /media/upload, or a public https link to your own file.
modedraft, queue, schedule or now.
scheduledAtRequired for queue and schedule. A future time in ISO 8601, for example ending in Z for UTC, or +05:30 for India.
externalRefYour own unique reference. Sending the same one again returns the first post instead of creating a duplicate.
targetsThe accounts to publish to, as [{ "targetId": "…" }].
Reference

Endpoints and scopes

Send your key as Authorization: Bearer YOUR_API_KEY. Each key can only do what its scopes allow.

EndpointScopeWhat it does
GET /accountsaccounts:readConnected accounts, their IDs and supported post types
POST /media/uploadmedia:writeUpload images or videos
GET /mediamedia:readBrowse the media library
POST /postsposts:writeCreate a draft, schedule a post or publish now
GET /postsposts:readList posts. Filter by status, platform, from, to, search
GET /posts/{id}posts:readRead one post and the result for each account
PATCH /posts/{id}posts:writeEdit a post that has not been published
DELETE /posts/{id}posts:writeDelete a post. Add ?cancel=1 to cancel it and keep the record
GET /analyticsanalytics:readPublishing results and failure reasons
GET, POST /webhooksadminList or add webhook endpoints
Errors

What the status codes mean

Every error has a plain message in the error field.

StatusMeaning
400A field is missing or invalid, for example a scheduledAt in the past.
401The API key is wrong, disabled, revoked or expired.
403The key does not have the scope this call needs. The response names it.
404The post or account was not found in your workspace.
409The request conflicts with the current state, for example editing a published post.
422The account cannot publish this post, for example an unsupported post type.
Webhooks

Hear when a post publishes or fails

Add an https endpoint in Settings → API keys & webhooks. The signing secret is shown once.

Events: post.created, post.updated, post.scheduled, post.published, post.failed, media.uploaded.

To check that a request came from Byvano, compute an HMAC-SHA256 of the raw request body with your signing secret and compare it with the X-Byvano-Signature header, which looks like sha256=….

Stuck? Email contact@byvano.com with the error message, but never your API key.

Byvano REST API: Quick Start and Reference