---
title: "Create Resource"
method: POST
path: "/api/v1/resources"
tags: ["Resources"]
---

# Create Resource

`POST /api/v1/resources`

## Request body

- object
  - `resource` ResourceClientInsertSchema, required
    - `slug` string, required
    - `name` string, required
    - `active` boolean

## Response `200`

Successful response

- object
  - `resource` ResourceClientSelectSchema, required
    - `id` string, required
    - `createdAt` integer, required — Epoch milliseconds.
    - `updatedAt` integer, required — Epoch milliseconds.
    - `livemode` boolean, required
    - `organizationId` string, required
    - `pricingModelId` string, required
    - `slug` string, required
    - `name` string, required
    - `active` boolean, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `500` — Internal server error

---

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