The API reference moved here from eksis.io/developers.
Comments

Reply to a comment

POST
/v1/comments/{commentId}/reply

Sends the reply to the platform right away and marks the comment done. Unlike publishing, this one does wait: a failure here comes back as a platform error rather than as a status to poll for. A Threads reply can take several seconds.

Answering a reply inside a thread on YouTube or Instagram posts into the thread of its top-level comment, the only level those platforms reply to, and starts the text with @username of the person answered so they are notified. It is not added when the text already mentions them or when it would go over the platform's length limit. reply.text is what was posted.

Retrying is safe. Send an Idempotency-Key header (or idempotencyKey in the body) and a repeat with the same key within 24 hours returns the first reply with replayed: true instead of posting again. Without a key, the same text to the same comment within 15 minutes counts as a repeat too. A repeat that arrives while the first is still being sent waits for it, for up to 8 seconds.

Authorization

headerAuthorizationBearer <token>

Send your key as Authorization: Bearer eksis_sk_....

Path Parameters

commentId*string

Header Parameters

Idempotency-Key?string

Any unique string for this one reply. Wins over idempotencyKey in the body.

Lengthlength <= 255

Request Body

application/json
  1. body
text*string
Length1 <= length <= 2200
idempotencyKey?string

Same as the Idempotency-Key header.

Length1 <= length <= 255

Response Body

The reply was sent, now or by an earlier request with the same key.

application/json
  1. response
data?
curl -X POST 'https://api.eksis.io/v1/comments/string/reply' \  -H 'Authorization: Bearer eksis_sk_...' \  -H 'Content-Type: application/json' \  -d '{  "text": "string"}'
{  "data": {    "id": "string",    "status": "done",    "reply": {      "id": "string",      "externalId": "string",      "createdAt": "2019-08-24T14:15:22Z",      "text": "string"    },    "replayed": true  }}