---
title: "Create an authorization"
method: POST
path: "/builder/authorization"
tags: ["Builder authorizations"]
---

# Create an authorization

`POST /builder/authorization`

## Request body

- PersonalMerchandisingAuthorizationCreateModel — Personal merchandising authorization create model
  - `Name` string — Name of the authorization
  - `AuthorizationId` integer — Id of the authorization
  - `AuthorizationType` 'Basic' | 'BearerToken' | 'CustomHeaders' — Type of the authorization
  - `Token` string — Token for the authorization for Bearer authorization type
  - `UserName` string — Username for the authorization for Basic authorization type
  - `Password` string — Password for the authorization for Basic authorization type
  - `Headers` object — Headers for the authorization

## Response `200`

The id of the created authorization

- integer

## Other responses

- `400` — BadRequest

---

[API](https://skmtc.net/tweakwise/apis/frontend-api.md) · [All operations](https://skmtc.net/tweakwise/apis/frontend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tweakwise/frontend-api/revisions/9bd1e2b3633f/schema)
