Schedule posts, upload media and read results from your own scripts. The base URL is https://byvano.com/api/v1.
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.
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.
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.
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.
| Field | What it does |
|---|---|
contentType | TEXT, PHOTO, VIDEO, REEL, STORY, CAROUSEL or LINK. Networks support different types: see summary.contentTypes in GET /accounts. |
text | The caption. |
hashtags | A list of hashtags without the # sign. |
mediaUrls | A list of media URLs. Use the url returned by POST /media/upload, or a public https link to your own file. |
mode | draft, queue, schedule or now. |
scheduledAt | Required for queue and schedule. A future time in ISO 8601, for example ending in Z for UTC, or +05:30 for India. |
externalRef | Your own unique reference. Sending the same one again returns the first post instead of creating a duplicate. |
targets | The accounts to publish to, as [{ "targetId": "…" }]. |
Send your key as Authorization: Bearer YOUR_API_KEY. Each key can only do what its scopes allow.
| Endpoint | Scope | What it does |
|---|---|---|
GET /accounts | accounts:read | Connected accounts, their IDs and supported post types |
POST /media/upload | media:write | Upload images or videos |
GET /media | media:read | Browse the media library |
POST /posts | posts:write | Create a draft, schedule a post or publish now |
GET /posts | posts:read | List posts. Filter by status, platform, from, to, search |
GET /posts/{id} | posts:read | Read one post and the result for each account |
PATCH /posts/{id} | posts:write | Edit a post that has not been published |
DELETE /posts/{id} | posts:write | Delete a post. Add ?cancel=1 to cancel it and keep the record |
GET /analytics | analytics:read | Publishing results and failure reasons |
GET, POST /webhooks | admin | List or add webhook endpoints |
Every error has a plain message in the error field.
| Status | Meaning |
|---|---|
400 | A field is missing or invalid, for example a scheduledAt in the past. |
401 | The API key is wrong, disabled, revoked or expired. |
403 | The key does not have the scope this call needs. The response names it. |
404 | The post or account was not found in your workspace. |
409 | The request conflicts with the current state, for example editing a published post. |
422 | The account cannot publish this post, for example an unsupported post type. |
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.