Authentication
Authenticate with the API
This endpoint is needed to generate your access token. Access to the API is by Bearer Access Tokens. These are valid for 15 minutes. You can have multiple Access Tokens active at the same time if needed. See the Guide to Authentication for full details.
post/v1/apps/accesstokens
Request
- Base URLhttps://api.fire.com/business
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"clientId": "4ADFB67A-0F5B-4A9A-9D74-34437250045C",
"refreshToken": "4ADFB67A-0F5B-4A9A-9D74-34437250045C",
"nonce": 728345638475,
"clientSecret": "4ADFB67A-0F5B-4A9A-9D74-34437250045C"
}Response
Access token created
Example response
{
"businessId": 248,
"apiApplicationId": 433,
"expiry": "2020-10-22T07:48:56.460Z",
"permissions": [
"PERM_BUSINESSES_GET_ACCOUNTS",
"PERM_BUSINESSES_GET_ACCOUNT_TRANSACTIONS"
],
"accessToken": "4ADFB67A-0F5B-4A9A-9D74-34437250045C"
}Changes
No recorded changes to this operation across all 7 revisions of this API.