Senders

Endpoints for listing, creating, and deleting senders.

GET https://api.paperarchive.io/v1/senders
Scope:senders:read

List all senders across accessible spaces. Senders are automatically detected from documents by AI or can be manually assigned.

Code examples

curl -X GET "https://api.paperarchive.io/v1/senders" \
  -H "Authorization: Bearer pa_live_abc123def456"
POST https://api.paperarchive.io/v1/senders
Scope:senders:write

Create a new sender in a space.

Request body

NameTypeRequiredDescription
namestring required Sender name.
space_iduuid required Space to create the sender in.

Code examples

curl -X POST "https://api.paperarchive.io/v1/senders" \
  -H "Authorization: Bearer pa_live_abc123def456" \
  -H "Content-Type: application/json" \
  -d '{"name": "Acme Corp", "space_id": "space-uuid-1"}'
DELETE https://api.paperarchive.io/v1/senders/:id
Scope:senders:write

Delete a sender. Only works for senders in spaces accessible by your API key.

Path parameters

NameTypeRequiredDescription
iduuid required The sender ID to delete.

Code examples

curl -X DELETE "https://api.paperarchive.io/v1/senders/sender-uuid-1" \
  -H "Authorization: Bearer pa_live_abc123def456"