Skip to content

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

NameInTypeDescription
Idempotency-Key requiredheaderstringSend 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

NameTypeDescription
topicstringOne of: general, sales, migration, support. Default: general.
name requiredstring
email requiredstring (email)
companystring
message requiredstring
websitestringThe honeypot. People never see it, so it must stay empty.
turnstile_tokenstringThe Cloudflare Turnstile token, when the widget is on.

Responses

StatusBodyDescription
202ContactResponseReceived
400ProblemThe Turnstile check failed
409ProblemThe current state does not allow this: the same change is already running, or another change got there first.
422ProblemA field is missing or not valid
429ProblemToo many messages from this address
503ProblemMail is not set up on this server

202 response fields

NameTypeDescription
received requiredboolean