Authentication Tokens
You will need to retrieve an authentication token to create new businesses or to use the embedded accounting widget.
Retrieving an authentication token
The token is valid for one hour and can be used in multiple requests. To keep your API key secure only retrieve tokens through your backend and then pass the token to your frontend for use in the widget.
post
Body
apikeystringRequired
appidstringRequired
Responses
200Success
400Error
401Error
post
POST /api/auth/token HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"apikey": "text",
"appid": "text"
}
No content
Last updated