AthenousDevelopers

Inbox

Messages, comments, and reviews for the account that owns the API key. Inbox follows the Posts scope. A key limited to Ads cannot call it. Paths and fields are in the Inbox reference.

List items

type is message, comment, or review. status is open, replied, or archived. page starts at 0. size defaults to 30.

curl -sS "https://public-api.athenous.io/api/v1/inbox?status=open&unreadOnly=true" \
  -H "X-Api-Key: $ATHENOUS_API_KEY"

The response is items, total, totalPages, page, and size. Counts are GET /api/v1/inbox/stats: total, unread, open, replied, archived, and byType.

Reply

Send the reply on a connected profile. Supported replies are comments on Meta, YouTube, Threads, X, TikTok, LinkedIn, and Reddit, plus direct messages on Meta and X. Other items stay in Athenous until that network can take the reply.

curl -sS -X POST "https://public-api.athenous.io/api/v1/inbox/ITEM_ID/reply" \
  -H "X-Api-Key: $ATHENOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Thanks for the note."}'

Mark an item without sending a reply:

curl -sS -X PATCH "https://public-api.athenous.io/api/v1/inbox/ITEM_ID" \
  -H "X-Api-Key: $ATHENOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"read":true,"status":"archived"}'

Notes and saved replies

A note is private to the account. It is not posted to the network.

curl -sS -X PUT "https://public-api.athenous.io/api/v1/inbox/ITEM_ID/note" \
  -H "X-Api-Key: $ATHENOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Follow up on Friday."}'

Saved replies are snippets for this account: GET and POST /api/v1/inbox/saved-replies, then DELETE /api/v1/inbox/saved-replies/{id}.

Sync

POST /api/v1/inbox/sync pulls new items from the profiles this account has connected. Webhooks and ingest stay on the app host.