I am working on a web-based form tool (for personal use) that submits fuel-ups to both Google Sheets and Fuelly. I discovered there Fuelly API swagger docs:
https://api.fuelly.com/swagger. However, I am having issues authenticating to the API.
I presume the endpoint to get a token is: POST /v1/auth/oauthtoken. When calling this, I'm using basic auth and passing my fuelly username and PW. Body of the POST request is multipart as such:
grant_type = password
username = skiboii
password = my_pw
The response I'm getting is:
{
"errors": {
"invalid_client": "The client credentials are invalid"
}
}
Obviously, I have double checked the creds I'm passing, and experimented with things a bit. Clearly I am missing something. Any assistance would be greatly appreciated.