---
title: "Upload call routing media for an inbound integration"
method: POST
path: "/api/public/v1/inbound-integration/{id}/call-routing-media/{purpose}"
tags: ["InboundIntegrationResource"]
---

# Upload call routing media for an inbound integration

`POST /api/public/v1/inbound-integration/{id}/call-routing-media/{purpose}`

## Request

- Base URL: `https://allquiet.app` (the document declares no server; this is the origin it was published from)
- URL: `https://allquiet.app/api/public/v1/inbound-integration/{id}/call-routing-media/{purpose}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/allquiet/apis/all-quiet-public-api/docs/api/public/v1/inbound-integration/:id/call-routing-media/:purpose/post.ts> (a function with typed inputs; its response is checked against the schema)

Uploads an audio file used by call routing (for example a greeting or hold message). The purpose path segment identifies how the media is used in the integration's call flow.

**Required API key permissions**

- **Scope:** `inbound-integrations:update`
- **Accepted key types:** organization API key (org-wide), organization API key (team-scoped), personal access token (org-wide), personal access token (team-scoped)
- **Access:** Access is checked against the specific resource (team or organization reachability).
- **Required team role (user-linked keys only):** Administrator
- Organization API keys are not subject to organization or team role checks.

## Path parameters

- `id` string, uuid, required
- `purpose` string, required

## Request body `multipart/form-data`

- object
  - `file` string, binary

## Response `200`

OK

- AllQuietApiCallRoutingModelsInboundNumberAudioFile
  - `objectKey` string, nullable
  - `fileName` string, nullable
  - `contentType` string, nullable
  - `fileSizeBytes` integer, nullable
  - `durationSeconds` integer, nullable
  - `uploadedAt` string, date-time, nullable
  - `uploadedByUserId` string, uuid, nullable

---

[API](https://skmtc.dev/allquiet/apis/all-quiet-public-api.md) - [All operations](https://skmtc.dev/allquiet/apis/all-quiet-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/allquiet/apis/all-quiet-public-api/revisions/915aa0b1de95?raw)
