Skip to main content
POST
/
api
/
v1
/
phone-numbers
/
documents
Upload a compliance document
curl --request POST \
  --url https://{subdomain}.mihu.ai/api/v1/phone-numbers/documents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'customer_reference=<string>'
{
  "success": true,
  "message": "<string>",
  "data": {
    "document_id": "<string>",
    "filename": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Body

multipart/form-data
file
file
required

The document binary. Common types: PDF, JPEG, PNG. Max 10 MB. Files are uploaded to the carrier and discarded locally.

customer_reference
string

Optional label kept with the document for your own audit trail. Defaults to Phone number compliance YYYYMMDDHHMMSS if omitted.

Response

Uploaded

success
boolean

Indicates whether the request completed successfully. True for successful responses; false for documented error responses.

message
string

Human-readable response message. Safe to display in logs or simple client notifications; use structured fields for program logic.

data
object