The FlowCRM API connects FlowCRM to your website, your shop or other software. New shop customers then show up as clients in the CRM, another system writes timeline entries, or enquiries from your form arrive as leads in FlowLeads. This article covers the key rules; the API documentation has the details of every endpoint.
The API documentation
The full documentation is at flowsuite.one/en/docs/flowcrm. It is split into sections, among them:
- client, contact and project management
- the timeline and the project timeline
- tasks, metadata and files for clients, contacts and projects
- tags
- leads, lead relations, lead status, lead timeline, lead conversion, lead reports and lead boards
- FlowDocs
Each endpoint comes with a description, parameters and examples. Authentication is explained on the Authentication page. For forms that post straight from your website to FlowLeads without a key, there is a separate FlowLeads API page.
The API address
The FlowCRM API endpoints answer at https://api.flowsuite.one, for example:
https://api.flowsuite.one/clientsfor clientshttps://api.flowsuite.one/contactsfor contactshttps://api.flowsuite.one/projectsfor projectshttps://api.flowsuite.one/leadsfor leads
The previous addresses under https://creativeskyline.de/api/…, such as https://creativeskyline.de/api/clients, keep working. You don't need to change existing integrations.
Authenticating with an API key
Every request needs a key in its header:
Authorization: Bearer <your key>
Accept: application/json
Both a personal key (starting with pk_) and a team API key (starting with at_) are accepted. You find both under FlowSuite API keys. Create a new one there with Create key, with the Read only level if you like. FlowConnect has an overview of the keys of all your products, see API and MCP keys (FlowConnect help, in German).
Treat the key like a password and never put it in publicly visible code, such as your website's JavaScript. Requests to FlowCRM should always come from your server.
Each key may send up to 300 requests per minute.
Rights
A key can do as much as the person or team it belongs to.
- The endpoints for clients, contacts, projects and their FlowDocs need access to FlowCRM.
- The endpoints for leads, lead boards and lead FlowDocs need access to FlowLeads. Without it, the API answers with HTTP 403.
The rights in FlowCRM are explained in FlowCRM rights.
Creating clients without duplicates
When you create a client, FlowCRM first checks whether it already exists: by an external_id you send along, then by the email address. If the client already exists, even archived, you get it back instead of a second one being created. The created field in the response tells you whether a new client was created.
If a client should only disappear from the active list, archive it with status: archived. There is a separate endpoint for GDPR erasure. A client erased that way can't be restored, see GDPR: exporting and erasing client data.
Bringing in leads without duplicates
Forms and integrations sometimes send the same request twice, for example after a dropped connection. To keep that from creating a duplicate lead, send a pair of external_source (such as "website-form") and external_id (such as the request number) when creating it.
If a second call arrives with the same pair, FlowLeads updates the existing lead instead of creating a new one. Only the fields you actually send are overwritten.
FlowLeads also checks every new lead for similar leads, for example with the same phone number. See What does "Possible duplicate" mean on a lead? How leads are handled after that in FlowLeads is described in The lead detail page.
If something goes wrong
- HTTP 401: the key is missing, mistyped or revoked.
- HTTP 403 for leads: the person or team behind the key has no access to FlowLeads.
- HTTP 403 for changes: the key has the Read only level.
- HTTP 409 when creating a client: the email address or
external_idbelongs to a client in the trash. - HTTP 429: more than 300 requests arrived within a minute. Wait a moment and spread out the requests.
- Duplicate leads despite a form ID: check that every call really sends the same pair of
external_sourceandexternal_id.