# E-Waybill GSP API Reference

## Environments

ClearTax E-Waybill GSP has 2 environments:

1. Sandbox Environment
2. Production Environment

## 1. Sandbox Environment

For testing, it is recommended to always use the sandbox environment. To create an account, contact our sales representative.

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

{% hint style="danger" %}
Sandbox accepts ONLY some specific GSTIN as seller, receiver and consignee. Please do not use other GSTIN. [See the list of accepted GSTINs](getting-started-with-gsp-ewb-api/sandbox-gstin-for-ewb-gsp).
{% endhint %}

### **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 width="387.0585821056724">Hostname</th><th>IP</th></tr></thead><tbody><tr><td>EWB GSP</td><td><code>https://api-sandbox.clear.in</code></td><td>75.2.104.91 AND 99.83.130.139</td></tr></tbody></table>

**Port**: 443

### **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](../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>EWB GSP</td><td><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FiByV9tZ3xaWuR5mR7fut%2Fwildcard.clear.in.cer?alt=media&#x26;token=156e5ec5-be34-41cb-a06d-106e4996a33b">wildcard.clear.in.cer</a><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FO1Tqmqn8RKSxc3x1n8ms%2Fgo-daddy-intermediate.cer?alt=media&#x26;token=4bde8761-5841-4967-b1bf-a438d01002e5">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%2FWc4npsLtUX6O9mQ0TMJk%2Fgo-daddy-root.cer?alt=media&#x26;token=331dd43e-fa1d-46c1-9cc9-aa88d5e19214">go-daddy-root.cer</a></td></tr></tbody></table>

**Sandbox Public Key**

```bash
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2PkhjvWu+lDEv/ane+uV
N44MAZBhWn2Xbr5zEu7h9LpXJXhrwKYhtvWR6YmjAR4AcXDwA3P74Hjc8/jsW92Q
5B4ddXJrRbsU3lac1GhjCNma31FlW7Mpjr5eqPNTuImJr1WgDR9iRuCFYt4enRkv
fywdnDa++QK6fdjS4/kssJxlEXBtlXKoFuSBGjbf0JA56qHo8yqXoYoqgl9Z7e9X
8GZv6soB1JDH9dxMmaqEwsxaonDG+8NdR2RcYeJAnx2s/PBokpbCVPCQiSD5mmYW
SZePF7L4mqvYS7ByrIj1cBH8qq6TafTcLkrr/TiZjpAADPwuynQDE120BpFaqIEq
lQIDAQAB
-----END PUBLIC KEY-----
```

## 2. Production Environment

Once you have completed testing, you can move to production. To create an account, contact our sales representative.

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

### **2.1** API URLs to be used/whitelisted

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

<table><thead><tr><th width="150">API Type</th><th width="387.0585821056724">Hostname</th><th>IP</th></tr></thead><tbody><tr><td>EWB GSP</td><td><code>https://api.clear.in</code></td><td>13.248.191.113 AND 76.223.59.133</td></tr></tbody></table>

**Port**: 443

### 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](../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>EWB GSP</td><td><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FiByV9tZ3xaWuR5mR7fut%2Fwildcard.clear.in.cer?alt=media&#x26;token=156e5ec5-be34-41cb-a06d-106e4996a33b">wildcard.clear.in.cer</a><a href="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FO1Tqmqn8RKSxc3x1n8ms%2Fgo-daddy-intermediate.cer?alt=media&#x26;token=4bde8761-5841-4967-b1bf-a438d01002e5">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%2FWc4npsLtUX6O9mQ0TMJk%2Fgo-daddy-root.cer?alt=media&#x26;token=331dd43e-fa1d-46c1-9cc9-aa88d5e19214">go-daddy-root.cer</a></td></tr></tbody></table>

**Production Public Key**

```bash
-----BEGIN PUBLIC KEY-----
 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjo1FvyiKcQ9hDR2+vH0+
 O2XazuLbo2bPfRiiUnpaPhE3ly+Pwh05gvEuzo2UhUIDg98cX4E0vbfWOF1po2wW
 TBxb8jMY1nAJ8fz1xyHc1Wa7KZ0CeTvAGeifkMux7c22pMu6pBGJN8f3q7MnIW/u
 SJloJF6+x4DZcgvnDUlgZD3Pcoi3GJF1THbWQi5pDQ8U9hZsSJfpsuGKnz41QRsK
 s7Dz7qmcKT2WwN3ULWikgCzywfuuREWb4TVE2p3e9WuoDNPUziLZFeUfMP0NqYsi
 GVYHs1tVI25G42AwIVJoIxOWys8Zym9AMaIBV6EMVOtQUBbNIZufix/TwqTlxNPQ
 VwIDAQAB
 -----END PUBLIC KEY-----
```
