Auth

Authenticates the user.

Syntax

Password Authentication

              <Auth> 
   <Login> 
      <company>example</company> 
      <user>mcollins</user> 
      <password>openair_password</password>
   </Login>
</Auth> 

            

OAuth 2.0 Access Token Authentication

              <Auth> 
   <Login> 
      <access_token>0123456789-ABCDEFGHIJKLMNIOQRSTUVWXYZ0123456789ABCDEF-ABCDEFGHIJKLMNIOQRSTUVWXYZ01234567</access_token>
   </Login>
</Auth> 

            

Usage

Use the Auth command to authenticate the user. The Auth XML command is required at the top of every XML API call for other commands to succeed.

The XML API supports the following authentication methods:

Important:

An invalid OAuth2 access token authorization has priority over a valid password or client session ID authentication. You cannot use password or client session ID authentication as a fallback for an invalid access token. See Using OAuth 2.0 Access Tokens in Your API Requests.

Arguments

Name

Type

Description

Login

Login

A Login object.

Response

A success or fail status. Success is required for other commands to complete successfully.