Skala

Authentication

API authentication methods

Authentication

Learn how to authenticate your API requests using Bearer tokens for secure access.

Generating Tokens

All API requests require a valid Bearer token in the Authorization header. You can generate tokens through your Skala dashboard under Settings > API Keys.

Using Tokens

Include your token in every request header:

curl -H "Authorization: Bearer YOUR_TOKEN_HERE" \
     https://mrp.skalasuite.com/api/v1/resources
const response = await fetch('https://mrp.skalasuite.com/api/v1/resources', {
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN_HERE'
  }
});
import requests

headers = {
    'Authorization': 'Bearer YOUR_TOKEN_HERE'
}
response = requests.get(
    'https://mrp.skalasuite.com/api/v1/resources',
    headers=headers
)

Error Responses

StatusDescription
401Invalid or missing token
403Token lacks required permissions

On this page