Ticket documents

Resend the confirmation emails and download the tickets
View as Markdown

Once a booking is ticketed, you can resend the confirmation emails and download the ticket PDFs. These run on the notification and ticket services, not the OTA endpoint, so they use their own URLs and do not take a local-name header. They still authenticate with your x-api-key or JWT.

Resend the ticket email

POST /sms-gateway-service/notifications/email sends the ticket confirmation again. Give the record locator and the recipients. A successful call returns 204 No Content.

$curl -X POST https://api.sar.worldticket.cloud/sms-gateway-service/notifications/email \
> -H "x-api-key: YOUR_API_KEY" \
> -H "Content-Type: application/json" \
> -d '{
> "emails": ["[email protected]"],
> "ccEmails": [],
> "bccEmails": [],
> "recordLocator": "N6G2NW",
> "passengers": [
> { "firstName": "BARAA", "lastName": "BUKHARI" },
> { "firstName": "SARA", "lastName": "BUKHARI" }
> ]
> }'

Resend the cancellation email

POST /sms-gateway-service/notifications/cancellation-email resends the cancellation notice. Give the record locator, the recipients, and the cancelled segments. It returns 204 No Content. The cancel operation already sends this email on its own; use this only when you need to send it again.

$curl -X POST https://api.sar.worldticket.cloud/sms-gateway-service/notifications/cancellation-email \
> -H "x-api-key: YOUR_API_KEY" \
> -H "Content-Type: application/json" \
> -d '{
> "emails": ["[email protected]"],
> "ccEmails": [],
> "bccEmails": [],
> "recordLocator": "N6G2NW",
> "segments": [
> { "flightDesignator": "HHR0141", "departure": "JXD", "arrival": "MKX", "departureDate": "2026-05-20" }
> ]
> }'

Download all tickets

GET /sms-gateway-service/tickets/confirmation/{rloc}/download returns every ticket for the booking as a ZIP of PDFs. Put the record locator in the path.

$curl "https://api.sar.worldticket.cloud/sms-gateway-service/tickets/confirmation/N6G2NW/download" \
> -H "x-api-key: YOUR_API_KEY" \
> --output tickets.zip

Download one ticket

GET /sms-gateway-service/tickets/confirmation/{bookingReference}/download/passenger-segment returns a single ticket PDF. Identify it with the ticket number and coupon number, which you get from the ticketing response.

$curl "https://api.sar.worldticket.cloud/sms-gateway-service/tickets/confirmation/N6G2NW/download/passenger-segment?ticketNumber=3333330058951&couponNumber=1" \
> -H "x-api-key: YOUR_API_KEY" \
> --output ticket.pdf

For the full parameters, including the mode option on the download, see the GO7 download_tickets page.