To start using the RumbleTalk REST API, you must first authenticate your requests. RumbleTalk REST API offers two types of authentications:
Note: all access tokens have an expiration date accessible in the exp parameter.
Depends on the token, the duration can vary from 1 hour, 1 day, to even 1 month.
Read more about it on jwt.io
If you're simply trying to control your group chats from within your website, app, or any software you own, this is the option for you.
To get the Key and Secret of your RumbleTalk admin account, follow these steps:
Once you have your Key and Secret, you can use them to obtain an access token.
This token allows you to do perform various types of requests, such as creating a chat room, or banning an IP address.
curl \
-X POST \
"https://api.rumbletalk.com/token" \
-d "{\"key\":\"<your key>\",\"secret\":\"<your secret>\"}"
{
"status": true,
"token": "<your token>"
}
This method of authentication is useful if you manage more than one account. It gives full control over every account that is associated with your app.
To start using this type of authentication, and get your key and secret, please contact us at: support@rumbletalk.com and ask for the API key and secret for an enterprise account.
curl \
-X POST \
"https://api.rumbletalk.com/parent/token" \
-d "{\"key\":\"<your key>\",\"secret\":\"<your secret>\"}"
{
"status": true,
"token": "<your token>"
}