Authentication

How To Get Topview Uid And Key

To access Topview's API and perform operations, you must authenticate and authorize your requests using the HTTP Topview-Uid header and Authentication header.

To find your API Token, click on the top right corner of the Topview application home screen, navigate to your account's space, and select "API Settings" from the drop-down menu. Your Topview Uid and Key will be displayed under the API tab. If there is no Key, click "Add Key" to generate your unique Key, which will be used to verify your API request.

Click the "API Settings", and the following page will appear:

Call Example:

curl https://api.topview.ai/v1/tts/list \
  -H "Authorization: Bearer <your-api-key>" \
  -H "Topview-Uid: <your-topview-uid>"

️Keep Token Secret And Safe !

When it comes to your API token: keep it confidential. Stay safe! If your key is obtained by someone else, it will cause you losses. If you suspect that your token has been leaked, please delete it and generate a new key.