---
title: "Create agency service"
method: POST
path: "/api/agency-services"
tags: ["AgencyServices"]
---

# Create agency service

`POST /api/agency-services`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/agency-services`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/agency-services/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new agency service with the specified name and service type

## Request body

- AgencyServiceCreateRequest
  - `name` string
  - `service_type_id` integer

## Response `200`

Service Type details.

- AgencyServicesResource
  - `id` integer
  - `name` string
  - `service_type` AgencyServicesTypeResource[]
    - `id` integer
    - `name` string

---

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