---
title: "Add allowed origin"
method: POST
path: "/me/allowedOrigins"
tags: ["My API credential"]
---

# Add allowed origin

`POST /me/allowedOrigins`

Adds an allowed origin to the list of [allowed origins](https://docs.adyen.com/development-resources/client-side-authentication#allowed-origins) of your API credential.
The API key from the request is used to identify the [API credential](https://docs.adyen.com/development-resources/api-credentials).

You can make this request with any of the Management API roles.

## Request body

- CreateAllowedOriginRequest
  - `_links` Links
    - `self` LinksElement, required
      - `href` string
  - `domain` string, required — Domain of the allowed origin.
  - `id` string — Unique identifier of the allowed origin.

## Response `200`

OK - the request has succeeded.

- AllowedOrigin
  - `_links` Links
    - `self` LinksElement, required
      - `href` string
  - `domain` string, required — Domain of the allowed origin.
  - `id` string — Unique identifier of the allowed origin.

## Other responses

- `400` — Bad Request - a problem reading or understanding the request.
- `401` — Unauthorized - authentication required.
- `403` — Forbidden - insufficient permissions to process the request.
- `422` — Unprocessable Entity - a request validation error.
- `500` — Internal Server Error - the server could not process the request.

---

[API](https://skmtc.net/adyen/apis/management-api.md) · [All operations](https://skmtc.net/adyen/apis/management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/adyen/management-api/revisions/1089ade06e17/schema)
