Performing your first API call
Prerequisites
Before you begin, make sure:
You are a Tiqets' approved distribution partner and have access to our portal. Sign up here.
You've obtained a Distributor API Key.
You have basic knowledge of working with RESTful APIs and JSON.
Authentication
All API requests must include:
"Authorization" header containing the Distributor API key.
Authorization: Token [partner-api-key]"User-Agent" header containing any user agent of your choice.
"User-Agent: my user agent"
Example using cURL:
curl --request GET "https://api.tiqets.com/v2/products" \
--header "Accept: application/json" \
--header "User-Agent: my user agent" \
--header "Authorization: Token [partner-api-key]"For more advanced endpoints such as the Booking API or the Product Change API we also request signing your requests in a secure way. Please make sure to refer to our guide on how to Sign your API requests to our standard. JWT Signing for Secure API Requests
Code Samples
Here are several examples to help you perform your first API call.
Make sure to update the code before running it by inserting your API Key.
Warning: The code samples below are meant for illustrative purposes only!
Please apply best practices in your final product, such as keeping secrets outside of the source code or version control systems.
Last updated
Was this helpful?

