Developers
Build bots, integrations, and extensions.
cURL
curl --request POST \ --url https://api.magne.app/v1/servers/{serverId}/webhooks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "avatarUrl": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "serverId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "avatarUrl": "<string>", "createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "createdAt": "2023-11-07T05:31:56Z", "token": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success