Through the API, other software creates leads directly in FlowLeads, such as your online shop, a booking tool or an automation. There is also a public form API for building a lead form into your own interface. This page covers what you need for both and how such leads behave in FlowLeads. Every endpoint, field and example is in the API documentation.
The lead API
The lead endpoints are part of the FlowCRM API and documented under FlowCRM API: leads.
- Address:
https://api.flowsuite.one/leads. The previous addresshttps://creativeskyline.de/api/leadskeeps working. - Authentication: every request carries the
Authorization: Bearerheader with a FlowSuite API key. You create the key in FlowConnect, see API and MCP keys (in German). - Right: the person who owns the key needs access to FlowLeads. See Rights and access in FlowLeads.
- Limit: up to 300 requests per minute per key.
With it you can list, create, read, change and delete leads, maintain sources, tags, contact persons and notes, set the status, fetch the pipelines with their stages and the lost reasons, read and add to the timeline, convert a lead into a customer, look up possible duplicates, fetch reports on funnel, assignments and sources and maintain the boards with their columns and cards.
What happens to a lead from the API
- It starts in the Cold stage of your default pipeline, not in the inbox. You set a different stage afterwards through the status endpoint.
- There is no notification, no automatic assignment and no AI analysis.
- On the lead detail page, Show raw data shows what was sent. The field origin says API.
- If it resembles an existing lead, it is still created and marked as Possible duplicate. The API response lists the matches.
Avoid duplicate leads
When creating a lead, send a pair of external_source and external_id, for example the name of your shop and the order number. If the same request comes again, FlowLeads updates the existing lead instead of creating a second one. Only the fields you send change. A search for exactly this pair finds the lead even when it sits in spam.
Set the stage and lost reason
Fetch your team's stages through the pipelines endpoint and the reasons through the lost reasons endpoint. When you set a lead to a lost stage, you can send an active lost reason and a note. Without a reason, the lead appears in the archive under No reason. You do not set the Converted stage directly; the conversion into a customer does that.
Spam leads are left out of the API list unless you explicitly ask for them.
The form API
For lead forms there is a public API without a key, documented under FlowLeads form API. A form is only addressed by its random key, and the responses never contain your team's data.
- Load the form definition with
GET https://api.flowsuite.one/public/flowleads/forms/{key}. It contains the fields and a signed timestamp. - Show the fields in your interface.
- Submit the entries with
POSTto the same address, together with the timestamp and the empty hidden field.
The same protection rules apply as for the snippet:
- The timestamp has to be at least 3 seconds and at most 24 hours old.
- If the hidden field is filled in, the API answers with success but creates no lead.
- Each visitor can submit 10 times per minute, each form 300 times per hour. A request can be at most 32 KB.
- If the form has Allowed websites, the request has to come from one of them.
Every accepted submission becomes a lead with target, assignment, source and tags from the form settings and shows up under Latest submissions in the form editor. How to create a form and embed it more simply with the snippet is explained in Lead forms.