Authentication

Xeneta's airline data API uses a cookie-based authentication system.

Here is a simplified description of our authentication process:

  1. User makes a request to the /login endpoint with their username and password
  2. Our server validates the credentials and sends back a session cookie as a response
  3. User passes the session cookie in their future API calls to authenticate themselves

Authentication request

POST https://{airline}.useselfie.com/api/selfie/rest_auth/login

Request parameters

ParameterDescription
usernameUser login string
passwordUser password string

Response codes

CodeDescription
200 OKSuccessful login
401 UnauthorizedIncorrect or missing login or password
Xeneta Footer - Fixed