---
updatedAt: 2025-06-09T23:06:50.000Z
agentTools:
  projectIndex: https://developers.zenbooker.com/llms.txt
---

# Retrieve a customer

Retrieves the details of a customer that has previously been created.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "zenbooker-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.zenbooker.com/v1/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/customers/{id}": {
      "get": {
        "summary": "Retrieve a customer",
        "description": "Retrieves the details of a customer that has previously been created.",
        "operationId": "retrieve-a-customer",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The id of the customer",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n \"name\": \"Jonny\",\n \"phone\": \"2406037022\",\n \"email\": \"jonny@example.com\",\n \"notes\": [\n  {\n   \"text\": \"Has 2 dogs so make sure to always close gate.\\n\\nLives with elderly father so make sure to take extra precautions with disinfecting.\",\n   \"images\": [],\n   \"files\": [],\n   \"id\": \"1593650216221x143825246095409150\"\n  },\n  {\n   \"text\": \"Signed client agreement\",\n   \"images\": [],\n   \"files\": [\n    \"https://zenbooker.com/version-test/fileupload/f1595045795397x329041080350953600/Free%20License%20-%20Please%20Read.pdf\"\n   ],\n   \"id\": \"1595045807577x649751865051316200\"\n  }\n ],\n \"addresses\": [\n  {\n   \"formatted\": \"787 K St NW, 670, Washington, DC 20001, USA\",\n   \"line1\": \"787 K Street Northwest\",\n   \"line2\": \"670\",\n   \"city\": \"Washington\",\n   \"state\": \"District of Columbia\",\n   \"postal_code\": \"20001\",\n   \"lat\": 38.9024297,\n   \"lng\": -77.0227467,\n   \"nickname\": null,\n   \"is_default_address_for_customer\": true,\n   \"id\": \"1596211953538x669394556458106900\"\n  },\n  {\n   \"formatted\": \"7870 Central Ave, Hyattsville, MD 20785, USA\",\n   \"line1\": \"7870 Central Avenue\",\n   \"line2\": null,\n   \"city\": \"Hyattsville\",\n   \"state\": \"Maryland\",\n   \"postal_code\": \"20785\",\n   \"lat\": 38.8891538,\n   \"lng\": -76.8700949,\n   \"nickname\": null,\n   \"is_default_address_for_customer\": null,\n   \"id\": \"1598994092670x944210523947008000\"\n  }\n ],\n \"jobs\": [\n  \"1587597048430x733769980440395200\",\n  \"1587834959963x327316876698106300\",\n  \"1590976372743x645000830986858200\",\n  \"1593598503130x331514399410805600\",\n  \"1593602295380x643165183460594000\",\n  \"1593640059160x491227349172397760\",\n  \"1593644615320x635238791624530800\",\n  \"1594013858802x511188993944888800\",\n  \"1594053213983x522071369494460740\",\n  \"1595226681139x811860989125499800\",\n  \"1595232523692x197822722847183840\",\n  \"1596212139338x212692075734378200\",\n  \"1596656947590x933651099690698100\",\n  \"1600589537431x119382999396583580\",\n  \"1605597488723x883631216033770200\",\n  \"1605906882030x581471244711313500\",\n  \"1605906906578x180819220762337150\",\n  \"1605906957991x493989062685751300\",\n  \"1605907009469x848820570064112000\",\n  \"1606402830289x659393718473411100\",\n  \"1607554295377x238906098005405200\",\n  \"1608822030784x696159940494966300\",\n  \"1608857021488x282557958389451080\",\n  \"1611846030309x828605130150333400\",\n  \"1614265231252x698278863990647700\",\n  \"1616680830586x817667752606323600\",\n  \"1619100030295x522402048302755600\",\n  \"1622124030315x842992865934208500\",\n  \"1624543230308x878566669837173900\",\n  \"1626962430329x209433222462599650\",\n  \"1629986430317x984679090600979700\",\n  \"1629986482905x133789987573728060\",\n  \"1629986533974x545620786345438340\",\n  \"1632405630281x141586861381925100\"\n ],\n \"recurring_bookings\": [\n  \"1605906890106x220378786787300840\"\n ],\n \"stripe_customer_id\": \"cus_IQXz3Qd1cb49H8\",\n \"creation_date\": \"2020-04-22T23:10:52.093Z\",\n \"id\": \"1587597052042x388656012805711500\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "example": "Jonny"
                    },
                    "phone": {
                      "type": "string",
                      "example": "2406037022"
                    },
                    "email": {
                      "type": "string",
                      "example": "jonny@example.com"
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "text": {
                            "type": "string",
                            "example": "Has 2 dogs so make sure to always close gate.\n\nLives with elderly father so make sure to take extra precautions with disinfecting."
                          },
                          "images": {
                            "type": "array"
                          },
                          "files": {
                            "type": "array"
                          },
                          "id": {
                            "type": "string",
                            "example": "1593650216221x143825246095409150"
                          }
                        }
                      }
                    },
                    "addresses": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "formatted": {
                            "type": "string",
                            "example": "787 K St NW, 670, Washington, DC 20001, USA"
                          },
                          "line1": {
                            "type": "string",
                            "example": "787 K Street Northwest"
                          },
                          "line2": {
                            "type": "string",
                            "example": "670"
                          },
                          "city": {
                            "type": "string",
                            "example": "Washington"
                          },
                          "state": {
                            "type": "string",
                            "example": "District of Columbia"
                          },
                          "postal_code": {
                            "type": "string",
                            "example": "20001"
                          },
                          "lat": {
                            "type": "number",
                            "example": 38.9024297,
                            "default": 0
                          },
                          "lng": {
                            "type": "number",
                            "example": -77.0227467,
                            "default": 0
                          },
                          "nickname": {},
                          "is_default_address_for_customer": {
                            "type": "boolean",
                            "example": true,
                            "default": true
                          },
                          "id": {
                            "type": "string",
                            "example": "1596211953538x669394556458106900"
                          }
                        }
                      }
                    },
                    "jobs": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "1587597048430x733769980440395200"
                      }
                    },
                    "recurring_bookings": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "1605906890106x220378786787300840"
                      }
                    },
                    "stripe_customer_id": {
                      "type": "string",
                      "example": "cus_IQXz3Qd1cb49H8"
                    },
                    "creation_date": {
                      "type": "string",
                      "example": "2020-04-22T23:10:52.093Z"
                    },
                    "id": {
                      "type": "string",
                      "example": "1587597052042x388656012805711500"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```