gotolisto
ENESStart free
Developers

API reference

Read bookings, customers, services and payments, create bookings, booking notes, customers and leads, and subscribe to webhooks. A REST API with JSON in and out, one key per app, and nothing that moves money.

Base URLhttps://gotolisto.com/api/v1OpenAPI 3.1 document

Every path below is relative to this base. The key decides the workspace, not the host.

Quick start

  1. In your workspace, open Integrations, then API keys, and create a key. Copy it: it is shown once.
  2. Call GET /me with the key in the Authorization header. The answer names the workspace and the key.
  3. Read or create data with the endpoints below, or subscribe to events with POST /hooks (see Webhooks).
curl "https://gotolisto.com/api/v1/me" \
  -H "Authorization: Bearer qk_live_…"

Authentication

Send the key as a bearer token on every request: Authorization: Bearer qk_live_…. A key is qk_live_ followed by 43 letters and digits, and it works for one workspace only.

Keys are created and revoked by a workspace admin under Integrations, API keys, on a plan that includes the API. A workspace can have 20 active keys. The full key is shown once; afterwards only its first characters are.

Revoking a key stops it at once (401) and turns off every webhook subscription it created.

Requests with a missing or invalid key are limited to 120 a minute per client IP; past that they answer 429.

Scopes

ScopeAllowsEndpoints
bookings:readRead bookingsGET /bookingsGET /bookings/{id}
bookings:writeCreate bookings and notesPOST /bookingsPOST /bookings/{id}/notes
customers:readRead customersGET /customersGET /customers/{id}
customers:writeCreate customers and edit their tagsPOST /customersPATCH /customers/{id}
leads:writeCreate leadsPOST /leads
services:readRead servicesGET /servicesGET /services/{id}/questions
payments:readRead paymentsGET /paymentsGET /payments/{booking_id}
webhooks:manageSubscribe to webhooksGET /hooksPOST /hooksDELETE /hooks/{id}

Every key can call GET /me and GET /locations.

Presets in the admin screen:

  • Zapier / Make — full access: bookings:read, bookings:write, customers:read, customers:write, leads:write, services:read, payments:read, webhooks:manage
  • Read only: bookings:read, customers:read, services:read, payments:read

Conventions

  • JSON in and out (Content-Type: application/json). There are no CORS headers: call the API from a server, never from a browser.
  • Money is an object: { "amount": "149.00", "currency": "MXN" }, a decimal string in major units, in the currency of the location.
  • Dates are YYYY-MM-DD and times HH:MM, both in the location’s time zone (each booking carries timezone). Instants such as created_at are ISO 8601 in UTC.
  • Ids are UUIDs. An id of another workspace answers 404, the same as an id that does not exist.
  • Payments are read-only. No endpoint charges, refunds or records a payment, and creating a booking never takes money.

Pagination

Lists answer { "data": [...], "next_cursor": "…" | null }, ordered by last change, newest first (updated_at, then id).

Pass limit (1 to 100, default 25) and, for the next page, cursor set to the previous next_cursor. A null cursor is the last page. The cursor is opaque; send it back unchanged.

Paging is keyset-based: records you have not reached are never shifted or repeated, but a record that changes while you page moves ahead of your cursor and is not returned in this pass. To catch those changes, page again with updated_since set to when this pass started; to sync later changes, use the time your last sync started.

Idempotency

Every POST accepts an Idempotency-Key header (up to 255 printable characters). Retrying with the same key and the same body returns the first answer again, with Idempotent-Replayed: true, for 24 hours.

The same key with another body, another endpoint or another API key answers 409 idempotency_conflict; while the first request is still running it answers 409 conflict. A failed request (5xx) frees the key, so retry with it.

Use one key per thing you create, for example the id of the record in your system.

curl -X POST "https://gotolisto.com/api/v1/customers" \
  -H "Authorization: Bearer qk_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <your-unique-id>" \
  -d '{
    "first_name": "Sample",
    "last_name": "Client",
    "email": "sample.client@example.com",
    "phone": "+525500000000",
    "preferred_lang": "en",
    "tags": [
      "vip"
    ]
  }'

