# (Deprecated) E-Waybill API Reference

{% hint style="danger" %}

## This API is deprecated

Please use the [E-Waybill APIs from the unified set available here](/cleartax-docs/e-invoicing-api/introduction-to-e-invoicing-api.md).
{% endhint %}

## Environments

ClearTax E-Waybill has 2 environments:

1. Sandbox Environment
2. Production Environment

## 1. Sandbox Environment

For testing, it is recommended to always use the sandbox environment.&#x20;

For API requests to the sandbox environment, use the below information.

### 1.1 API URLs to be used/whitelisted

For API requests to the sandbox environment, use the below information.

<table><thead><tr><th width="150">API Type</th><th>Hostname</th></tr></thead><tbody><tr><td>E-Waybill Deprecated API</td><td>https://ewbbackend-preprodpub-http.internal.cleartax.co/gst</td></tr></tbody></table>

{% hint style="info" %}
Please note that the above URL is for API requests only. The corresponding frontend web application URL where you can log in and verify the data is <https://ewbfrontend-preprodpub-http.internal.cleartax.co/>
{% endhint %}

{% hint style="danger" %}
Sandbox accepts ONLY the following GSTIN as seller, receiver, and consignee. Please do not use other GSTIN.

Seller - 29AEKPV7203E1Z9

Receiver - 29AAACW6288M1ZH

Consignee - 29AAACW4202F1ZM
{% endhint %}

**Port**: 443

**IP**: ClearTax does not use static IP for APIs. You can whitelist the endpoints based on the host.

### **1.2** SSL/TLS Certificate to be downloaded and installed

For detailed information on how to download the host, intermediate, and root certificate&#x73;**,** you can always refer to [How to get SSL Certificate](/cleartax-docs/general/how-to-get-the-ssl-certificate-of-a-host.md). Alternatively, you can also download the certificates directly from the below links.

<table><thead><tr><th width="189.74317817014446">API Type</th><th width="483.66974224980265" data-type="files">Certificate(s)</th></tr></thead><tbody><tr><td>E-Waybill Deprecated API</td><td><a href="/files/-MYxQz3zmSHcyiPOuK5q">/files/-MYxQz3zmSHcyiPOuK5q</a></td></tr></tbody></table>

## 2. Production Environment

### 2.1 API URLs to be used/whitelisted

For API requests to the production environment, use the below information.

<table><thead><tr><th width="268.91575656438044">API Type</th><th width="387.0585821056724">Hostname</th></tr></thead><tbody><tr><td>E-Waybill Deprecated API</td><td>https://ewb.cleartax.in/api</td></tr></tbody></table>

{% hint style="info" %}
Please note that the above URL is for API requests only. The corresponding frontend web application URL where you can log in and verify the data is <https://ewb.cleartax.in/>
{% endhint %}

**Port**: 443

**IP**: ClearTax does not use static IP for APIs. You can whitelist the endpoints based on the host.

### **2.2** SSL/TLS Certificate to be downloaded and installed

For detailed information on how to download the host, intermediate, and root certificate&#x73;**,** you can always refer to [How to get SSL Certificate](/cleartax-docs/general/how-to-get-the-ssl-certificate-of-a-host.md). Alternatively, you can also download the certificates directly from the below links.

<table><thead><tr><th width="189.74317817014446">For hostname</th><th width="483.66974224980265" data-type="files">Certificate(s)</th></tr></thead><tbody><tr><td>E-Waybill Deprecated API                                      (Valid from 1st March 2023, 12:00 AM)                        </td><td><a href="/files/vpusdebMTw6xOMXS06re">/files/vpusdebMTw6xOMXS06re</a><a href="/files/fd9uRhUXU2sHWCILflK0">/files/fd9uRhUXU2sHWCILflK0</a><a href="/files/URv32b4rIZnQ6igYXDtf">/files/URv32b4rIZnQ6igYXDtf</a></td></tr></tbody></table>

## E-Waybill JSON API Reference

The JSON Upload API gives you the ability to upload your documents to ClearTax E-Waybill with a real-time validation check.

{% content-ref url="/pages/-LiqZCyk8J3sVAIEPgHv" %}
[(Deprecated) E-Waybill JSON API Reference](/cleartax-docs/e-waybill-api/e-waybill-api-reference/e-waybill-json-api-reference.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cleartax.in/cleartax-docs/e-waybill-api/e-waybill-api-reference.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
