Skip to main content
POST
/
v1
/
sip
/
port
/
document
Upload Port Document
curl --request POST \
  --url https://api.bland.ai/v1/sip/port/document \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{}'
{
  "data": {
    "document_sid": "doc_abc123"
  },
  "errors": null
}

Documentation Index

Fetch the complete documentation index at: https://docs.bland.ai/llms.txt

Use this file to discover all available pages before exploring further.

Headers

authorization
string
required
Your API key for authentication.

Body (Multipart Form Data)

file
file
required
The document file to upload. Accepted formats: PDF, JPEG, PNG, GIF, WebP. Maximum file size: 10MB.This should be a utility bill or carrier invoice dated within the last 30 days that shows the account name, owner/authorized user name, and service address.

Response

document_sid
string
A unique document identifier to reference when initiating the port request.
Example Request
curl -X POST https://api.bland.ai/v1/sip/port/document \
  -H "Authorization: Bearer <token>" \
  -F "file=@/path/to/utility-bill.pdf"
{
  "data": {
    "document_sid": "doc_abc123"
  },
  "errors": null
}

Docs for agents: llms.txt