Contact
1 operation in the WP Waterfall API.
Send a message to WP Waterfall from the contact form
post/contactPermalink to Send a message to WP Waterfall from the contact form
- Dashboard session only, no API key
No sign-in. Emails the message to the WP Waterfall staff inbox with the sender's address as the reply address, and stores nothing. Limited to 5 messages an hour per address. When Turnstile is on, send the widget token as turnstile_token. A filled honeypot field is accepted and dropped.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string | Send a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422. |
Request body application/json, required, ContactRequest
Fields
| Name | Type | Description |
|---|---|---|
topic | string | One of: general, sales, migration, support. Default: general. |
name required | string | |
email required | string (email) | |
company | string | |
message required | string | |
website | string | The honeypot. People never see it, so it must stay empty. |
turnstile_token | string | The Cloudflare Turnstile token, when the widget is on. |
Responses
| Status | Body | Description |
|---|---|---|
202 | ContactResponse | Received |
400 | Problem | The Turnstile check failed |
409 | Problem | The current state does not allow this: the same change is already running, or another change got there first. |
422 | Problem | A field is missing or not valid |
429 | Problem | Too many messages from this address |
503 | Problem | Mail is not set up on this server |
202 response fields
| Name | Type | Description |
|---|---|---|
received required | boolean |