Authentication
🔐 API Authentication
Before being able to access the API we need to register an API Key on our SquadCast Account.
- Login to https://app.squadcast.fm and navigate to https://app.squadcast.fm/account/developers. Create a new API Key.
Keep your API Key Secret
Make sure to not expose your API key. You can revoke an API Key that was accidentally exposed in the same window.
-
Authentication to the API is performed via bearer auth. Provide your API secret key as the
Authorization
header's value, for exampleBearer YOUR_API_KEY
.curl --location --request GET 'https://api.squadcast.fm/v2/sessions' \ --header 'Authorization: Bearer YOUR_API_KEY'
var request = require('request'); var options = { 'method': 'GET', 'url': 'https://api.squadcast.fm/v2/sessions', 'headers': { 'Authorization': 'Bearer YOUR_API_KEY' } }; request(options, function (error, response) { if (error) throw new Error(error); console.log(response.body); });
Updated over 2 years ago