BTS-SHORTLINK
Join Telegram Sign in

Autenticación

In order to have access to the API, first of all, you will have to register your email to be able to access the rest of the endpoints. Once you have registered, you will have access to an access token, which will be the one you use to make use of the rest of the calls. The access token is an alphanumeric code that is generated randomly and uniquely for each user.

Eg Token: f2c88207-d594-4df1-94e2-974b32903401

To retrieve the access token you just have to call the following endpoint and pass your email in the Body.

http://bts-shortlink.com/api/v01/auth/get-token

Body: { "email": "[email protected]" }

Response: { "code": 200, "message": "OK", "data": { "token": "1d123780-acf0-4ac9-9337-2cc4950421ce", "access_token": "f2c88207-d594-4df1-94e2-974b32903401", "refresh_token": null, "type_token": "Bearer" } }