Rate limits

Per API key: 120 reads (GET) and 30 writes (POST, DELETE) a minute. Per workspace, all keys together: 600 requests a minute.

Every authenticated answer carries X-RateLimit-Limit and X-RateLimit-Remaining for the key's bucket. Over a limit the answer is 429 rate_limited with Retry-After in seconds.

Errors

Errors answer with an HTTP status and { "error": { "code", "message", "details"? } }. Branch on code; message is for people and may change.

CodeStatusMeaning
unauthorized401The Authorization header is missing or malformed, or the key is unknown or revoked.
forbidden_scope403The key lacks the scope this operation needs (details.required_scope).
plan_required403The workspace's plan does not include the API (or, for POST /hooks, webhooks; for POST /customers, room for another active client).
tenant_unavailable403The workspace is suspended, archived or inactive.
not_found404No such object in this workspace. Ids of other workspaces are a 404 too, never a 403.
validation_failed422The query or body is not valid. details.issues lists every problem as { path, message }.
conflict409A request with the same Idempotency-Key is still running, or the workspace already has 100 webhook endpoints (POST /hooks).
slot_unavailable409POST /bookings: that date and time is taken, closed or not offered.
idempotency_conflict409The Idempotency-Key was already used with another body, route or API key.
rate_limited429Too many requests. Wait the Retry-After seconds.
internal500Something failed on our side. Retry later; POSTs are safe to retry with the same Idempotency-Key.
Example: a body with an invalid email · 422
{
  "error": {
    "code": "validation_failed",
    "message": "The request is not valid.",
    "details": {
      "issues": [
        {
          "path": "email",
          "message": "Must be an email address."
        }
      ]
    }
  }
}

Versioning

/v1 only changes additively: new endpoints, new fields, new events and new enum values can appear at any time, so ignore what you do not know.

Removing or renaming anything needs a new version (/v2) and six months of notice. Webhook payloads carry "version": 1 and follow the same rule.

Endpoints

Generated from the same table as the OpenAPI document. Request bodies and answers below are real outputs of the API code for sample data. The OpenAPI document describes every schema in full.

Account

GET/me

The key's workspace and the key itself (connection test)

Scope: any key

Responses

  • 200 The workspace and key
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 429 Too many requests (rate_limited)
Example request
curl "https://gotolisto.com/api/v1/me" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "tenant": {
    "id": "00000000-0000-4000-8000-00000000f001",
    "slug": "sample",
    "name": "Sample Home Services"
  },
  "key": {
    "name": "Zapier",
    "prefix": "qk_live_AbC1",
    "scopes": [
      "bookings:read",
      "webhooks:manage"
    ]
  }
}

GET/locations

List locations

Scope: any key

Parameters

NameInTypeDescription
limitqueryinteger 1–100Page size, 25 by default.
cursorquerystringThe next_cursor of the previous page.

Responses

  • 200 A page of locations
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 422 A query parameter, limit or cursor is not valid (validation_failed)
  • 429 Too many requests (rate_limited)
Example request
curl "https://gotolisto.com/api/v1/locations" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-00000000a001",
      "object": "location",
      "name": "Sample location",
      "timezone": "America/Mexico_City",
      "currency": "MXN",
      "active": true
    }
  ],
  "next_cursor": null
}

GET/openapi.json

This document

Scope: no key

Responses

  • 200 The OpenAPI document
Example request
curl "https://gotolisto.com/api/v1/openapi.json"

Bookings

GET/bookings

List bookings, most recently changed first

Scope: bookings:read

Parameters

NameInTypeDescription
statusquerypending | confirmed | cancelled | completed | no_showOnly bookings in this status.
location_idqueryuuidOnly bookings at this location.
customer_idqueryuuidOnly bookings of this customer.
date_fromquerydateService date on or after (YYYY-MM-DD, location time).
date_toquerydateService date on or before (YYYY-MM-DD, location time).
updated_sincequerydate-timeOnly bookings changed at or after this instant.
limitqueryinteger 1–100Page size, 25 by default.
cursorquerystringThe next_cursor of the previous page.

