# 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"
}
```


---

# 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.giga.store/webhooks/country-change.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.
