Appearance
Authentication
This page demonstrates how you authenticate your application against Depot to be able to make requests to the system.
Get Access Token
URL
POST - https://auth-depot.feeditback.com/5e753c81-b132-4843-8658-dae2e57cf388/oauth2/v2.0/token
Request
This is an example request showing what data will be required to be sent
json
{
"grant_type": "client_credentials",
"scope": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/.default",
"client_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"client_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx"
}Details
All of these details (except grant_type) should be provided to you by your contact at Depot, if you do not currently have them get it contact with your contact to be provided these details.
client_secret and client_id are unique to your customer subscription
Response
json
{
"token_type": "Bearer",
"expires_in": 3599,
"ext_expires_in": 3599,
"access_token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}Attach the returned access token to all requests to Depot as a Authorization header with 'Bearer ' prefixed before. Depending upon your access levels this access_token will give you access to the endpoints you have access.