Authentication
You need to be an Apizee authenticated user to use the APIs:
Get your account on the Apizee plaform depending on what endpoint you need.
Use the
/tokenendpoint providing your username and password to get a token in return (see Bearer Authentication).Include the token in the
Authorizationheader of requests:Authorization: Bearer <token>
Be mindful that you get the authentication token by passing clear username and password along with your API call; this operation must be done server-sided to avoid security issues and NOT by your frontend part.
Grant type to get access token
passwordPossible values: Username used to login, required if grant_type is password
Password used to login, required if grant_type is password
JWT assertion to get access token, required if grant_type is urn:ietf:params:oauth:grant-type:jwt-bearer
Good case
400 errors
401 errors
403 errors
404 errors
POST /api/v3/token?grant_type=password HTTP/1.1
Host: cloud.apizee.com
Accept: */*
{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGc...",
"created_at": "2018-10-14T10:00:00+00:00",
"expires_in": 86400
}Good case
POST /api/v3/token/revoke HTTP/1.1
Host: cloud.apizee.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Good case
{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGc..."
}Last updated