Skip to content
View as Markdown
Enter your site to enable Send. Requests are sent from your browser, so the site must allow cross-origin calls (CORS).

POST Export Contact Notes​

POST
/exports/notes

Download a contact's (or company's) notes as a CSV.

This is a POST-only attachment endpoint: submit it as a form (application/x-www-form-urlencoded) including a _wpnonce REST nonce. The server verifies the nonce, then streams the file and ends the request, so use it from a browser form or download link, not as a JSON API.

Required capability: fcrm_manage_contacts_export

Enforced by ExportPolicy::verifyRequest(), the policy default for this route group.

Requires: FluentCampaign Pro. Without it the route does not exist.

Authorizations​

ApplicationPasswords

WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password

Type
API Key (header: Authorization)

Request Body​

application/x-www-form-urlencoded
object

Contact (or company) ID whose notes are exported.

subscribers (default) for contact notes or companies for company notes.

Valid values"subscribers""companies"
Default"subscribers"

A wp_rest nonce (wp_create_nonce('wp_rest')). Required — without a valid one the route returns 403 before any data is read. The admin UI submits it in a temporary form body so it never appears in a URL.

Responses​

The export streams back as a file attachment ({subscriber_id}-contact-notes-<date>.csv); the response is not wrapped in the usual JSON envelope.

text/csv

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI