LogoLogo
  • Overview
    • How to obtain an API key?
  • Webhooks
    • About Webhooks
    • Quickstart Guide
      • Set up your server
      • Creating a webhook
      • Configure your server
      • Review your webhooks
      • Secure webhooks
    • Webhook events
      • About events
      • Event List
    • Troubleshooting
  • REST API
    • Overview
      • Current Version
      • Authentication
      • Pagination
    • Quickstart Guide
      • Find the API key
      • Playground
    • API References
      • Rides
      • Search
      • Customers
      • Drivers
      • Webhooks
      • Auth
    • Errors
      • Error codes
    • Troubleshooting
Powered by GitBook
On this page

Was this helpful?

  1. REST API
  2. API References

Auth

PreviousWebhooksNextErrors

Last updated 2 years ago

Was this helpful?

About the Auth API

The EverTransit Auth API allows you to get the info about the fleet to which the API key used belongs. To make your requests, you can use the endpoint and method listed below.

Endpoints

The Fleet object

{
  "id": "507f191e810c19729de860jk",
  "name": "My Fleet"
}

Attributes

Name
Type
Description

id

string

A unique identifier of the fleet to which the API key belongs.

name

string

The name of the fleet to which the API key belongs.

Retrieve a fleet

API playground for retrieving a fleet
Retrieve fleet info

Retrieves the fleet information.

get

Retrieves the information of the fleet to which the API key used belongs.

Authorizations
Responses
200
The fleet was retrieved successfully.
application/json
401
Unauthorized.
application/json
get
GET /v2beta/auth/me HTTP/1.1
Host: endpoints.evertransit.com
Accept: */*
{
  "id": "507f191e810c19729de860jk",
  "name": "My Fleet"
}
  • About the Auth API
  • The Fleet object
  • Retrieve a fleet
  • GETRetrieves the fleet information.