---
title: "Initiate file upload"
method: POST
path: "/blobs/uploads"
tags: ["Blobs"]
---

# Initiate file upload

`POST /blobs/uploads`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/blobs/uploads`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/blobs/uploads/post.ts> (a function with typed inputs; its response is checked against the schema)

Initiate a file upload. This endpoint can be used to create resumable uploads.

## Query parameters

- `filename` string: The name of the file.
- `temporary` boolean: When uploading temporary files, set the parameter to `true`.

## Response `202`

Accepted

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
