Developers
Build bots, integrations, and extensions.
cURL
curl --request POST \ --url https://api.magne.app/v1/channels/{channelId}/messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "content": "<string>", "attachments": {} } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "authorId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "content": "<string>", "attachments": {}, "editedAt": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "authorName": "<string>", "authorAvatar": "<string>", "mentions": [ "<string>" ], "mentionEveryone": true, "authorBadges": [ "<string>" ], "pinnedBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "pinnedByName": "<string>", "reactions": {} }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success