Testing your API key

Testing your API key

You can use the /auth/test endpoint to check that you are formatting your request correctly and that your API key is valid.

$ curl -X GET "https://onfleet.com/api/v2/auth/test" \
       -u "cd3b3de84cc1ee040bf06512d233719c:"
{
  "message": "Hello organization 'yAM*fDkztrT3gUcz9mNDgNOL' hitting Onfleet from 188.15.204.82"
}