Responses

  • 200 A page of bookings
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 422 A query parameter, limit or cursor is not valid (validation_failed)
  • 429 Too many requests (rate_limited)
Example request
curl "https://gotolisto.com/api/v1/bookings?status=confirmed&limit=1" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-00000000b001",
      "object": "booking",
      "status": "confirmed",
      "date": "2026-10-13",
      "time": "10:00",
      "start_time": "2026-10-13T16:00:00Z",
      "duration_min": 180,
      "timezone": "America/Mexico_City",
      "arrival_window": null,
      "crew_size": 1,
      "location": {
        "id": "00000000-0000-4000-8000-00000000a001",
        "name": "Sample location"
      },
      "service": {
        "id": "00000000-0000-4000-8000-00000000c001",
        "name": "Sample service"
      },
      "addons": [
        {
          "key": "inside_fridge",
          "quantity": 1
        }
      ],
      "total": {
        "amount": "1200.00",
        "currency": "MXN"
      },
      "discount": {
        "amount": "0.00",
        "currency": "MXN"
      },
      "payment": {
        "status": "pending",
        "method": "card",
        "paid_at": null
      },
      "crew": [
        {
          "id": "00000000-0000-4000-8000-00000000e001",
          "name": "Sample S."
        }
      ],
      "customer": {
        "id": "00000000-0000-4000-8000-00000000d001",
        "first_name": "Sample",
        "last_name": "Client",
        "email": "sample.client@example.com",
        "phone": "+525500000000"
      },
      "address": {
        "line": "123 Sample Street",
        "unit": "1A",
        "building": null,
        "lat": null,
        "lng": null,
        "place_id": null,
        "maps_url": null
      },
      "source": "admin",
      "quote_id": null,
      "attribution": {
        "utm_source": null,
        "utm_medium": null,
        "utm_campaign": null,
        "utm_term": null,
        "utm_content": null,
        "referrer": null,
        "landing_page": null
      },
      "created_at": "2026-10-12T15:04:05Z",
      "updated_at": "2026-10-12T15:04:05Z"
    }
  ],
  "next_cursor": "MjAyNi0xMC0xMlQxNTowNDowNS4xMjM0NTYrMDA6MDAsMDAwMDAwMDAtMDAwMC00MDAwLTgwMDAtMDAwMDAwMDBiMDAx"
}

POST/bookings

Create a booking (priced and checked like a calculator booking; no payment is taken)

Scope: bookings:write

Parameters

NameInTypeDescription
Idempotency-KeyheaderstringRetry safely: the same key and body replay the first answer for 24 hours.

Body

NameTypeDescription
location_iduuidrequired.
service_iduuidrequired.
datedaterequired. YYYY-MM-DD, location time.
timestringrequired. HH:MM, location time: an offered slot.
customer_iduuidoptional.
customerobjectoptional. Matched to an existing customer by email, else created with these fields (as POST /customers).
addressobjectrequired. The service address. A known building can also be named in answers.building_id, as in the calculator.
answersobjectoptional. The calculator answers for this service, same keys as the calculator (e.g. bedrooms, addons). Each answer is converted to the type of its question before pricing ("2" → 2 for a counter, 24 → "24" for a select).
notesstringoptional. Instructions for the team (shown as special instructions).
notify_clientbooleanoptional. Send the client the booking confirmation (and, when the business requires a card, the card request).

Responses

  • 201 The booking
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 404 location_id, service_id or customer_id is not one of this workspace (not_found)
  • 409 The date and time is taken, closed or not offered (slot_unavailable), or the Idempotency-Key reused with another body (idempotency_conflict) or still in progress (conflict)
  • 422 The body is not valid (validation_failed); missing required answers are listed in details.missing_answers
  • 429 Too many requests (rate_limited)
