# Versioning

When backwards-incompatible changes are made to the API, a new, dated version is released. A change is considered backwards-incompatible when under the following conditions:

* Resources or fields are removed from responses
* The meaning (`Type`) of an attribute changes

Note that the version of an API does not increase when new resources are added or when new fields are added to a resource. Read our API upgrades guide to see our [API changelog](broken://spaces/RnLJYNhGbpDCQOrCFmiI/pages/OF6XRIr0fLuXmIIqWC50) and to learn more about backwards compatibility.

All requests use your [account API settings](https://app.impact.com/secure/advertiser/accountSettings/techintegration/adv-wsapi-flow.ihtml), unless you override the API version. The changelog lists every available version.

To set the API version on a specific request, you can add the `Ir-Version` querystring parameter or `IR-Version` header.

You can visit your [account API settings](https://app.impact.com/secure/advertiser/accountSettings/techintegration/adv-wsapi-flow.ihtml) to upgrade your API version. As a precaution, use API versioning to test a new API version before committing to an upgrade.

#### Versioning Examples

{% tabs %}
{% tab title="cURL" %}

```bash
curl 'https://api.impact.com/Agencies/<AccountSID>/CompanyInformation' \
	-d 'Ir-Version=2' \
	-G
```

{% endtab %}
{% endtabs %}


---

# 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://integrations.impact.com/agency-v3/agency-v2/readme/versioning.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.
