How to use API in Swagger
tip
VoceChat server has an open API--you can build your own chat based on these APIs:)
Address:https://vocechat.yourdomain.com/api/swagger
(Switch to your own server URL):
1st step: switch to your own server
2nd step: Fill in your token
tip
Token has an expiration time (this token here is the same as the JSON-web token)! Get the newest token through checking the API head: X-API-Key
(see image below).
Fill in this token to hte swagger popup, and then start using the API!
tip
Some APIs need admin token to use (check your roles inside the app).