Example request
curl -X POST "https://gotolisto.com/api/v1/bookings" \
  -H "Authorization: Bearer qk_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <your-unique-id>" \
  -d '{
    "location_id": "00000000-0000-4000-8000-00000000a001",
    "service_id": "00000000-0000-4000-8000-00000000c001",
    "date": "2026-10-13",
    "time": "10:00",
    "customer": {
      "first_name": "Sample",
      "last_name": "Client",
      "email": "sample.client@example.com",
      "phone": "+525500000000"
    },
    "address": {
      "line": "123 Sample Street",
      "unit": "1A"
    },
    "answers": {
      "bedrooms": 2,
      "bathrooms": 1
    },
    "notes": "Gate code at the front desk.",
    "notify_client": false
  }'
Example response · 201
{
  "id": "00000000-0000-4000-8000-00000000b001",
  "object": "booking",
  "status": "pending",
  "date": "2026-10-13",
  "time": "10:00",
  "start_time": "2026-10-13T16:00:00Z",
  "duration_min": 180,
  "timezone": "America/Mexico_City",
  "arrival_window": null,
  "crew_size": 1,
  "location": {
    "id": "00000000-0000-4000-8000-00000000a001",
    "name": "Sample location"
  },
  "service": {
    "id": "00000000-0000-4000-8000-00000000c001",
    "name": "Sample service"
  },
  "addons": [],
  "total": {
    "amount": "1200.00",
    "currency": "MXN"
  },
  "discount": {
    "amount": "0.00",
    "currency": "MXN"
  },
  "payment": {
    "status": "pending",
    "method": "card",
    "paid_at": null
  },
  "crew": [],
  "customer": {
    "id": "00000000-0000-4000-8000-00000000d001",
    "first_name": "Sample",
    "last_name": "Client",
    "email": "sample.client@example.com",
    "phone": "+525500000000"
  },
  "address": {
    "line": "123 Sample Street",
    "unit": "1A",
    "building": null,
    "lat": null,
    "lng": null,
    "place_id": null,
    "maps_url": null
  },
  "source": "api",
  "quote_id": null,
  "attribution": {
    "utm_source": null,
    "utm_medium": null,
    "utm_campaign": null,
    "utm_term": null,
    "utm_content": null,
    "referrer": null,
    "landing_page": null
  },
  "created_at": "2026-10-12T15:04:05Z",
  "updated_at": "2026-10-12T15:04:05Z"
}

GET/bookings/{id}

Get a booking

Scope: bookings:read

Parameters

NameInTypeDescription
idpathuuidrequired. Booking id.

Responses

  • 200 The booking
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 404 No such booking (not_found)
  • 429 Too many requests (rate_limited)
Example request
curl "https://gotolisto.com/api/v1/bookings/00000000-0000-4000-8000-00000000b001" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "id": "00000000-0000-4000-8000-00000000b001",
  "object": "booking",
  "status": "confirmed",
  "date": "2026-10-13",
  "time": "10:00",
  "start_time": "2026-10-13T16:00:00Z",
  "duration_min": 180,
  "timezone": "America/Mexico_City",
  "arrival_window": null,
  "crew_size": 1,
  "location": {
    "id": "00000000-0000-4000-8000-00000000a001",
    "name": "Sample location"
  },
  "service": {
    "id": "00000000-0000-4000-8000-00000000c001",
    "name": "Sample service"
  },
  "addons": [
    {
      "key": "inside_fridge",
      "quantity": 1
    }
  ],
  "total": {
    "amount": "1200.00",
    "currency": "MXN"
  },
  "discount": {
    "amount": "0.00",
    "currency": "MXN"
  },
  "payment": {
    "status": "pending",
    "method": "card",
    "paid_at": null
  },
  "crew": [
    {
      "id": "00000000-0000-4000-8000-00000000e001",
      "name": "Sample S."
    }
  ],
  "customer": {
    "id": "00000000-0000-4000-8000-00000000d001",
    "first_name": "Sample",
    "last_name": "Client",
    "email": "sample.client@example.com",
    "phone": "+525500000000"
  },
  "address": {
    "line": "123 Sample Street",
    "unit": "1A",
    "building": null,
    "lat": null,
    "lng": null,
    "place_id": null,
    "maps_url": null
  },
  "source": "admin",
  "quote_id": null,
  "attribution": {
    "utm_source": null,
    "utm_medium": null,
    "utm_campaign": null,
    "utm_term": null,
    "utm_content": null,
    "referrer": null,
    "landing_page": null
  },
  "created_at": "2026-10-12T15:04:05Z",
  "updated_at": "2026-10-12T15:04:05Z"
}

