Worldticket API DOCUMENTATION

Ticket Confirmation Resource Endpoint

This document explains how to use the /notifications/email endpoint to send and resend ticket confirmation emails.

Base URL

  Production Test
Resend Ticket Confirmation Email https://api.sar.worldticket.cloud/sms-gateway-service https://test-api.worldticket.net/sms-gateway

Endpoint Overview

Endpoint: /notifications/email
Method: POST
Content-Type: application/json

Description:

This endpoint is designed for sending and resending train ticket confirmation emails. It is particularly useful for Online Travel Agency (OTA) support representatives who need to resend the train ticket email in case the passenger does not receive it. This functionality applies only to confirmed bookings with QR codes issued and booking status active.

Request Parameters

Parameter Type Description Example
x-api-key Header Access Token Access token

This endpoint does not accept any parameters in the URL. All necessary data should be included in the request body.

Request Body

The request body must be in JSON format and include the following fields:

Example Request Body

Request Payload
{
  "emails": [
    "test@go7.io"
  ],
  "ccEmails": [],
  "bccEmails": [],
  "recordLocator": "7U3ESF",
  "passengers": [
    {
      "firstName": "PAXTWO",
      "middleName": "JAMES",
      "lastName": "PARKER"
    },
    {
      "firstName": "PAXTWO",
      "middleName": "ALEXANDER",
      "lastName": "PARKER"
    },
    {
      "firstName": "PAXTHREE",
      "lastName": "PARKER"
    }
  ]
}
  

Response

If the request is successful, the endpoint will return a status code of 204 No Content.

Example Response

HTTP/1.1 204 No Content