---
title: "POST /api/access-lists"
method: POST
path: "/api/access-lists"
tags: ["api", "access-lists"]
---

# POST /api/access-lists

`POST /api/access-lists`

Create an Access List

## Request body

- POSTAccessListsCreateAnAccessList
  - `name` string, required — The name of the access list.
  - `http` object — The remote URL of the access list.
    - `url` string, uri, required — The remote URL of the access list.
    - `hmacKey` string — The HMAC key used to sign requests to the remote URL.
  - `type` union — The type of the access list.
    - boolean
    - number
    - object
    - 'static' | 'remote'

## Response `201`

Created

- AccessListResource
  - `_id` string, required — The ID of the access list.
  - `type` union, required — The type of the access list.
    - boolean
    - number
    - object
    - 'static' | 'remote'
  - `sellerId` string, required — The ID of the seller of the access list.
  - `name` string, required — The name of the access list.
  - `http` object — The remote URL of the access list.
    - `url` string, uri, required — The remote URL of the access list.
    - `hmacKey` string — The HMAC key used to sign requests to the remote URL.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

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