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.

Please note that depending on your access level you'll be able to use different API endpoints.

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]"

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.

Last updated

Was this helpful?