aeyho

API

The basics every call shares. Where the API lives, how it answers, and the guides for each part.

View as Markdown

On this page

The basics

  • Base URL: https://www.aeyho.com/api/v1
  • Auth: every call sends Authorization: Bearer <key>. See authentication and keys.
  • Bodies: JSON in and JSON out. Send Content-Type: application/json with a body.
  • Errors: application/problem+json, with a code you can switch on. See errors.
  • Long work runs on its own. Making a reel, a change or a fix answers 202 at once. Poll the object, or listen for webhooks.
  • Credits. Calls that make something use credits from your balance. Costs aren't shown per call. GET /account shows the balance.
  • Versions. The version in the path is the major one. Within v1, changes only add things. See the changelog.
  • Browsers can call the API too (CORS is open), but never put a live key in a public page.

What you can do

PartWhat it's for
AccountYour plan and credit balance.
BrandsThe businesses or creators you make content for. Make one from a link.
TasteWhat a brand likes, kept as short rules every writer follows.
IdeasThe brand's content plan.
ReelsMake a reel or carousel, read it, ask for a change in words.
VersionsEvery version of a reel. Restore or approve one.
CommentsPin a comment to a moment or a slide, then fix just those parts.
Reel ScoreA free craft check of any reel from its link.
WebhooksEvents sent to your server.

The API reference lists every route.

Try it

curl https://www.aeyho.com/api/v1/brands \
  -H "Authorization: Bearer $AEYHO_KEY"