API REST & Webhooks

ReceiveIt API

Integrate file reception into your applications with our secure and documented REST API.

REST JSON
Upload direct S3
Webhooks temps réel
Bearer Auth
01Authentification

Authentication

The ReceiveIt API uses API key authentication. All requests must include your API key in the header.

API Key

Your API key is available in your dashboard. It must be included in all HTTP requests.

http
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

Free Plan

1 000

req/day

Pro Plan

10 000

req/day

Enterprise Plan

Sur mesure

Unlimited

02Endpoints

API Endpoints

POST
/api/v1/pages

Create an Upload Page

Create a new custom upload page

Request Body

json
{
  "name": "My upload page",
  "description": "Page description",
  "logo_url": "https://example.com/logo.png",
  "primary_color": "#3B82F6",
  "secondary_color": "#8B5CF6",
  "welcome_message": "Welcome to our upload page",
  "max_file_size": 10485760,
  "allowed_extensions": ["jpg", "png", "pdf"],
  "expires_at": "2024-12-31T23:59:59Z"
}

Response

json
{
  "success": true,
  "data": {
    "id": "page_123456",
    "name": "My upload page",
    "url": "https://receiveit.io/upload/abc123",
    "created_at": "2024-01-15T10:30:00Z",
    "status": "active"
  }
}
GET
/api/v1/pages

List Pages

Retrieve the list of all your upload pages

Query Parameters

text
?page=1&limit=20&status=active&search=name

Response

json
{
  "success": true,
  "data": {
    "pages": [
      {
        "id": "page_123456",
        "name": "My upload page",
        "url": "https://receiveit.io/upload/abc123",
        "status": "active",
        "file_count": 15,
        "created_at": "2024-01-15T10:30:00Z"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 20,
      "total": 45
    }
  }
}
GET
/api/v1/pages/{page_id}/files

Retrieve Files

List all files received on a page

Query Parameters

text
?page=1&limit=50&sort=created_at&order=desc

Response

json
{
  "success": true,
  "data": {
    "files": [
      {
        "id": "file_789012",
        "name": "document.pdf",
        "size": 2048576,
        "type": "application/pdf",
        "url": "https://receiveit.io/files/abc123",
        "uploaded_at": "2024-01-15T14:30:00Z",
        "uploader_ip": "192.168.1.1"
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 50,
      "total": 125
    }
  }
}
03Événements temps réel

Webhooks

Receive real-time notifications when files are uploaded to your pages.

file.uploaded

Api.webhooks.events.fileUploaded.title

Api.webhooks.events.fileUploaded.description

page.created

Api.webhooks.events.pageCreated.title

Api.webhooks.events.pageCreated.description

file.downloaded

Api.webhooks.events.fileDownloaded.title

Api.webhooks.events.fileDownloaded.description

Example Webhook Payload

json
{
  "event": "file.uploaded",
  "timestamp": "2026-03-18T10:30:00Z",
  "data": {
    "file_id": "file_abc123",
    "page_id": "page_xyz789",
    "filename": "catalogue-print-v2.pdf",
    "size": 14857600,
    "mime_type": "application/pdf",
    "download_url": "https://cdn.receiveit.io/files/file_abc123"
  }
}
04SDK & Snippets

Code Examples

Create an upload page via API in just a few lines in your preferred language.

bash
curl -X POST https://api.receiveit.io/v1/pages \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Dépôt client — Campagne Printemps",
    "description": "Déposez vos fichiers HD au format PDF ou TIFF",
    "max_file_size": 5368709120
  }'

Ready to get started?

Generate your API key from the dashboard and test your first requests for free.