API referenceMedia
GET /api/v1/media
List uploaded media (newest 200)
GET
BearerAuthheader
AuthorizationBearer <token>API key sk_...
{media}
application/json- response
media?array<>curl -X GET 'https://example.com/api/v1/media'Example Response
{ "media": [ { "id": "string", "postId": "string", "fileName": "string", "mimeType": "string", "size": 0, "createdAt": "2019-08-24T14:15:22Z", "publicUrl": "string" } ]}POST /api/v1/connect/discord POST
Bind channels of a server where the bot was installed (a pending install from the last 30 minutes, or an existing Discord account in that server), one account per text, announcement or forum channel. channelIds connects several at once and answers accounts and failed (422 no_channels_connected when none could be)
POST /api/v1/media POST
Upload media (multipart file, base64 JSON, or public URL import)