Help center · For developers
The GemLev API
Connect GemLev to other programs: read your clients, estimates, invoices, jobs and requests, and send in new requests from ads or other forms. It’s part of the Pro plan.
1. Make a key
- Go to Settings → Integrations → API keys (owners and admins only).
- Tap Make a key, name it after the program that will use it, and pick what it can do:
- Add requests only: sends in new leads and can’t read anything. The one to use on your website’s form or in an ad tool.
- Read and add requests: for a program on your own computer or server, like Zapier or a spreadsheet.
- Read only: reads your clients, estimates, invoices, jobs and requests.
- Copy the key right away. It starts with
glv_and is shown only once. If you lose it, revoke it and make a new one.
- Anyone with a key that reads can read your clients and jobs. Use it only in programs you trust, never in a web page. Browsers can’t make reading calls at all, so a reading key on a page wouldn’t work anyway.
- A web page that sends leads straight from the visitor’s browser should use an Add requests only key. It can be seen by anyone who looks at the page, but all it can do is send in requests.
- Revoking a key stops it at once. Each key shows when it was last used.
2. Send the key with every call
Put it in the Authorization header. Answers are JSON.
curl https://gemlev.rareminds.ai/api/v1/clients?limit=10 \ -H "Authorization: Bearer glv_your_key_here"
What you can do
| Call | Address | What you get |
|---|---|---|
GET | /api/v1 | Check your key: the company it belongs to, and whether it can read and add requests. Works with any key. |
GET | /api/v1/clients | Clients (not ones in the Trash). Filter with email= or phone=. |
GET | /api/v1/clients/{id} | One client, with their addresses and contacts. |
GET | /api/v1/estimates | Estimates with totals. Filter with status= or client_id=. |
GET | /api/v1/estimates/{id} | One estimate with its sections and line items, priced the way your client sees them. |
GET | /api/v1/invoices | Invoices with totals, amount paid and balance. Filter with client_id=. |
GET | /api/v1/invoices/{id} | One invoice with its line items and payments. |
GET | /api/v1/jobs | Jobs (projects). Filter with status=. |
GET | /api/v1/requests | Estimate requests (leads), without spam. |
POST | /api/v1/requests | Send in a new request. Needs a key that can add requests. |
Lists, pages and “what changed”
- Lists come newest change first, as
{ "data": [...], "next_page": 2 }.next_pageisnullon the last page. limit: how many per page, 1 to 100 (50 if you leave it out).page: which page, starting at 1.updated_since: only records changed since a date or time, like2026-11-01or2026-11-01T08:00:00Z. This is how Zapier and similar tools check for new and changed records.- Estimate statuses: Draft, Sent, Viewed, Changes requested, Approved (the client signed), Invoiced, Declined. Job statuses: Scheduled, In progress, On hold, Completed.
- Money is in US dollars. Estimates show what the client sees: never your costs or markup.
- If you use several locations (Settings → Locations), each estimate, invoice, job and request has a
location_id; empty means your company itself.
Send in a new request
The request lands in Requests, is linked to an existing client with the same email or phone, and the office gets the usual new-lead alert.
curl -X POST https://gemlev.rareminds.ai/api/v1/requests \
-H "Authorization: Bearer glv_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"first_name": "Jordan",
"last_name": "Sample",
"email": "jordan@example.com",
"phone": "(512) 555-0134",
"address": "123 Main St, Austin, TX",
"service": ["Roofing"],
"message": "Leak over the garage after the storm.",
"source": "Facebook ad"
}'Fields: first_name, last_name (or one name), email, phone, address, company, service (text or a list), message, timeline, heard_from and source (shown on the request; “API” if left out). It needs at least a name, an email or a phone number. The answer is { "data": { "id": "…", "duplicate": false } }, or just { "data": { "received": true } } for an Add requests only key (it can’t read, so it isn’t told anything back).
The very same request again within a day (same email or phone, same name and same message: a program sending twice, a double click) isn’t saved twice, and the office isn’t alerted again. A key that reads gets the request already there, with "duplicate": true.
Limits and errors
- Up to 120 calls a minute per key. Past that you get
429; wait a minute and try again. - Up to 100 new requests an hour per key. Past that they’re still kept, but marked as spam with no alert, so a copied website key can’t flood your office. Up to 500 an hour for your whole company through the API; past that you get
429with the codelead_limit. - Errors look like
{ "error": { "code": "not_found", "message": "No client with that id." } }. 401the key is wrong or revoked ·403the plan doesn’t include the API, a read-only key tried to add a request (read_only_key), or an add-requests-only key tried to read (add_only_key) ·402the GemLev plan isn’t active ·404no record with that id.
Using Zapier or Make
Use their “Webhooks” or “HTTP request” step. To start a zap when something is new, poll a list with updated_since set to the last time it ran. To send leads in, POST to /api/v1/requests as above. To send each new GemLev request somewhere else as it arrives, use Settings → Integrations → Send new requests to another system instead.
Questions about the API? Email support@rareminds.ai. All guides