Reply to a comment
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.
AuthorizationBearer <token>Send your key as Authorization: Bearer eksis_sk_....
commentId*stringIdempotency-Key?stringAny unique string for this one reply. Wins over idempotencyKey in the body.
length <= 255application/json- body
text*string1 <= length <= 2200idempotencyKey?stringSame as the Idempotency-Key header.
1 <= length <= 255The reply was sent, now or by an earlier request with the same key.
application/json- 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 }}