# (Deprecated) E-Waybill API Reference

{% hint style="danger" %}

## This API is deprecated

Please use the [E-Waybill APIs from the unified set available here](https://docs.cleartax.in/cleartax-docs/e-invoicing-api/introduction-to-e-invoicing-api).
{% 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](https://docs.cleartax.in/cleartax-docs/general/how-to-get-the-ssl-certificate-of-a-host). 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="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZ9fXxeBEm3pJiVldcu%2F-MYxQsVKkLSw5f0i4GDW%2F-MYxQz3zmSHcyiPOuK5q%2FEWB_sandbox.cer?alt=media&#x26;token=29e3b34f-53e6-4c5e-a31a-6458920a809c">EWB_sandbox.cer</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](https://docs.cleartax.in/cleartax-docs/general/how-to-get-the-ssl-certificate-of-a-host). 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="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2F5ALbvb8qYLG68YAdhuSa%2Fwildcard.cleartax.in.cer?alt=media&#x26;token=d945bb6c-38ce-43a5-aec7-a32431419a0f">wildcard.cleartax.in.cer</a><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2Foy4infcXw9NjYwaElAbK%2Fgo-daddy-intermediate.cer?alt=media&#x26;token=7086458f-9b17-4698-bbb2-2d68d346755e">go-daddy-intermediate.cer</a><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FNnj6FutYLX2i2GkCvffw%2Fgo-daddy-root.cer?alt=media&#x26;token=1219fd80-eab1-4dfe-a08c-67c2858c4ba7">go-daddy-root.cer</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="e-waybill-api-reference/e-waybill-json-api-reference" %}
[e-waybill-json-api-reference](https://docs.cleartax.in/cleartax-docs/e-waybill-api/e-waybill-api-reference/e-waybill-json-api-reference)
{% endcontent-ref %}
