curl --request POST \
--url https://public-api.stora.co/oauth2/token \
--header 'Content-Type: application/json' \
--data '
{
"grant_type": "client_credentials",
"client_id": "ei5bQqk_qUqan8MYMarc2-Eqb48vdB-oc_qBBUjG7co",
"client_secret": "NlUuAoPDsKBhcCHc-I2Sa4nlPUaYm31nus6_OpiOzmQ",
"scope": "public.contact:write"
}
'{
"access_token": "_XVP5ehrV2pbjYmyx7B3vG0A3L2ZDHj5w1VVaJ9jfAM",
"token_type": "Bearer",
"expires_in": 7200,
"scope": "public.contact:write",
"created_at": 1740235260
}OAuth 2
Retrieve an Access Token
Retrieve an OAuth 2 Access Token.
POST
/
oauth2
/
token
curl --request POST \
--url https://public-api.stora.co/oauth2/token \
--header 'Content-Type: application/json' \
--data '
{
"grant_type": "client_credentials",
"client_id": "ei5bQqk_qUqan8MYMarc2-Eqb48vdB-oc_qBBUjG7co",
"client_secret": "NlUuAoPDsKBhcCHc-I2Sa4nlPUaYm31nus6_OpiOzmQ",
"scope": "public.contact:write"
}
'{
"access_token": "_XVP5ehrV2pbjYmyx7B3vG0A3L2ZDHj5w1VVaJ9jfAM",
"token_type": "Bearer",
"expires_in": 7200,
"scope": "public.contact:write",
"created_at": 1740235260
}Body
application/json
Response
Access Token
OAuth 2 Token Response
OAuth 2 Access Token.
OAuth 2 Token Type.
Allowed value:
"Bearer"OAuth 2 Access Token Expiration Time in Seconds.
OAuth 2 Access Token Creation Time.
OAuth 2 Refresh Token. Available only for Authorization Code Grant Type.
Was this page helpful?