---
title: "Add IVR prompt"
method: POST
path: "/v2/partition/{partitionId}/account/{accountId}/media"
tags: ["Media"]
deprecated: true
---

# Add IVR prompt

`POST /v2/partition/{partitionId}/account/{accountId}/media`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/account/{accountId}/media`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/account/:accountId/media/post.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Use to add an IVR prompt

## Path parameters

- `accountId` string, required
- `partitionId` string, required

## Request body `multipart/form-data`

- MultipartFormDataInput
  - `file` string, binary

## Response `200`

Successful operation

- string

## Other responses

- `400`: Invalid ID supplied
- `404`: Account or IVR not found

---

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