---
title: "Creates a builder authorization"
method: POST
path: "/builder/authorization"
tags: ["Builder authorizations"]
---

# Creates a builder authorization

`POST /builder/authorization`

## Request

- The document declares no server URL.
- Auth: API key in header `TWN-InstanceKey` and API key in header `TWN-Authentication`

## Request body

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

## Response `200`

OK

- integer

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/tweakwise/apis/app-api.md) - [All operations](https://skmtc.dev/tweakwise/apis/app-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tweakwise/apis/app-api/revisions/dc936bf76941?raw)
