---
title: "Add consumer"
method: POST
path: "/v1/kong-admin/consumers"
tags: ["Kong Admin Controller"]
---

# Add consumer

`POST /v1/kong-admin/consumers`

Creates a new consumer

## Request body

- Consumer
  - `id` string
  - `username` string
  - `tags` string[]
  - `created_at` integer
  - `custom_id` string

## Response `200`

Consumer created successfully

- Consumer
  - `id` string
  - `username` string
  - `tags` string[]
  - `created_at` integer
  - `custom_id` string

## Other responses

- `400` — Invalid consumer configuration
- `500` — Internal server error

---

[API](https://skmtc.dev/floik/apis/floik-authentication-server.md) · [All operations](https://skmtc.dev/floik/apis/floik-authentication-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/floik/floik-authentication-server/revisions/2b2a5dad2f5e/schema)
