How do I assign a gate using the SAPI gateAssign API?

Created by SayIntentions Support, Modified on Fri, 8 Aug at 4:53 PM by SayIntentions Support

First, you'll need the pilot's API key (the pilot can obtain this from the pilot portal, under their accounts page. It can also be obtained automatically from the flight.json file in the main application data folder).


Next, issue a simple HTTP GET request with the "api_key", the airport, and the requested gate


Example: 


GET https://apipri.sayintentions.ai/sapi/assignGate?api_key={key}&gate=A21&airport=KATL


"gate" can be a free-form text string describing the gate you would like.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article