Authentication
This group refers to endpoints related to authentication.
Retrieves all resources that the passed authentication token is currently authorized to access. Nomenclature matches the API reference page in settings.
This is an API configuration endpoint and does not correspond to a specific frontend page.
OAuth 2.0 Bearer token obtained via client credentials grant. Pass the token in the Authorization header as Bearer <token>.
Success
students/excusals/indexGET /v2p1/auth/permissions HTTP/1.1
Host: api.managebac.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Success
{
"permissions": [
"students/excusals/index"
]
}Obtain an OAuth 2.0 access token using the Client Credentials grant. Pass your application's client_id and client_secret along with grant_type=client_credentials. Optionally request a subset of the scopes configured on the application. The returned Bearer token can then be used in the Authorization header for all other API endpoints.
The OAuth 2.0 grant type. Only client_credentials is supported for server-to-server API access.
The client_id (Application ID) of your OAuth application.
The client_secret of your OAuth application.
A space-separated list of scopes to request. Must be a subset of the scopes configured on the application. If omitted, all scopes defined on client creation will be granted.
Token issued successfully
The Bearer token (JWT) to use in the Authorization header.
Always Bearer.
Token lifetime in seconds.
3600Space-separated list of granted scopes.
Token creation timestamp (Unix epoch).
Invalid scope requested
Invalid client credentials
POST /oauth/token HTTP/1.1
Host: api.managebac.com
Content-Type: application/json
Accept: */*
Content-Length: 92
{
"grant_type": "client_credentials",
"client_id": "text",
"client_secret": "text",
"scope": "text"
}{
"access_token": "text",
"token_type": "Bearer",
"expires_in": 3600,
"scope": "text",
"created_at": 1
}Last updated