---
title: "Create a sponsor. Roles: admin."
method: POST
path: "/api/sponsors"
tags: ["Sponsors"]
---

# Create a sponsor. Roles: admin.

`POST /api/sponsors`

## Request body

- SponsorRequest
  - `membershipId` integer
  - `detail` string
  - `imageUuid` string, uuid
  - `targetLinkUrl` string
  - `title` string, required

## Response `200`

OK

- SponsorResponse
  - `success` boolean
  - `error` string
  - `sponsor` Sponsor
    - `sponsorId` integer
    - `membershipId` integer, required
    - `detail` string
    - `imageUuid` string, uuid
    - `targetLinkUrl` string
    - `title` string, required
    - `audit` Audit
      - `createdTime` string, date-time
      - `modifiedTime` string, date-time
      - `modifiedBy` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

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