> For the complete documentation index, see [llms.txt](https://docs.giga.store/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.giga.store/webhooks/country-change.md).

# Country Change

Gigastore sends a response every time that the eSIM connects to a new country. The response comes with the IMSI, ICCID and the previous and new country where the eSIM is connecting to. You can determine if the eSIM is connecting for the first time when the response sends "**null**" on the previousCountry field.

{% hint style="info" %}
Please add your server URL on [Gigastore](https://dent.giga.store/#/api). \
Only **HTTPS** server URLs are allowed.&#x20;
{% endhint %}

### Request Parameters <a href="#response-parameters" id="response-parameters"></a>

| Attribute       | Type   | Example              | Info                                                                     |
| --------------- | ------ | -------------------- | ------------------------------------------------------------------------ |
| imsi            | string | 123456789012345      |                                                                          |
| iccid           | string | 12345678901234567890 |                                                                          |
| previousCountry | string | DE                   | The request will send "null", when the eSIM connects for the first time. |
| newCountry      | string | US                   |                                                                          |

#### Sample Request <a href="#sample-response" id="sample-response"></a>

```
{
    "imsi": "123456789012345",
    "iccid": "12345678901234567890",
    "previousCountry": null,
    "newCountry": "DE"
}
```
