REST Resources
All endpoints are under https://floatmessage.com/api/v1 and require a Bearer API key. Domain-scoped endpoints accept an optional ?domain= parameter. For machine-readable details, see the OpenAPI spec or the API Explorer.
Account
/meCurrent account, plan, and the resolved domain.
Messages (domain-scoped)
/messagesList floating messages. ?archived=true for the archive.
/messagesCreate a message (name, template, htmlContent, targeting, schedule).
/messages/{id}Get a single message.
/messages/{id}Partial update of any message field.
/messages/{id}Archive, or ?permanent=true to delete an archived message.
Landing Pages
/landing-pagesList landing pages.
/landing-pagesCreate from a template (templateId, name, brand).
/landing-pages/{id}Get a single landing page.
/landing-pages/{id}Update title, brand, sections, lead form.
/landing-pages/{id}/publishRecompile and publish.
/landing-pages/{id}/unpublishTake a page offline.
/landing-pages/{id}/leadsList lead-form submissions.
Domains
/domainsList domains with message counts.
/domainsAdd a domain (subject to plan limits).
/domains/{id}Remove a domain and all its data.
Knowledge base (domain-scoped)
/knowledgeList knowledge items.
/knowledgeAdd a note or URL (scraped on create).
/knowledge/{id}Get a knowledge item.
/knowledge/{id}Update title, content, enabled, position.
/knowledge/{id}Delete a knowledge item.
Submissions & Analytics (domain-scoped)
/form-submissionsList form submissions. ?messageId= to filter.
/survey-responsesList survey responses. ?messageId= to filter.
/analyticsEvent summary. ?from=&to=&messageId= optional.
Live Chat (domain-scoped)
/conversationsList conversations. ?status=OPEN|CLOSED.
/conversations/{id}Get a conversation.
/conversations/{id}/messagesList messages in a conversation.
/conversations/{id}/messagesSend an owner reply ({ content }).
Example: send a chat reply
curl -X POST \
https://floatmessage.com/api/v1/conversations/CONV_ID/messages \
-H "Authorization: Bearer fm_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"content":"Thanks for reaching out - happy to help!"}'