The Firmado API.
Every endpoint an API key can call: what it does, its parameters, what it returns and an example. Built from the API itself, so it always says what the API accepts; responses come from what it answers in its tests.
Authentication
Create a key in Settings → API keys and send it in the X-Api-Key header, or as Authorization: Bearer fmd_.... Each key works on its organization only, with the permissions you gave it per feature: read, create, update and delete. The action comes from the method: GET reads, POST creates, PUT and PATCH update, DELETE deletes, unless an endpoint says otherwise.
curl https://api.firmado.app/v1/contacts \
-H "X-Api-Key: fmd_..."Errors
Every refusal has the same body, with a stable code to act on and a message for people:
{
"error": {
"code": "CONTACT_LIMIT_REACHED",
"message": "Your plan's contacts are used up.",
"details": { "limit": 1000 }
}
}400- The input failed validation (
VALIDATION_ERROR, with the issues indetails), or the action does not apply. 401- No key, or the key is revoked or expired.
402- Your plan does not include it, or an allowance is used up (
*_LIMIT_REACHED). 403- The key lacks the permission for this feature and action.
404- Not found in this organization.
409- It conflicts with what exists, like a reference already used.
429- Too many requests: wait for
Retry-Afterseconds.
Rate limit
All keys of an organization share the requests per minute of its plan. Every answer carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset.
Conventions
- Money is in integer minor units:
1500is 15.00 in the record's currency. - Dates and times are ISO 8601. Ids are UUIDs.
- Lists are paged with
pageandpageSize(up to 100), and many can be searched withq.
Webhooks
Webhooks send events as they happen, signed in the Firmado-Signature header. Each feature's page lists its events. See Webhooks to set them up.
OpenAPI
The whole reference is an OpenAPI 3.1 file: import it into Postman, Insomnia or a code generator.
Download openapi.json ↓Endpoints by feature
- ContactsPeople in the CRM: emails, phones, tags, history and custom properties.19 endpoints
- CompaniesCompanies and the contacts who work there.7 endpoints
- ListsManual and smart lists of contacts, imports and exports.14 endpoints
- Custom propertiesYour own fields on contacts, companies and proposals.5 endpoints
- TasksTasks with assignees, due dates and priorities.6 endpoints
- ProposalsProposals: content, packages, recipients, sending, status and clients' questions.23 endpoints
- InvoicesInvoices: items, sending, payments recorded by hand and recurring invoices.13 endpoints
- ApprovalsPDFs sent for approval and who approved them.11 endpoints
- ContractsContract templates and contracts sent for signature.17 endpoints
- Services and productsCatalog services and products, with prices and photos.6 endpoints
- PackagesBundles of services and products with their own prices.7 endpoints
- Catalog pagesPublic catalog pages and how they look.8 endpoints
- Catalog requestsRequests clients send from catalog pages.3 endpoints
- PaymentsStripe payments, refunds and sales made outside Firmado.10 endpoints
- LoyaltyThe loyalty program: rules, rewards, members and redemptions.17 endpoints
- Contact eventsWhat contacts did in your systems, and the activity types that show it.10 endpoints
- AppointmentsMeetings on the calendar, and booking requests to answer.9 endpoints
- Booking pagesPages where clients book meetings.6 endpoints
- AvailabilityMembers' working hours and exceptions.2 endpoints
- EmailsTemplates, campaigns, automations and single emails to contacts.35 endpoints
- Social postsThe social calendar: posts, approval and publishing.15 endpoints
- Comment automationsAutomatic answers to comments on social posts.6 endpoints
- FormsForms, their look and their submissions.14 endpoints
- SurveysNPS and satisfaction surveys, invitations and answers.17 endpoints
- Link pagesLink in bio pages, their links and numbers.8 endpoints
- MicrositeThe microsite's blocks, address and numbers.7 endpoints
- Short linksShort links on your domain and their clicks.7 endpoints
- QR codesSaved QR codes, their look and their short link.6 endpoints
- Calendar linksSaved events with their page, .ics file and numbers.7 endpoints
- Email signaturesSaved email signatures.5 endpoints
- Shared filesFiles shared from a page, open, behind a form or a payment.10 endpoints
- FilesThe file library and what takes your storage.6 endpoints
- ProjectsProjects, their items, notes and numbers.15 endpoints
- DashboardThe numbers of the dashboards.2 endpoints
- OrganizationThe organization, its settings and members.19 endpoints