POST/bookings/{id}/notes

Add an internal note to a booking (seen by the team, never by the client)

Scope: bookings:write

Parameters

NameInTypeDescription
idpathuuidrequired. Booking id.
Idempotency-KeyheaderstringRetry safely: the same key and body replay the first answer for 24 hours.

Body

NameTypeDescription
textstringrequired. The note. Shown on the booking to the team only.

Responses

  • 201 The note
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 404 No such booking (not_found)
  • 409 The Idempotency-Key reused with another body (idempotency_conflict) or still in progress (conflict)
  • 422 The body is not valid (validation_failed)
  • 429 Too many requests (rate_limited)
Example request
curl -X POST "https://gotolisto.com/api/v1/bookings/00000000-0000-4000-8000-00000000b001/notes" \
  -H "Authorization: Bearer qk_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <your-unique-id>" \
  -d '{
    "text": "Client called: the gate code changed to 4321."
  }'
Example response · 201
{
  "id": "00000000-0000-4000-8000-00000000a001",
  "object": "booking_note",
  "booking_id": "00000000-0000-4000-8000-00000000b001",
  "text": "Client called: the gate code changed to 4321.",
  "visibility": "team",
  "author": {
    "type": "api_key",
    "id": "00000000-0000-4000-8000-00000000b001",
    "name": "Zapier"
  },
  "created_at": "2026-10-12T15:04:05.000Z"
}

Customers

GET/customers

List or find customers, most recently changed first

Scope: customers:read

Parameters

NameInTypeDescription
emailqueryemailExact email address (case-insensitive).
phonequeryE.164Exact phone number in E.164 format.
updated_sincequerydate-timeOnly customers changed at or after this instant.
tagquerystringOnly customers who have this tag. Case, accents and extra spaces are ignored where the workspace uses managed client tags; an unknown tag gives an empty list.
limitqueryinteger 1–100Page size, 25 by default.
cursorquerystringThe next_cursor of the previous page.

Responses

  • 200 A page of customers
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 422 A query parameter, limit or cursor is not valid (validation_failed)
  • 429 Too many requests (rate_limited)
Example request
curl "https://gotolisto.com/api/v1/customers?email=sample.client%40example.com" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-00000000d001",
      "object": "customer",
      "first_name": "Sample",
      "last_name": "Client",
      "email": "sample.client@example.com",
      "phone": "+525500000000",
      "preferred_lang": "en",
      "tags": [
        "vip"
      ],
      "active": true,
      "location_id": "00000000-0000-4000-8000-00000000a001",
      "total_bookings": 3,
      "created_at": "2026-09-01T18:20:00Z",
      "updated_at": "2026-10-12T15:04:05Z"
    }
  ],
  "next_cursor": null
}

POST/customers

Find or create a customer by email

Scope: customers:write

Parameters

NameInTypeDescription
Idempotency-KeyheaderstringRetry safely: the same key and body replay the first answer for 24 hours.

Body

NameTypeDescription
first_namestringrequired.
last_namestringoptional.
emailemailrequired.
phoneE.164optional.
preferred_langen | esoptional.
location_iduuidoptional.
tagsstring[]optional.
sourcestringoptional. Where the person came from, in your own words (e.g. facebook, google, spring_flyer). A known name is recorded as that source; anything else is recorded as an integration source with your label. Only a customer this call creates gets it.

Responses

  • 200 A customer with this email already exists: that customer, unchanged (created: false). Without the customers:read scope only id, object and created are returned.
  • 201 The new customer (created: true)
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 404 location_id is not one of this workspace (not_found)
  • 409 The Idempotency-Key reused with another body (idempotency_conflict) or still in progress (conflict)
  • 422 The body is not valid (validation_failed)
  • 429 Too many requests (rate_limited)
