FileRelay
Documentation
Try for Free

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 success
  • 201 Created — resource created
  • 202 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

FieldTypeRequiredDescription
urlstringRequiredEndpoint URL
methodstringOptionalHTTP method: POST, PUT, or PATCH (default: POST)
body_formatstringOptionalBody format: multipart, json, or raw (default: multipart)
headersobjectOptionalCustom HTTP headers as key-value pairs
retry_countintegerOptionalNumber of retries on failure (default 3)
retry_delayintegerOptionalDelay between retries in ms (default 1000)

Credentials

FieldTypeRequiredDescription
auth_typestringOptionalAuth type: none, bearer, basic, or api_key
tokenstringOptionalBearer token (when auth_type = bearer)
usernamestringOptionalUsername (when auth_type = basic)
passwordstringOptionalPassword (when auth_type = basic)
api_key_headerstringOptionalHeader name for API key (default: X-API-Key)
api_keystringOptionalAPI 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.

Get Started Free