Skip to main content
Flier

API & Webhooks Documentation

Flier's API manages contacts, campaigns, templates, and email sending through Gmail. Protected endpoints require an authenticated session; mutations also require a CSRF token. Configure webhooks in your account settings to receive campaign event notifications.

API reference overview

The reference below lists the documented endpoints. Expand the interactive reference for request parameters and responses, or download the OpenAPI specification.

Documented Flier API methods and endpoints
MethodEndpointPurpose
GET/api/appwrite/contactsList all contacts
POST/api/appwrite/contactsCreate a new contact
DELETE/api/appwrite/contactsDelete a contact
GET/api/appwrite/campaignsList all campaigns
POST/api/appwrite/campaignsCreate a new campaign
GET/api/appwrite/templatesList all templates
POST/api/appwrite/templatesCreate a new template
PUT/api/appwrite/templatesUpdate a template
DELETE/api/appwrite/templatesDelete a template
POST/api/send-emailSend email campaign
GET/api/activity/campaign-statsGet campaign statistics
POST/api/send-single-emailSend single email
POST/api/upload-attachmentUpload email attachments
GET/api/gdpr/exportExport user data
DELETE/api/gdpr/deleteDelete all user data
GET/api/teamsList all teams
POST/api/teamsCreate a new team

Interactive API reference

New to Flier? Learn how to send a Gmail mail merge or explore the campaign features.