Skip to main content

How to use API in Swagger


VoceChat server has an open API--you can build your own chat based on these APIs:)

Address: (Switch to your own server URL):

1st step: switch to your own server

step 1

2nd step: Fill in your token


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).

api token Fill in this token to hte swagger popup, and then start using the API!


Some APIs need admin token to use (check your roles inside the app).

step 2

Also:every API has a "Try it Out" for you to use right at the swagger page.

step last