---
search:
  tags:
    - End users
    - PUT
seo:
  description: >-
    For an integration whose auth.kind is api_key:… Reference for the PUT
    /api/v2/end-users/{endUserId}/connections/{integration} endpoint in the
    Anlyon API.
sidebar:
  label: Store an end user's API key
  badge: PUT
title: Store an end user's API key
type: openapi-operation
---
For an integration whose `auth.kind` is `api_key`: store the end user's own key. It is checked first with the provider's own read-only check when the catalogue has one; a key the provider refuses is not stored (`CONNECTION_KEY_REJECTED`). It is encrypted like a connected account's token, replaces the end user's previous key for the integration, and is never returned. No confirmation step: your server supplies the key. At most 10 keys per minute per end user.

`PUT /api/v2/end-users/{endUserId}/connections/{integration}`