Example request
curl -X POST "https://gotolisto.com/api/v1/customers" \
  -H "Authorization: Bearer qk_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <your-unique-id>" \
  -d '{
    "first_name": "Sample",
    "last_name": "Client",
    "email": "sample.client@example.com",
    "phone": "+525500000000",
    "preferred_lang": "en",
    "tags": [
      "vip"
    ]
  }'
Example response · 201
{
  "id": "00000000-0000-4000-8000-00000000d001",
  "object": "customer",
  "first_name": "Sample",
  "last_name": "Client",
  "email": "sample.client@example.com",
  "phone": "+525500000000",
  "preferred_lang": "en",
  "tags": [
    "vip"
  ],
  "active": true,
  "location_id": "00000000-0000-4000-8000-00000000a001",
  "total_bookings": 0,
  "created_at": "2026-09-01T18:20:00Z",
  "updated_at": "2026-10-12T15:04:05Z",
  "created": true
}

GET/customers/{id}

Get a customer

Scope: customers:read

Parameters

NameInTypeDescription
idpathuuidrequired. Customer id.

Responses

  • 200 The customer
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 404 No such customer (not_found)
  • 429 Too many requests (rate_limited)
Example request
curl "https://gotolisto.com/api/v1/customers/00000000-0000-4000-8000-00000000d001" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "id": "00000000-0000-4000-8000-00000000d001",
  "object": "customer",
  "first_name": "Sample",
  "last_name": "Client",
  "email": "sample.client@example.com",
  "phone": "+525500000000",
  "preferred_lang": "en",
  "tags": [
    "vip"
  ],
  "active": true,
  "location_id": "00000000-0000-4000-8000-00000000a001",
  "total_bookings": 3,
  "created_at": "2026-09-01T18:20:00Z",
  "updated_at": "2026-10-12T15:04:05Z"
}

PATCH/customers/{id}

Add or remove a customer's tags by name

Scope: customers:write

Parameters

NameInTypeDescription
idpathuuidrequired. Customer id.
Idempotency-KeyheaderstringRetry safely: the same key and body replay the first answer for 24 hours.

Body

NameTypeDescription
add_tagsstring[]optional.
remove_tagsstring[]optional.

Responses

  • 200 The customer with the tags added and removed. tags_added and tags_removed count the changes that really happened (a repeated request answers 0 and 0). Without the customers:read scope only id, object and the counts are returned.
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 404 No such customer (not_found)
  • 409 The tags changed while the request ran, or the Idempotency-Key reused with another body (idempotency_conflict) or still in progress (conflict)
  • 422 The body is not valid, or the change would give a customer more than 50 tags or the workspace more than 300 active tags (validation_failed)
  • 429 Too many requests (rate_limited)
Example request
curl -X PATCH "https://gotolisto.com/api/v1/customers/00000000-0000-4000-8000-00000000d001" \
  -H "Authorization: Bearer qk_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <your-unique-id>" \
  -d '{
    "add_tags": [
      "vip",
      "Deep clean"
    ],
    "remove_tags": [
      "Prospect"
    ]
  }'
Example response · 200
{
  "id": "00000000-0000-4000-8000-00000000d001",
  "object": "customer",
  "first_name": "Sample",
  "last_name": "Client",
  "email": "sample.client@example.com",
  "phone": "+525500000000",
  "preferred_lang": "en",
  "tags": [
    "vip",
    "Deep clean"
  ],
  "active": true,
  "location_id": "00000000-0000-4000-8000-00000000a001",
  "total_bookings": 3,
  "created_at": "2026-09-01T18:20:00Z",
  "updated_at": "2026-10-12T15:04:05Z",
  "tags_added": 2,
  "tags_removed": 1
}

Leads

POST/leads

Add a lead to the Quotes & leads list

Scope: leads:write

Parameters

NameInTypeDescription
Idempotency-KeyheaderstringRetry safely: the same key and body replay the first answer for 24 hours.

Body

NameTypeDescription
location_iduuidrequired.
first_namestringrequired.
last_namestringoptional.
emailemailrequired.
phoneE.164optional.
addressstring | objectoptional.
service_iduuidoptional.
notesstringoptional.
sourcestringoptional. Where the lead came from, e.g. "Facebook Lead Ads".

