Developers
Build bots, integrations, and extensions.
cURL
curl --request POST \ --url https://api.magne.app/v1/servers/{serverId}/templates/import \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "templateCode": "<string>" } '
{ "categoriesCreated": 123, "channelsCreated": 123, "rolesCreated": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success