curl "https://aristotto.ai/social/api/v1/brands" \ -H "Authorization: Bearer $ARISTOTTO_TOKEN"
Aristotto Social API
Post and read with your own tools and scripts: the brands you run, their accounts, posts and numbers.
Start
- Open Social, then Settings, and Create token under API. Copy the token: it is shown once.
- Send it with every call as Authorization: Bearer <your token>.
- Ask for your brands first; every other call names one with ?brand=.
https://aristotto.ai/social/api/v1
What a token reaches
A token acts as you, on your own brand and on every brand of each team you own or are an admin of. Lose a seat or a role and its brands stop answering at once. Revoke a token in Settings and it stops working at once.
Answers
Every answer is JSON: { "data": … } when it works, { "error": { "code", "message" } } when not.
- 400
- Something in the call is missing or wrong; details say what.
- 401
- No token, a token in the wrong shape, or a revoked one.
- 403
- Your account cannot do that now (suspended, or held for review).
- 404
- No such brand or post, or one your token does not reach.
- 409
- Not now: a post already going out, or a plan limit.
- 429
- Too many calls; wait the seconds Retry-After says.
Limits
- 120 reads a minute and 30 changes a minute, over all your tokens.
- 60 posts made or saved an hour, shared with the app.
Calls
curl "https://aristotto.ai/social/api/v1/accounts?brand=BRAND_ID" \ -H "Authorization: Bearer $ARISTOTTO_TOKEN"
curl "https://aristotto.ai/social/api/v1/media?limit=20&kind=image" \ -H "Authorization: Bearer $ARISTOTTO_TOKEN"
curl "https://aristotto.ai/social/api/v1/posts?brand=BRAND_ID&from=2026-12-01T00:00:00Z&to=2026-12-08T00:00:00Z" \ -H "Authorization: Bearer $ARISTOTTO_TOKEN"
curl -X POST "https://aristotto.ai/social/api/v1/posts?brand=BRAND_ID" \
-H "Authorization: Bearer $ARISTOTTO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"caption": "Fresh roast on Friday. Come early.",
"targets": [
{
"accountId": "ACCOUNT_ID"
}
],
"media": [
{
"sourceType": "upload",
"sourceId": "MEDIA_ID"
}
],
"when": {
"mode": "at",
"at": "2026-12-05T09:00:00-05:00"
}
}'curl "https://aristotto.ai/social/api/v1/posts/POST_ID?brand=BRAND_ID" \ -H "Authorization: Bearer $ARISTOTTO_TOKEN"
curl -X PUT "https://aristotto.ai/social/api/v1/posts/POST_ID?brand=BRAND_ID" \
-H "Authorization: Bearer $ARISTOTTO_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"caption": "Fresh roast on Friday. Come early.",
"targets": [
{
"accountId": "ACCOUNT_ID"
}
],
"media": [
{
"sourceType": "upload",
"sourceId": "MEDIA_ID"
}
],
"when": {
"mode": "at",
"at": "2026-12-05T09:00:00-05:00"
}
}'curl -X DELETE "https://aristotto.ai/social/api/v1/posts/POST_ID?brand=BRAND_ID" \ -H "Authorization: Bearer $ARISTOTTO_TOKEN"
curl "https://aristotto.ai/social/api/v1/numbers?brand=BRAND_ID&days=28" \ -H "Authorization: Bearer $ARISTOTTO_TOKEN"
caption is required. targets are the brand's accounts (from /accounts), each with its own caption if you like. media are your works and uploads (from /media). when is a draft, now, or a time.
Webhooks
Connect a webhook on the Accounts page, under Destinations, and each post that goes there is sent to your address as a POST with a JSON body. Its media links work for two hours.
{
"type": "aristotto.post",
"sentAt": "2026-12-05T14:00:00.000Z",
"caption": "Fresh roast on Friday. Come early.",
"aiGenerated": false,
"media": [
{
"kind": "image",
"url": "https://…",
"mimeType": "image/jpeg",
"width": 1080,
"height": 1080,
"durationSeconds": null,
"altText": "A cup of coffee on a wooden table"
}
]
}Check each call- Each call carries Aristotto-Signature: t=<unix seconds>,v1=<hex>.
- Compute the HMAC-SHA256 of t, a dot and the raw body, with the signing secret shown when you connected. It must equal v1.
- Refuse a call whose t is more than five minutes old.