Responses

  • 201 The lead
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 404 location_id or service_id is not one of this workspace (not_found)
  • 409 The Idempotency-Key reused with another body (idempotency_conflict) or still in progress (conflict)
  • 422 The body is not valid (validation_failed)
  • 429 Too many requests (rate_limited)
Example request
curl -X POST "https://gotolisto.com/api/v1/leads" \
  -H "Authorization: Bearer qk_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <your-unique-id>" \
  -d '{
    "location_id": "00000000-0000-4000-8000-00000000a001",
    "first_name": "Sample",
    "last_name": "Client",
    "email": "sample.client@example.com",
    "phone": "+525500000000",
    "service_id": "00000000-0000-4000-8000-00000000c001",
    "notes": "Asked for a quote for a 3 bedroom house.",
    "source": "Facebook Lead Ads"
  }'
Example response · 201
{
  "id": "00000000-0000-4000-8000-000000003001",
  "object": "lead",
  "source": "api",
  "status": "open",
  "location": {
    "id": "00000000-0000-4000-8000-00000000a001",
    "name": "Sample location"
  },
  "contact": {
    "name": "Sample Client",
    "email": "sample.client@example.com",
    "phone": "+525500000000"
  },
  "total": null,
  "duration_min": null,
  "lang": null,
  "booking_id": null,
  "attribution": {
    "utm_source": "Facebook Lead Ads",
    "utm_medium": null,
    "utm_campaign": null,
    "utm_term": null,
    "utm_content": null,
    "referrer": null,
    "landing_page": null
  },
  "created_at": "2026-10-12T15:04:05Z"
}

Services

GET/services

List services

Scope: services:read

Parameters

NameInTypeDescription
location_idqueryuuidOnly services of this location.
limitqueryinteger 1–100Page size, 25 by default.
cursorquerystringThe next_cursor of the previous page.

Responses

  • 200 A page of services
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 422 A query parameter, limit or cursor is not valid (validation_failed)
  • 429 Too many requests (rate_limited)
Example request
curl "https://gotolisto.com/api/v1/services?location_id=00000000-0000-4000-8000-00000000a001" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-00000000c001",
      "object": "service",
      "name": "Sample service",
      "location_ids": [
        "00000000-0000-4000-8000-00000000a001"
      ],
      "active": true
    }
  ],
  "next_cursor": null
}

GET/services/{id}/questions

List the booking questions of a service

Scope: services:read

Parameters

NameInTypeDescription
idpathuuidrequired. Service id.

Responses

  • 200 The questions
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 404 No such service (not_found)
  • 429 Too many requests (rate_limited)
Example request
curl "https://gotolisto.com/api/v1/services/00000000-0000-4000-8000-00000000c001/questions" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "data": [
    {
      "object": "service_question",
      "key": "bedrooms",
      "label": "Bedrooms",
      "type": "number",
      "required": true,
      "min": 1,
      "max": 6,
      "step": 1
    },
    {
      "object": "service_question",
      "key": "zone_id",
      "label": "Area",
      "type": "select",
      "required": true,
      "options": [
        {
          "value": "8a6f0000-0000-4000-8000-000000000001",
          "label": "North"
        },
        {
          "value": "8a6f0000-0000-4000-8000-000000000002",
          "label": "South"
        }
      ]
    }
  ]
}

Payments

GET/payments

List booking payments (read-only)

Scope: payments:read

Parameters

NameInTypeDescription
booking_idqueryuuidOnly the payment of this booking.
statusqueryprocessing | paid | failed | refundedOnly payments in this state.
updated_sincequerydate-timeOnly payments whose booking changed at or after this instant.
limitqueryinteger 1–100Page size, 25 by default.
cursorquerystringThe next_cursor of the previous page.

Responses

  • 200 A page of payments
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 422 A query parameter, limit or cursor is not valid (validation_failed)
  • 429 Too many requests (rate_limited)
