---
title: "Reciation Upload (Auth)"
method: POST
path: "/api/audio"
tags: ["Recitation"]
---

# Reciation Upload (Auth)

`POST /api/audio`

## Query parameters

- `replace` boolean
- `recitationType` 0 | 1 | 1000 — recitation type

## Response `200`

OK

- UploadSession — Upload Session
  - `id` string, uuid — Id
  - `sessionType` 0 | 1 | 2 — Upload Session Types
  - `user` RAppUser — Application User
    - `id` string, uuid
    - `userName` string, nullable
    - `normalizedUserName` string, nullable
    - `email` string, nullable
    - `normalizedEmail` string, nullable
    - `emailConfirmed` boolean
    - `passwordHash` string, nullable
    - `securityStamp` string, nullable
    - `concurrencyStamp` string, nullable
    - `phoneNumber` string, nullable
    - `phoneNumberConfirmed` boolean
    - `twoFactorEnabled` boolean
    - `lockoutEnd` string, date-time, nullable
    - `lockoutEnabled` boolean
    - `accessFailedCount` integer
    - `firstName` string, nullable — First Name
    - `surName` string, nullable — Sur Name
    - `createDate` string, date-time, required — User Creation Date
    - `status` 0 | 1, required — User Status
    - `rImage` RImage — Image Files
      - `id` string, uuid — Id
      - `originalFileName` string, nullable — Original File Name
      - `contentType` string, nullable — content type
      - `fileSizeInBytes` integer — Original Image File Size In Byte
      - `imageWidth` integer — Original Image Width
      - `imageHeight` integer — Original Image Height
      - `folderName` string, nullable — پوشه محل ذخیره تصویر
      - `storedFileName` string, nullable — نام فایل ذخیره شده با بالاترین کیفیت
      - `dataTime` string, date-time — datetime
      - `lastModified` string, date-time — Last Modified for caching purposes
    - `rImageId` string, uuid, nullable — user image id
    - `nickName` string, nullable — nick name
    - `bio` string, nullable — biography
    - `website` string, nullable — web site
    - `screenName` string, nullable — user screen name
    - `lockoutMessage` string, nullable — if user is locked out purposely as some kind of temporary punishment put the message for him or her here
  - `useId` string, uuid — User Id
  - `uploadStartTime` string, date-time — Upload Start Time
  - `uploadEndTime` string, date-time — Upload End Time
  - `processStartTime` string, date-time — Process Start Time
  - `processEndTime` string, date-time — Process End Time
  - `processProgress` integer — Process Progress
  - `status` 0 | 1 | 2 — Upload Session Process Status
  - `uploadedFiles` UploadSessionFile[], nullable — Uploaded Files
    - `id` string, uuid — Id
    - `uploadSessionId` string, uuid — Upload Session Id
    - `contentDisposition` string, nullable — ContentDisposition
    - `contentType` string, nullable — ContentType
    - `fileName` string, nullable — FileName
    - `length` integer — Length
    - `name` string, nullable — Name
    - `filePath` string, nullable — File Path
    - `mP3FileCheckSum` string, nullable — File check sum for mp3 files
    - `processResult` boolean — Process Result
    - `processResultMsg` string, nullable — Process Result Message

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/ganjoor/apis/rmuseum-api.md) · [All operations](https://skmtc.net/ganjoor/apis/rmuseum-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ganjoor/rmuseum-api/versions/bb8e104d36d2/schema)
