Authenticating to Fuelly API - Fuelly Forums

Click here to see important news regarding the aCar App

Go Back   Fuelly Forums > Fuelly Community Support > Fuelly Web Support and Community News
Today's Posts Search Click Here to Login
Reply
 
Thread Tools Display Modes
 
Old 03-02-2024, 08:42 PM   #1
 
Join Date: Jan 2020
Posts: 1
Country: United States
Authenticating to Fuelly API

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.
skiboii is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


» Fuelly iOS Apps
Powered by vBadvanced CMPS v3.2.3


All times are GMT -8. The time now is 09:37 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.