Example request
curl "https://gotolisto.com/api/v1/payments?status=paid" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "data": [
    {
      "object": "payment",
      "booking_id": "00000000-0000-4000-8000-00000000b001",
      "status": "paid",
      "amount": {
        "amount": "1200.00",
        "currency": "MXN"
      },
      "method": "card",
      "paid_at": "2026-10-12T15:04:05Z",
      "refunded": {
        "amount": "0.00",
        "currency": "MXN"
      },
      "refunds": []
    }
  ],
  "next_cursor": null
}

GET/payments/{booking_id}

Get a booking's payment (read-only)

Scope: payments:read

Parameters

NameInTypeDescription
booking_idpathuuidrequired. Booking id.

Responses

  • 200 The payment
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 404 No such booking (not_found)
  • 429 Too many requests (rate_limited)
Example request
curl "https://gotolisto.com/api/v1/payments/00000000-0000-4000-8000-00000000b001" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "object": "payment",
  "booking_id": "00000000-0000-4000-8000-00000000b001",
  "status": "paid",
  "amount": {
    "amount": "1200.00",
    "currency": "MXN"
  },
  "method": "card",
  "paid_at": "2026-10-12T15:04:05Z",
  "refunded": {
    "amount": "0.00",
    "currency": "MXN"
  },
  "refunds": []
}

Webhooks

GET/hooks

List the webhook subscriptions this key created

Scope: webhooks:manage

Responses

  • 200 The subscriptions
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 429 Too many requests (rate_limited)
Example request
curl "https://gotolisto.com/api/v1/hooks" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "data": [
    {
      "id": "00000000-0000-4000-8000-000000009001",
      "object": "webhook_endpoint",
      "url_host": "hooks.zapier.com",
      "events": [
        "booking.created"
      ],
      "location_ids": null,
      "status": "active",
      "disabled_reason": null,
      "created_at": "2026-10-12T15:04:05Z"
    }
  ],
  "next_cursor": null
}

POST/hooks

Subscribe a URL to webhook events (REST hook)

Scope: webhooks:manage

Parameters

NameInTypeDescription
Idempotency-KeyheaderstringRetry safely: the same key and body replay the first answer for 24 hours.

Body

NameTypeDescription
target_urlurirequired. A public https URL.
eventsenum[]required.
location_idsuuid[] | nulloptional. Omit or null for every location.

Responses

  • 201 The subscription, with its signing secret (shown once)
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 409 Endpoint limit reached (conflict) or Idempotency-Key reused with another body (idempotency_conflict)
  • 422 The body is not valid (validation_failed)
  • 429 Too many requests (rate_limited)
Example request
curl -X POST "https://gotolisto.com/api/v1/hooks" \
  -H "Authorization: Bearer qk_live_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: <your-unique-id>" \
  -d '{
    "target_url": "https://hooks.zapier.com/hooks/standard/000000/sample/",
    "events": [
      "booking.created"
    ]
  }'
Example response · 201
{
  "id": "00000000-0000-4000-8000-000000009001",
  "object": "webhook_endpoint",
  "url_host": "hooks.zapier.com",
  "events": [
    "booking.created"
  ],
  "location_ids": null,
  "status": "active",
  "disabled_reason": null,
  "created_at": "2026-10-12T15:04:05Z",
  "secret": "whsec_ZG9jcy1leGFtcGxlLXNlY3JldC1ub3QtcmVhbC0zMmI="
}

DELETE/hooks/{id}

Unsubscribe (only subscriptions this key created)

Scope: webhooks:manage

Parameters

NameInTypeDescription
idpathuuidrequired. Subscription id.

Responses

  • 200 Deleted
  • 401 Missing, malformed, unknown or revoked API key (unauthorized)
  • 403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
  • 404 No such subscription for this key (not_found)
  • 429 Too many requests (rate_limited)
Example request
curl -X DELETE "https://gotolisto.com/api/v1/hooks/00000000-0000-4000-8000-000000009001" \
  -H "Authorization: Bearer qk_live_…"
Example response · 200
{
  "id": "00000000-0000-4000-8000-000000009001",
  "object": "webhook_endpoint",
  "deleted": true
}
Book a demoStart free