> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zapier.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Change authentication field keys

## Change scenario

You want to change the key of one or more [authentication input fields](/integrations/build/basicauth#1-build-an-input-form) required when a user authenticates your app to Zapier.

## Impact to users

This is a **breaking change**.

Modifying the key of an existing authentication field constitutes a breaking change. Without adequate precautions, existing app connections may break as [migration](/integrations/manage/migrate) is not possible. Users will need to establish a new connection to your integration and manually refresh each of their Zaps.

## Best practices

We strongly encourage you to **avoid changing authentication field keys** whenever possible.

### Workaround

If your API endpoint requires a different property for authentication, think about adjusting the property key rather than amending the form field input's key. This modification must be made in each trigger, action, search request, as well as in the authentication.

> NOTE: Form field input keys do not need to match directly with the properties your API expects.

For example, let's say you have a form field input with the key `API-KEY`and are sending the field's value to your API using the same property name of `API-KEY`.

<Frame>
  <img src="https://mintcdn.com/zapier-82f0e938/2ebL4bG5uJP5JVc0/images/daef0487a89a2cbb17ec719cbbd50577.webp?fit=max&auto=format&n=2ebL4bG5uJP5JVc0&q=85&s=129a0860b6aeb5862331af556cf50d9f" width="1149" height="211" data-path="images/daef0487a89a2cbb17ec719cbbd50577.webp" />
</Frame>

```bash theme={null}
headers: {
  "API-KEY": bundle.authData.api_key; // original
}
```

Next, your API changes and expects the request property to be `X-API-KEY` instead. You can change the request property key (left) as needed. But still refer to the original form field input (right).

<Frame>
  <img src="https://mintcdn.com/zapier-82f0e938/2ebL4bG5uJP5JVc0/images/bf4cdfe3183752e0e57707001260e9e3.webp?fit=max&auto=format&n=2ebL4bG5uJP5JVc0&q=85&s=b92ffe70c46b27082fe3b1f3649c8f00" width="1150" height="207" data-path="images/bf4cdfe3183752e0e57707001260e9e3.webp" />
</Frame>

```bash theme={null}
headers: {
  "X-API-KEY": bundle.authData.api_key; // new - request key and field key can differ
}
```

***

*Need help? [Tell us about your problem](https://developer.zapier.com/contact) and we'll connect you with the right resource or contact support.*
