Quick Start
Get your API keys
Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.
You can get your API keys from our support team, contact us here: https://www.flylogs.com/pages/contact.
Make your first request
To make your first request, send an authenticated request to the users login url. This will store a session token in the database that you will need to send in each following requests.
Log into a users account.
POST
https://www.flylogs.com/users/login.json
This is the first call required to use any other functions.
Request Body
Name
Type
Description
email*
string
Valid email address of an existing user in your company.
password*
string
The user password.
code
int
2FA code
{
"response": {
"result": true,
"two_factor": null
"message": null,
"url": "/users",
"token": "kub0bmm3immamk6q1brojrq527"
}
}
Take a look at how you might call this method using our official libraries, or via curl
:
curl https://www.flylogs.com.com/users/login.json
-u YOUR_API_KEY:
-d email='[email protected]'
-d species='Secret-Password'
-d code=''
Last updated
Was this helpful?