HTTP / Webhooks
POST SAP documents to any HTTP endpoint or webhook URL. Supports multipart, JSON, and raw binary with configurable auth and retries.
Use Cases
- Trigger custom workflows on document arrival
- Send documents to any REST API
- Integrate with Zapier, Make, or n8n via webhooks
POST SAP documents to any HTTP endpoint or webhook URL. This is the most flexible connector — it works with any system that accepts HTTP requests.
Body Formats
Multipart (default)
POST /your-endpoint HTTP/1.1
Content-Type: multipart/form-data
file: <binary file content>
file_name: invoice-2026.pdf
mime_type: application/pdf
subfolder: 2026/04
JSON (base64)
POST /your-endpoint HTTP/1.1
Content-Type: application/json
{
"file_name": "invoice-2026.pdf",
"mime_type": "application/pdf",
"subfolder": "2026/04",
"content": "<base64-encoded-file>"
}
Raw Binary
PUT /your-endpoint HTTP/1.1
Content-Type: application/pdf
X-File-Name: invoice-2026.pdf
X-Subfolder: 2026/04
<raw binary file content>
Expected Response
FileRelay treats any 2xx status code as success:
200 OK— standard success201 Created— resource created202 Accepted— async processing accepted
Any non-2xx response triggers retries (up to retry_count times with retry_delay between attempts).
Authentication
| Type | Headers Sent |
|---|---|
| None | No auth headers |
| Bearer | Authorization: Bearer <token> |
| Basic | Authorization: Basic <base64(user:pass)> |
| API Key | <custom-header>: <key> (default: X-API-Key) |
Use with Zapier / Make / n8n
Set up a webhook trigger in your automation platform, copy the webhook URL, and paste it as the endpoint URL in FileRelay. Use JSON body format for easiest parsing.
Configuration Fields
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | Required | Endpoint URL |
| method | string | Optional | HTTP method: POST, PUT, or PATCH (default: POST) |
| body_format | string | Optional | Body format: multipart, json, or raw (default: multipart) |
| headers | object | Optional | Custom HTTP headers as key-value pairs |
| retry_count | integer | Optional | Number of retries on failure (default 3) |
| retry_delay | integer | Optional | Delay between retries in ms (default 1000) |
Credentials
| Field | Type | Required | Description |
|---|---|---|---|
| auth_type | string | Optional | Auth type: none, bearer, basic, or api_key |
| token | string | Optional | Bearer token (when auth_type = bearer) |
| username | string | Optional | Username (when auth_type = basic) |
| password | string | Optional | Password (when auth_type = basic) |
| api_key_header | string | Optional | Header name for API key (default: X-API-Key) |
| api_key | string | Optional | API key value |
All credentials are encrypted at rest using envelope encryption.
Ready to set up HTTP / Webhooks?
Create a free account and add this connector in under 2 minutes.