sendOTP

Request an OTP for a customer

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Important

This method cannot retrieve customers' password from other airlines.

Request parameters

ParameterTypeDescription
emailE-mail*The customer email
langcodeString*Language code to send OTP email
❗️

  • Mandatory parameters

Response

This method will respond with a list of customers, including personal details and additional information.

ParameterTypeDescription
statusStringaccepted / throttled ( a limit was hit, or the email is locked)
otptokenStringRequest token (to be used in webLogin)
validforIntegerCode lifetime in seconds (120 to 300)
retryafterIntegerSeconds before another code can be requested
Body Params
json
required

The method accepts the XML / JSON input as POST, response format will be according to the sent format. You can try JSON, put the post in the following input and click "Try It"

Headers
string
required

ID provide to you by AeroCRS

string
required

Password provided to you by AeroCRS

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json