OAuth2
Issue tokens
Issue access tokens using various grant types:
- client_credentials: Exchange client credentials for an access token
- urn:ietf:params:oauth:grant-type:jwt-bearer: Exchange JWT assertion (Keycloak for brokerdash or Google for admin)
- refresh_token: Refresh an admin access token using a refresh token
post/oauth2/token
Request
- Base URLhttps://authx.giftcity.in.alpaca.markets/v1
- URLhttps://authx.giftcity.in.alpaca.markets/v1/oauth2/token
- Authnone required
Request body application/x-www-form-urlencoded
Example request
{
"client_id": "AKSF5FVOKXYKG4ATGCJQBA",
"client_secret": "MFRGGZDFMZTWQYLCMNSGKZTHNBQWEY3EMVTGO2DBMJRWIZLGM5UGCYTDMRSWMZ3I"
}Response
OK
Example response
{
"expires_in": 900
}Changes
No recorded changes to this operation across all 1 revision of this API.