Skip to main content

Overview

With the Flixer API you can send leads from your website straight into Flixer. A lead can contain:
  • Customer details - The customer’s contact information (required)
  • Work item details - A description of the requested work (required)
  • Address details - Where the job needs to be carried out (optional)
Address details are optional. This means you can also create leads that only contain name/email/phone, such as with Meta/Facebook Lead Ads and the CSV import. An address is only created when street, postalCode, and city are all provided; a partial address is ignored.

Endpoint

Required scope: leads:write

Request fields

Address (optional)

The full address is optional. If you want to attach an address, provide street, postalCode, and city together — otherwise the address is ignored and the lead gets addressId: null. ¹ Only required if you want to create an address: street, postalCode, and city are all three needed or none at all.

Customer (required)

If companyName is filled in, the customer is registered as a business customer.

Work item (required)

Priority values: low, medium, high, urgent (default: medium)

Lead without an address

Do you only have name/email/phone (such as with Meta/Facebook Lead Ads or a CSV import)? Then simply leave out the address fields. The lead is created with addressId: null.
cURL

Full example

Response

On success you receive the created lead:
The response contains the full work item object. In addition to the fields above, fields such as category, budgetQuote, notes, estimatedCost, finalCost, tags, scheduledStart/scheduledEnd, updatedAt, createdBy, and updatedBy are also returned (empty/null if they do not apply). If no (complete) address was provided, addressId is null.
Store the id of the created lead if you want to look up its status later.

Error handling

The request is validated server-side. Missing required fields (customerName, title) or invalid values are rejected with a 400 Bad Request; the message field in the response describes what went wrong.
See Error handling for all error codes.