{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/loopspark.com"
        }
    ],
    "info": {
        "name": "LoopSpark API",
        "_postman_id": "94306e4b-a951-41a8-9b53-acb10b625feb",
        "description": "LoopSpark Public API",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Authorization",
            "description": "To authorize your requests, you need to pass a `token` in the request header `Authorization`.\n       <aside class=\"notice\">\nTo obtain a token, please contact our support at support@loopspark.com.\n<\/aside>\nExample: `Authorization: Bearer YourToken`",
            "item": [
                {
                    "name": "Retrieving your franchise",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/me",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/me"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "This endpoint should be used to make sure that the your authorization token is valid.\nIt will return an object with the name of the franchise."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n     \"data\": {\n       \"name\": \"Your franchise name\"\n     },\n    \"meta\": {\n      \"success\": true\n    }\n   }",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n          \"message\" : \"Unauthenticated.\"\n          }",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Integrations - MindBODY",
            "description": "",
            "item": [
                {
                    "name": "Get the authorization link from MINDBODY.",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/integrations\/mbo\/authorization-link",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/integrations\/mbo\/authorization-link",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "This is the first step required in order to activate a SiteID."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n   \"authorization_link\" : \"https:\/\/....\"\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 406,
                            "body": "{\n   \"error\"   : TRUE,\n   \"message\" : \"The SiteID is already integrated\"\n}",
                            "name": "Studio already integrated"
                        }
                    ]
                },
                {
                    "name": "Confirm that the authorization is completed",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/integrations\/mbo\/authorization-completed",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/integrations\/mbo\/authorization-completed",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "This is the second and final step to activate a SiteID. After the authorization link is created (using GET authorization-link),\nproceed to activate the SiteID on MINDBODY. Once it's active, confirm it to LoopSpark by using this POST request.\nThe SiteID needs to have Locations already available on MINDBODY (beside the \"Online Store\")"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n   \"ok\" : TRUE\n}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Automation",
            "description": "All the Endpoints regarding Automations of your franchise",
            "item": [
                {
                    "name": "Automations list",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/automations",
                            "query": [
                                {
                                    "key": "replicas_of_id",
                                    "value": "123",
                                    "description": "Only show replica Automations of a specific Automation ID in the list. Default: `null`.",
                                    "disabled": false
                                },
                                {
                                    "key": "include_paused",
                                    "value": "1",
                                    "description": "Include paused\/inactive Automations in the list. Default: `false`.",
                                    "disabled": false
                                },
                                {
                                    "key": "include_archived",
                                    "value": "1",
                                    "description": "Include archived Automations in the list. Default: `false`.",
                                    "disabled": false
                                },
                                {
                                    "key": "only_primaries",
                                    "value": "1",
                                    "description": "Only show primary Automations in the list. Default: `false`.",
                                    "disabled": false
                                },
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "The amount of automations to return. Max: `250`. Default: `250`. Must be at least 1. Must not be greater than 250.",
                                    "disabled": false
                                },
                                {
                                    "key": "only_type",
                                    "value": "SMS",
                                    "description": "Only show Automations using a specific medium. Values are `EMAIL`,`SMS`,`TAG` or `TODO`. Default: `null`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_by",
                                    "value": "id",
                                    "description": "Sorts the results by either `id`, `name`, `last_ran_at`, or `creation_date`. Default: `id`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_direction",
                                    "value": "asc",
                                    "description": "Sorts the results `asc` for ascending order, `desc` for descending order. Default: `asc`.",
                                    "disabled": false
                                },
                                {
                                    "key": "site_id",
                                    "value": "12345",
                                    "description": "Limit the search to a specific SiteID. Default: null.",
                                    "disabled": false
                                },
                                {
                                    "key": "category",
                                    "value": "Welcome Sequence",
                                    "description": "Limit the search to a specific category. Default: null.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/automations?replicas_of_id=123&include_paused=1&include_archived=1&only_primaries=1&per_page=10&only_type=SMS&sort_by=id&sort_direction=asc&site_id=12345&category=Welcome%20Sequence"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve a list of all the Automations available. The results are paginated"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":31,\"team_id\":\"6316\",\"active\":false,\"archived\":false,\"disabled\":false,\"is_primary\":false,\"replica_of\":null,\"message\":{\"subject\":\"eius et animi\",\"content\":\"Et fugiat sunt nihil accusantium. Mollitia modi deserunt aut ab provident perspiciatis quo. Nostrum aut adipisci quidem nostrum.\\n\\nIncidunt iure odit et et modi ipsum. Omnis autem et consequatur.\\n\\nEnim non facere tempora ex voluptatem laboriosam praesentium. Adipisci molestias fugit deleniti distinctio eum doloremque id. Libero aliquam veniam corporis dolorem mollitia deleniti.\"},\"settings\":{\"name\":\"architecto\",\"category\":null,\"delivery_type\":\"SMS\",\"one_off\":false,\"send_window\":{\"immediate\":true,\"start_mins\":null,\"end_mins\":null},\"start_at\":null},\"audience\":\"sint aut molestiae\",\"created_at\":\"2026-10-03T08:00:35+00:00\",\"updated_at\":\"2026-10-03T08:00:35+00:00\",\"last_ran_at\":null,\"tags\":{\"tags\":[],\"add\":1},\"todo\":{\"overdue_hours\":0,\"postponed_hours\":null,\"priority\":\"LOW\",\"tags\":[]},\"stats\":{\"bounced\":0,\"clicked\":0,\"delivered\":0,\"opened\":0,\"sent\":0,\"unsubscribe_clicked\":0}},{\"id\":32,\"team_id\":\"8222\",\"active\":false,\"archived\":false,\"disabled\":false,\"is_primary\":false,\"replica_of\":null,\"message\":{\"subject\":\"suscipit doloribus fugiat\",\"content\":\"Deserunt et error neque recusandae et. Dolorem et ut dicta. Assumenda consequatur ut et sunt quisquam. Repellendus ut eaque alias ratione dolores.\\n\\nEa ut aut deserunt sint quis. Quod id aspernatur consectetur id a consectetur assumenda. Neque sit sunt nihil accusantium odit ut perspiciatis.\\n\\nAut quis ut dolores omnis et earum. Asperiores est vel id aut officiis eos. Et qui unde et.\"},\"settings\":{\"name\":\"sunt\",\"category\":null,\"delivery_type\":\"SMS\",\"one_off\":false,\"send_window\":{\"immediate\":true,\"start_mins\":null,\"end_mins\":null},\"start_at\":null},\"audience\":\"sed quasi et\",\"created_at\":\"2026-10-03T08:00:35+00:00\",\"updated_at\":\"2026-10-03T08:00:35+00:00\",\"last_ran_at\":null,\"tags\":{\"tags\":[],\"add\":1},\"todo\":{\"overdue_hours\":0,\"postponed_hours\":null,\"priority\":\"LOW\",\"tags\":[]},\"stats\":{\"bounced\":0,\"clicked\":0,\"delivered\":0,\"opened\":0,\"sent\":0,\"unsubscribe_clicked\":0}}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Single Automation",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/automations\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/automations\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "123",
                                    "description": "The ID of the Automation"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Show a single Automation by ID"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":33,\"team_id\":\"2131\",\"active\":false,\"archived\":false,\"disabled\":false,\"is_primary\":false,\"replica_of\":null,\"message\":{\"subject\":\"adipisci quidem nostrum\",\"content\":\"Incidunt iure odit et et modi ipsum. Omnis autem et consequatur.\\n\\nEnim non facere tempora ex voluptatem laboriosam praesentium. Adipisci molestias fugit deleniti distinctio eum doloremque id. Libero aliquam veniam corporis dolorem mollitia deleniti.\\n\\nQuia officia est dignissimos neque. Odio veritatis excepturi doloribus delectus fugit qui repudiandae. Est alias tenetur ratione. Voluptate accusamus ut et recusandae.\"},\"settings\":{\"name\":\"aut\",\"category\":null,\"delivery_type\":\"TODO\",\"one_off\":false,\"send_window\":{\"immediate\":true,\"start_mins\":null,\"end_mins\":null},\"start_at\":null},\"audience\":\"eaque alias ratione\",\"created_at\":\"2026-10-03T08:00:35+00:00\",\"updated_at\":\"2026-10-03T08:00:35+00:00\",\"last_ran_at\":null,\"tags\":{\"tags\":[],\"add\":1},\"todo\":{\"overdue_hours\":0,\"postponed_hours\":null,\"priority\":\"LOW\",\"tags\":[]},\"stats\":{\"completed\":0,\"created\":0,\"deleted\":0,\"open\":0,\"postponed\":0}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update an Automation",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/automations\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/automations\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1234",
                                    "description": "The ID of the Automation"
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"active\":true,\"archived\":true,\"name\":\"bngzmiyvdljnikhw\",\"category_name\":\"aykcmyuwpwlvqwrs\"}"
                        },
                        "description": "Update an Automation by ID"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":34,\"team_id\":\"4680\",\"active\":false,\"archived\":false,\"disabled\":false,\"is_primary\":false,\"replica_of\":null,\"message\":{\"subject\":null,\"content\":null},\"settings\":{\"name\":\"et\",\"category\":null,\"delivery_type\":\"TAG\",\"one_off\":false,\"send_window\":{\"immediate\":true,\"start_mins\":null,\"end_mins\":null},\"start_at\":null},\"audience\":\"consectetur assumenda eaque\",\"created_at\":\"2026-10-03T08:00:35+00:00\",\"updated_at\":\"2026-10-03T08:00:35+00:00\",\"last_ran_at\":null,\"tags\":{\"tags\":[\"ciao\",\"second\"],\"add\":1},\"todo\":{\"overdue_hours\":0,\"postponed_hours\":0,\"priority\":\"LOW\",\"tags\":[]},\"stats\":{\"created\":0}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Stats",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/automations\/:automation_id\/stats",
                            "query": [
                                {
                                    "key": "start_date",
                                    "value": "1581418800",
                                    "description": "The Unix timestamp of the starting date for the stats. Defaults to 7 days ago. Must be a valid date in the format U.",
                                    "disabled": false
                                },
                                {
                                    "key": "end_date",
                                    "value": "1581678000",
                                    "description": "The Unix timestamp of the ending date for the stats. Defaults to now. Must be a valid date in the format U.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/automations\/:automation_id\/stats?start_date=1581418800&end_date=1581678000",
                            "variable": [
                                {
                                    "id": "automation_id",
                                    "key": "automation_id",
                                    "value": "123",
                                    "description": "The ID of the Automation"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Get the stats of a single automation"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": 123,\n    \"team_id\": \"foobar\",\n    \"delivery_type\": \"EMAIL\",\n    \"sent\": 20,\n    \"bounced\": 1,\n    \"delivered\": 19,\n    \"opened\": 0,\n    \"clicked\": 0\n  }\n}\n",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": 123,\n    \"team_id\": \"foobar\",\n    \"delivery_type\": \"SMS\",\n    \"sent\": 20,\n    \"bounced\": 1,\n    \"delivered\": 19,\n    \"opened\": 0,\n    \"clicked\": 0\n  }\n}\n",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": 123,\n    \"team_id\": \"foobar\",\n    \"delivery_type\": \"TODO\",\n    \"created\": 100,\n    \"completed\": 25,\n    \"open\": 40,\n    \"postponed\": 35,\n    \"deleted\": 5\n  }\n}\n",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": 123,\n    \"team_id\": \"foobar\",\n    \"delivery_type\": \"TAG\",\n    \"created\": 100\n  }\n}\n",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Action history",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/automations\/:automation_id\/actions\/:client_id",
                            "query": [
                                {
                                    "key": "start_date",
                                    "value": "1581418800",
                                    "description": "The Unix timestamp of the starting date for the stats. Defaults to 7 days ago. Must be a valid date in the format U.",
                                    "disabled": false
                                },
                                {
                                    "key": "end_date",
                                    "value": "1581678000",
                                    "description": "The Unix timestamp of the ending date for the stats. Defaults to now. Must be a valid date in the format U.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/automations\/:automation_id\/actions\/:client_id?start_date=1581418800&end_date=1581678000",
                            "variable": [
                                {
                                    "id": "automation_id",
                                    "key": "automation_id",
                                    "value": "123",
                                    "description": "The ID of the Automation"
                                },
                                {
                                    "id": "client_id",
                                    "key": "client_id",
                                    "value": "12345",
                                    "description": "The ID of the Client"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Show the most recent actions performed by an automation for a specific client."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"type\":\"EMAIL\",\"action\":{\"delivery_type\":\"EMAIL\",\"sent\":false,\"bounced\":false,\"delivered\":false,\"opened\":false,\"clicked\":false,\"last_contacted_at\":\"2026-10-03T08:00:35+00:00\",\"closed\":false}},{\"type\":\"EMAIL\",\"action\":{\"delivery_type\":\"EMAIL\",\"sent\":false,\"bounced\":false,\"delivered\":false,\"opened\":false,\"clicked\":false,\"last_contacted_at\":\"2026-10-03T08:00:35+00:00\",\"closed\":false}}]}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Staff",
            "description": "All the Endpoints regarding Staff members of your franchise",
            "item": [
                {
                    "name": "Staff list",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/staff",
                            "query": [
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "The amount of staff to return. Max: `250`. Default: `250`. Must be at least 1. Must not be greater than 250.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_by",
                                    "value": "email",
                                    "description": "Sorts the results by either `email`, `name`, or `creation_date`. Default: `email`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_direction",
                                    "value": "asc",
                                    "description": "Sorts the results `asc` for ascending order, `desc` for descending order. Default: `asc`.",
                                    "disabled": false
                                },
                                {
                                    "key": "site_id",
                                    "value": "12345",
                                    "description": "Limit the search to a specific SiteID. Default: null.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/staff?per_page=10&sort_by=email&sort_direction=asc&site_id=12345"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve a list of all the staff members available. Staff members can either be already assigned to\na Studio, or they can be the ones created via API. The results are paginated"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"name\":\"Ms. Audra Crooks II\",\"email\":\"gulgowski.asia@example.com\",\"phone\":null},{\"name\":\"Jermaine Tillman\",\"email\":\"mya96@example.com\",\"phone\":null}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create a Staff",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/staff",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/staff"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"email\":\"gbailey@example.net\",\"name\":\"miyvdljnikhwaykcmyuwpwlvqwr\",\"phone\":\"architecto\"}"
                        },
                        "description": "Create a new staff member"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"name\":\"Ms. Elisabeth Okuneva\",\"email\":\"idickens@example.org\",\"phone\":null,\"studios\":[]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get Staff detail",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/staff\/:email",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/staff\/:email",
                            "variable": [
                                {
                                    "id": "email",
                                    "key": "email",
                                    "value": "foo@bar.com",
                                    "description": "The email of the Staff member"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Shows the details of a specific Staff member, including all the Studios they are part of and their role"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"name\":\"Morgan Hirthe\",\"email\":\"dare.emelie@example.com\",\"phone\":null,\"studios\":[]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Detach a Staff",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/staff\/:email",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/staff\/:email",
                            "variable": [
                                {
                                    "id": "email",
                                    "key": "email",
                                    "value": "foo@bar.com",
                                    "description": "The email of the Staff member"
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Detach a staff member from every Studio"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"name\":\"Morgan Hirthe\",\"email\":\"imclaughlin@example.org\",\"phone\":null,\"studios\":[]}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Add a Staff to a Studio",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/staff",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/staff",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"email\":\"gbailey@example.net\",\"role\":\"owner\"}"
                        },
                        "description": "Add a Staff member to a specific Studio, with a defined role."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": \"foobar\",\n    \"name\": \"My Yoga Studio\",\n    \"phone_number\": \"12225551234\",\n    \"api_set\": true,\n    \"website\": \"https:\\\/\\\/mystudioisgreat.com\\\/landing\",\n    \"timezone\": \"UTC\",\n    \"start_date\": \"2020-09-30\",\n    \"creation_date\": \"2018-02-22T13:00:00+00:00\",\n    \"first_import_done\": true,\n    \"outgoing_settings\": {\n      \"email\": {\n        \"signature\": \"et\",\n        \"sender\": \"umonahan@hotmail.com\",\n        \"sender_name\": \"Prof. Nels Quitzon\"\n      },\n      \"phone\": {\n        \"sender_name\": \"16273854741\",\n        \"phone_forward\": \"12125558888\"\n      },\n      \"address\": \"4800 Oak Grove Dr, Pasadena, CA 91109\"\n    },\n    \"social\": {\n      \"facebook_url\": null,\n      \"instagram_handle\": null,\n      \"twitter_handle\": null\n    },\n    \"urls\": {\n      \"list_packages_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=41\",\n      \"list_contracts_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=40\",\n      \"book_class_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=-7\"\n    },\n    \"variables\": {\n      \"packages\": [\n        {\n          \"package_1\": {\n            \"url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=41\",\n            \"price\": \"$10\",\n            \"name\": \"Great Package\",\n            \"discount_code\": \"CouponName\",\n            \"discount_price\": \"20 dollars\"\n          }\n        },\n        {\n          \"package_2\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_3\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_4\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_5\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        }\n      ],\n      \"contracts\": [\n        {\n          \"contract_1\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_2\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_3\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_4\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_5\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        }\n      ]\n    },\n    \"staff\": [\n      {\n        \"name\": \"Krystal Harvey\",\n        \"email\": \"alexandrea87@example.com\",\n        \"role\": \"owner\"\n      }\n    ],\n    \"groups\": [\n      {\n        \"id\": 1,\n        \"name\": \"front-desk\",\n        \"staff\": [\n          {\n            \"name\": \"Katarina Funk\",\n            \"email\": \"john42@example.com\",\n            \"phone\": null\n          }\n        ]\n      },\n      {\n        \"id\": 2,\n        \"name\": \"teachers\",\n        \"staff\": []\n      }\n    ]\n  }\n}\n",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Change the Staff role",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/staff\/:email",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/staff\/:email",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                },
                                {
                                    "id": "email",
                                    "key": "email",
                                    "value": "foo@bar.com",
                                    "description": "The email of the Staff member"
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"role\":\"manager\"}"
                        },
                        "description": "Change the role of a Staff member of a specific Studio. If the Staff member is not currently\npart of the Studio, it will be added to it."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": \"foobar\",\n    \"name\": \"My Yoga Studio\",\n    \"phone_number\": \"12225551234\",\n    \"api_set\": true,\n    \"website\": \"https:\\\/\\\/mystudioisgreat.com\\\/landing\",\n    \"timezone\": \"UTC\",\n    \"start_date\": \"2020-09-30\",\n    \"creation_date\": \"2018-02-22T13:00:00+00:00\",\n    \"first_import_done\": true,\n    \"outgoing_settings\": {\n      \"email\": {\n        \"signature\": \"et\",\n        \"sender\": \"umonahan@hotmail.com\",\n        \"sender_name\": \"Prof. Nels Quitzon\"\n      },\n      \"phone\": {\n        \"sender_name\": \"16273854741\",\n        \"phone_forward\": \"12125558888\"\n      },\n      \"address\": \"4800 Oak Grove Dr, Pasadena, CA 91109\"\n    },\n    \"social\": {\n      \"facebook_url\": null,\n      \"instagram_handle\": null,\n      \"twitter_handle\": null\n    },\n    \"urls\": {\n      \"list_packages_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=41\",\n      \"list_contracts_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=40\",\n      \"book_class_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=-7\"\n    },\n    \"variables\": {\n      \"packages\": [\n        {\n          \"package_1\": {\n            \"url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=41\",\n            \"price\": \"$10\",\n            \"name\": \"Great Package\",\n            \"discount_code\": \"CouponName\",\n            \"discount_price\": \"20 dollars\"\n          }\n        },\n        {\n          \"package_2\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_3\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_4\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_5\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        }\n      ],\n      \"contracts\": [\n        {\n          \"contract_1\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_2\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_3\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_4\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_5\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        }\n      ]\n    },\n    \"staff\": [\n      {\n        \"name\": \"Krystal Harvey\",\n        \"email\": \"alexandrea87@example.com\",\n        \"role\": \"owner\"\n      }\n    ],\n    \"groups\": [\n      {\n        \"id\": 1,\n        \"name\": \"front-desk\",\n        \"staff\": [\n          {\n            \"name\": \"Katarina Funk\",\n            \"email\": \"john42@example.com\",\n            \"phone\": null\n          }\n        ]\n      },\n      {\n        \"id\": 2,\n        \"name\": \"teachers\",\n        \"staff\": []\n      }\n    ]\n  }\n}\n",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Detach a Staff from a Studio",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/staff\/:email",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/staff\/:email",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                },
                                {
                                    "id": "email",
                                    "key": "email",
                                    "value": "foo@bar.com",
                                    "description": "The email of the Staff member"
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Removes a Staff member from a Studio"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": \"foobar\",\n    \"name\": \"My Yoga Studio\",\n    \"phone_number\": \"12225551234\",\n    \"api_set\": true,\n    \"website\": \"https:\\\/\\\/mystudioisgreat.com\\\/landing\",\n    \"timezone\": \"UTC\",\n    \"start_date\": \"2020-09-30\",\n    \"creation_date\": \"2018-02-22T13:00:00+00:00\",\n    \"first_import_done\": true,\n    \"outgoing_settings\": {\n      \"email\": {\n        \"signature\": \"et\",\n        \"sender\": \"umonahan@hotmail.com\",\n        \"sender_name\": \"Prof. Nels Quitzon\"\n      },\n      \"phone\": {\n        \"sender_name\": \"16273854741\",\n        \"phone_forward\": \"12125558888\"\n      },\n      \"address\": \"4800 Oak Grove Dr, Pasadena, CA 91109\"\n    },\n    \"social\": {\n      \"facebook_url\": null,\n      \"instagram_handle\": null,\n      \"twitter_handle\": null\n    },\n    \"urls\": {\n      \"list_packages_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=41\",\n      \"list_contracts_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=40\",\n      \"book_class_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=-7\"\n    },\n    \"variables\": {\n      \"packages\": [\n        {\n          \"package_1\": {\n            \"url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=41\",\n            \"price\": \"$10\",\n            \"name\": \"Great Package\",\n            \"discount_code\": \"CouponName\",\n            \"discount_price\": \"20 dollars\"\n          }\n        },\n        {\n          \"package_2\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_3\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_4\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_5\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        }\n      ],\n      \"contracts\": [\n        {\n          \"contract_1\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_2\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_3\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_4\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_5\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        }\n      ]\n    },\n    \"staff\": [\n      {\n        \"name\": \"Krystal Harvey\",\n        \"email\": \"alexandrea87@example.com\",\n        \"role\": \"owner\"\n      }\n    ],\n    \"groups\": [\n      {\n        \"id\": 1,\n        \"name\": \"front-desk\",\n        \"staff\": [\n          {\n            \"name\": \"Katarina Funk\",\n            \"email\": \"john42@example.com\",\n            \"phone\": null\n          }\n        ]\n      },\n      {\n        \"id\": 2,\n        \"name\": \"teachers\",\n        \"staff\": []\n      }\n    ]\n  }\n}\n",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Prospect",
            "description": "All the Endpoints regarding the prospects of a specific studio.",
            "item": [
                {
                    "name": "Prospect list",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/prospects",
                            "query": [
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "The amount of prospects to return. Default: `250`. Must be at least 1. Must not be greater than 250.",
                                    "disabled": false
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number. Must be at least 1.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_by",
                                    "value": "id",
                                    "description": "Sorts the results by either `email` or `creation_date`.  Default: `email`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_direction",
                                    "value": "asc",
                                    "description": "Sorts the results `asc` for ascending order, `desc` for descending order. Default: `asc`.",
                                    "disabled": false
                                },
                                {
                                    "key": "email",
                                    "value": "",
                                    "description": "Return only prospects with the selected email. Empty for all prospects . Must be a valid email address.",
                                    "disabled": true
                                },
                                {
                                    "key": "mobile_phone",
                                    "value": "",
                                    "description": "Return only prospects with the selected phone number. Phone format is 12223334444.",
                                    "disabled": true
                                },
                                {
                                    "key": "opted_out_emails",
                                    "value": "1",
                                    "description": "`true` will return prospects opted out from email communications. `false` will show prospects that have not opted out. Do not pass the filter to show all.",
                                    "disabled": false
                                },
                                {
                                    "key": "opted_out_sms",
                                    "value": "1",
                                    "description": "`true` will return prospects opted out from SMS communications. `false` will show prospects that have not opted out. Do not pass the filter to show all.",
                                    "disabled": false
                                },
                                {
                                    "key": "tags[0]",
                                    "value": "signed-up",
                                    "description": "Filter prospects by assigned tag(s). Array.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/prospects?per_page=10&page=1&sort_by=id&sort_direction=asc&email=&mobile_phone=&opted_out_emails=1&opted_out_sms=1&tags%5B0%5D=signed-up",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "123",
                                    "description": "The ID of the Studio"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve a list of the prospects for a specific Studio. The results are paginated"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":\"lead-rosario67@hotmail.com\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/117\\\/lead-rosario67@hotmail.com\",\"email\":\"rosario67@hotmail.com\",\"first_name\":\"Kayden\",\"last_name\":\"Robel\",\"mobile_phone\":\"13572103900\",\"creation_date\":\"2021-02-03T11:32:02+00:00\",\"referred_by\":null,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true},{\"id\":\"lead-bryana.conn@hotmail.com\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/3553\\\/lead-bryana.conn@hotmail.com\",\"email\":\"bryana.conn@hotmail.com\",\"first_name\":\"Grover\",\"last_name\":\"Oberbrunner\",\"mobile_phone\":\"13577302692\",\"creation_date\":\"1971-12-10T19:07:33+00:00\",\"referred_by\":null,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Add a Prospect",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/prospects",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/prospects",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"email\":\"gbailey@example.net\",\"first_name\":\"miyvdljnikhwaykcmyuwpwlvqwr\",\"last_name\":\"sitcpscqldzsnrwtujwvlxjklqp\",\"referred_by\":\"architecto\",\"tags\":[\"ngzmiyvdljnikhwa\"],\"referrer\":{\"first_name\":\"architecto\",\"last_name\":\"architecto\",\"email\":\"zbailey@example.net\",\"phone\":\"architecto\",\"location\":\"architecto\"}}"
                        },
                        "description": "Adds a Prospect to the specified Studio."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n\"data\": {\n\"id\": \"lead-info@loopspark.com\",\n\"email\": \"info@loopspark.com\",\n\"first_name\": \"Luca\",\n\"last_name\": \"Critelli\",\n\"mobile_phone\": null,\n\"creation_date\": \"2020-01-29T11:55:09+00:00\",\n          \"tags\":[{\"name\":\"signed-up\",\"assigned_at\":\"2020-01-29T11:55:09+00:00\"},{\"name\":\"awesome-client\",\"assigned_at\":\"2020-01-29T11:55:09+00:00\"}]\n}\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\n          \"error\": true,\n          \"message\": \"The Prospect already exists\"\n }",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get a prospect",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/prospects\/:email",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/prospects\/:email",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID."
                                },
                                {
                                    "id": "email",
                                    "key": "email",
                                    "value": "jack@bauer.com",
                                    "description": "The prospect email."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the information about a specific prospect"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":\"lead-mhamill@marvin.net\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/8863\\\/lead-mhamill@marvin.net\",\"email\":\"mhamill@marvin.net\",\"first_name\":\"Rhett\",\"last_name\":\"Kuhn\",\"mobile_phone\":\"13573900260\",\"creation_date\":\"1996-08-19T01:34:47+00:00\",\"referred_by\":null,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update a Prospect",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/prospects\/:email",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/prospects\/:email",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21224",
                                    "description": "The studio ID"
                                },
                                {
                                    "id": "email",
                                    "key": "email",
                                    "value": "jack@bauer.com",
                                    "description": "The prospect email"
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"subscribed_email\":false,\"subscribed_sms\":false,\"period_count\":27,\"club_count\":5,\"referrer\":{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@example.com\",\"phone\":\"555-123-4567\",\"location\":\"New York\"}}"
                        },
                        "description": "Updates the information of a Prospect"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":\"lead-rosario67@hotmail.com\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/117\\\/lead-rosario67@hotmail.com\",\"email\":\"rosario67@hotmail.com\",\"first_name\":\"Kayden\",\"last_name\":\"Robel\",\"mobile_phone\":\"13572103900\",\"creation_date\":\"2021-02-03T11:32:02+00:00\",\"referred_by\":null,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n \"error\": true,\n \"message\": \"The prospect cannot be opted-in to SMS because they sent the opt-out text\"\n}",
                            "name": "Trying to SMS opt in a prospect that manually opted out"
                        }
                    ]
                },
                {
                    "name": "Tags",
                    "description": "",
                    "item": [
                        {
                            "name": "Add a Tag",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/prospects\/:email\/tags",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/prospects\/:email\/tags",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID"
                                        },
                                        {
                                            "id": "email",
                                            "key": "email",
                                            "value": "test@email.com",
                                            "description": "The email of the Prospect"
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"tag\":\"Member\"}"
                                },
                                "description": "Assigns a Tag to a specific Prospect"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":\"lead-mhamill@marvin.net\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/8863\\\/lead-mhamill@marvin.net\",\"email\":\"mhamill@marvin.net\",\"first_name\":\"Rhett\",\"last_name\":\"Kuhn\",\"mobile_phone\":\"13573900260\",\"creation_date\":\"1996-08-19T01:34:47+00:00\",\"referred_by\":null,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Remove a Tag",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/prospects\/:email\/tags",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/prospects\/:email\/tags",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID"
                                        },
                                        {
                                            "id": "email",
                                            "key": "email",
                                            "value": "test@email.com",
                                            "description": "The email of the Prospect"
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"tag\":\"signed-up-flow\"}"
                                },
                                "description": "Removes a Tag from a specific Prospect.\nIf the Prospect does not have the Tag assigned, it will return an error `400`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":\"lead-mhamill@marvin.net\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/8863\\\/lead-mhamill@marvin.net\",\"email\":\"mhamill@marvin.net\",\"first_name\":\"Rhett\",\"last_name\":\"Kuhn\",\"mobile_phone\":\"13573900260\",\"creation_date\":\"1996-08-19T01:34:47+00:00\",\"referred_by\":null,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\n \"error\" : true,\n \"message\" : \"The prospect does not have the tag signed-up\"\n}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Custom Fields",
                    "description": "",
                    "item": [
                        {
                            "name": "Get Prospect Custom Fields",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/prospects\/:email\/custom-fields",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/prospects\/:email\/custom-fields",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "100001",
                                            "description": "The studio's site identifier (e.g., MindBody site ID)."
                                        },
                                        {
                                            "id": "email",
                                            "key": "email",
                                            "value": "john.doe@example.com",
                                            "description": "The prospect's email address."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Retrieve all custom field values for a specific prospect.\nReturns field definition along with current value."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"data\": [\n    {\n      \"id\": \"EMERGENCY_CONTACT\",\n      \"value\": \"Jane Doe - 555-1234\"\n    }\n  ]\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update Prospect Custom Fields",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/prospects\/:email\/custom-fields",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/prospects\/:email\/custom-fields",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "100001",
                                            "description": "The studio's site identifier (e.g., MindBody site ID)."
                                        },
                                        {
                                            "id": "email",
                                            "key": "email",
                                            "value": "john.doe@example.com",
                                            "description": "The prospect's email address."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"fields\":[{\"id\":\"EMERGENCY_CONTACT\",\"value\":\"John Doe - 555-1234\"},{\"id\":\"THREE_CS\",\"value\":\"challenge\"}]}"
                                },
                                "description": "Batch update custom field values for a specific prospect.\nCan update multiple fields in a single request."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"data\": [\n    {\n      \"id\": \"EMERGENCY_CONTACT\",\n      \"value\": \"Jane Doe - 555-5678\"\n    }\n  ]\n}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Notes",
                    "description": "",
                    "item": [
                        {
                            "name": "Create a Note",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/prospects\/:email\/notes",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/prospects\/:email\/notes",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID."
                                        },
                                        {
                                            "id": "email",
                                            "key": "email",
                                            "value": "jack@bauer.com",
                                            "description": "The prospect email. Not case-sensitive."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"note\":\"Called about the 6-week challenge.\",\"note_category_id\":\"9b2f0c1e-4c1a-4a53-9a5e-2f7f3d1c8b10\"}"
                                },
                                "description": "Adds a note to a Prospect, found by email (not case-sensitive), dated now. The note is plain text: HTML is shown as text, and line breaks are kept.\nTo categorize it, send the `id` of one of the studio's active note categories (see \"List Note Categories\").\nEach call creates a new note, so do not retry a request that already succeeded.\nThe note has no staff author; LoopSpark shows its author as \"Integration\"."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":\"3f0d6a52-8a4e-4c43-9b1e-6f3c2a1d7e90\",\"note\":\"<p>Called about the 6-week challenge.<\/p>\",\"note_category_id\":\"9b2f0c1e-4c1a-4a53-9a5e-2f7f3d1c8b10\",\"created_at\":\"2026-09-28T14:05:00+00:00\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"message\":\"The note category is not available for this studio.\",\"errors\":{\"note_category_id\":[\"The note category is not available for this studio.\"]}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Messages",
                    "description": "",
                    "item": [
                        {
                            "name": "Send a Text Message",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/prospects\/:email\/messages",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/prospects\/:email\/messages",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID."
                                        },
                                        {
                                            "id": "email",
                                            "key": "email",
                                            "value": "jack@bauer.com",
                                            "description": "The prospect email. Not case-sensitive."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"message\":\"Hi there, see you at the 6pm class!\"}"
                                },
                                "description": "Sends one SMS to a Prospect, found by email (not case-sensitive), from the studio's texting number, in the same conversation thread staff use in LoopSpark.\nPlaceholders are filled in as in LoopSpark: write the name in double curly braces, for example FIRST_NAME. The message can be at most 3 SMS segments long, counted before placeholders are filled in.\nOpt-outs (STOP) and the usual opt-out notice work exactly as for a staff send, and the text counts against the studio's SMS bundle.\nA `201` means the text was queued; delivery happens asynchronously. Each call sends a new text, so do not retry a request that already succeeded.\nThe text has no staff sender; the LoopSpark web app shows its sender as \"Integration\".\nReturns `422` when the person is muted, has opted out of texts, or has no valid mobile number, or when the text is empty once placeholders are filled in.\nReturns `403` when the studio is suspended."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":\"3f0d6a52-8a4e-4c43-9b1e-6f3c2a1d7e90\",\"discussion_id\":\"9b2f0c1e-4c1a-4a53-9a5e-2f7f3d1c8b10\",\"created_at\":\"2026-10-02T14:05:00+00:00\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"message\":\"This client cannot be contacted by text message\",\"errors\":{\"message\":[\"This client cannot be contacted by text message\"]}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Unsubscribe Rules",
            "description": "All the Endpoints regarding the unsubscribe rules of a specific studio.\nThis feature allows you to tell LoopSpark that when we see a client or prospect with the specified `UniqueID`,\nLoopSpark should consider them (un)subscribed on SMS and\/or Email. Prospects' `UniqueID` can be retrieved from the \"Prospect list\"\n         endpoint, using the returned `id` of the prospect",
            "item": [
                {
                    "name": "Add (un)subscribe rule",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/unsubscribe_clients",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/unsubscribe_clients",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"clients\":[{\"id\":\"1000017\",\"unsubscribe\":true,\"type\":\"email\"}]}"
                        },
                        "description": "Add one or multiple (un)subscribe rules for a specific Studio.\nIf an Unsubscribe Rule is already present for the specified client ID, it will be updated."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"client_id\":\"681\",\"unsubscribe\":true,\"type\":\"sms\",\"valid_since\":\"2026-10-03T08:00:36+00:00\"},{\"client_id\":\"369\",\"unsubscribe\":true,\"type\":\"sms\",\"valid_since\":\"2026-10-03T08:00:36+00:00\"}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Remove unsubscribe rule",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/unsubscribe_clients\/:uniqueid",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/unsubscribe_clients\/:uniqueid",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                },
                                {
                                    "id": "uniqueid",
                                    "key": "uniqueid",
                                    "value": "10000012",
                                    "description": "The MBO UniqueID of the Client, or the `ID` of a Prospect"
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"type\":\"email\"}"
                        },
                        "description": "Removes any unsubscribe rule for a specific Client"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n \"error\" : false,\n \"deleted\" : true,\n \"success\": true\n\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\n \"error\" : true,\n \"message\" : \"No rule was found with that unique id and type combination\"\n}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Groups",
            "description": "\nAll the Endpoints regarding the groups and the Staff assigned to them.",
            "item": [
                {
                    "name": "List Groups of a Studio",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/groups",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/groups",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "List the Groups of a Studio and the respective Staff members"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"name\": \"foobar\",\n      \"staff\": [\n        {\n          \"name\": \"Dr. Zane Roberts Sr.\",\n          \"email\": \"foo@current.com\",\n          \"phone\": null\n        },\n        {\n          \"name\": \"Kendrick O'Kon\",\n          \"email\": \"stehr.ciara@example.com\",\n          \"phone\": null\n        }\n      ]\n    },\n    {\n      \"id\": 2,\n      \"name\": \"frontdesk\",\n      \"staff\": [\n        {\n          \"name\": \"Miss Megane Feeney\",\n          \"email\": \"myriam99@example.net\",\n          \"phone\": null\n        },\n        {\n          \"name\": \"Benedict Medhurst\",\n          \"email\": \"cassin.adrianna@example.net\",\n          \"phone\": null\n        },\n        {\n          \"name\": \"Roderick Lebsack\",\n          \"email\": \"gabriella.bogisich@example.net\",\n          \"phone\": null\n        },\n        {\n          \"name\": \"Okey Grady\",\n          \"email\": \"tpagac@example.org\",\n          \"phone\": null\n        }\n      ]\n    }\n  ]\n}\n",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create a Group",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/groups",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/groups",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"group_name\":\"frontdesk\",\"staff\":[\"gbailey@example.net\"]}"
                        },
                        "description": "Use this endpoint to create a Group. If the Group is already present, the passed Staff will be added to the Group."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"data\": {\n    \"id\": 14,\n    \"name\": \"frontdesk\",\n    \"staff\": [\n      {\n        \"name\": \"Jane Doe\",\n        \"email\": \"frontdesk@studio.com\",\n        \"phone\": null\n      },\n      {\n        \"name\": \"Jack Bauer\",\n        \"email\": \"jack@bauer.com\",\n        \"phone\": null\n      }\n    ]\n  }\n}\n",
                            "name": "Successfully created"
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"staff.1\": [\n      \"Staff member does not exist\"\n    ]\n  }\n}\n",
                            "name": "Staff is not part of the Studio"
                        }
                    ]
                },
                {
                    "name": "Update Group Members",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/groups",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/groups",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "PATCH",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"group_name\":\"frontdesk\",\"staff\":[\"gbailey@example.net\"]}"
                        },
                        "description": "Use this endpoint to update the Staff members assigned to a specific Group. This will detach any other Staff from the Group, and assign only the ones specified in the `staff` array"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"data\": {\n    \"id\": 14,\n    \"name\": \"frontdesk\",\n    \"staff\": [\n      {\n        \"name\": \"Jane Doe\",\n        \"email\": \"frontdesk@studio.com\",\n        \"phone\": null\n      },\n      {\n        \"name\": \"Jack Bauer\",\n        \"email\": \"jack@bauer.com\",\n        \"phone\": null\n      }\n    ]\n  }\n}\n",
                            "name": "Successfully updated"
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n  \"message\": \"The given data was invalid.\",\n  \"errors\": {\n    \"staff.1\": [\n      \"Staff member does not exist\"\n    ]\n  }\n}\n",
                            "name": "Staff is not part of the Studio"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Studio",
            "description": "All the Endpoints regarding the studios belonging to your franchise.",
            "item": [
                {
                    "name": "Studio list",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/studios",
                            "query": [
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "The amount of studios to return. Max: `250`. Default: `250`. Must be at least 1. Must not be greater than 250.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_by",
                                    "value": "id",
                                    "description": "Sorts the results by either `id` or `creation_date`.  Default: `id`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_direction",
                                    "value": "asc",
                                    "description": "Sorts the results `asc` for ascending order, `desc` for descending order. Default: `asc`.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/studios?per_page=10&sort_by=id&sort_direction=asc"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve the list of all the studios available. The results are paginated"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":\"739\",\"name\":\"Dr. Courtney D'Amore II\",\"api_set\":true,\"phone_number\":null,\"timezone\":\"UTC\",\"website\":\"http:\\\/\\\/www.mosciski.com\\\/dolorem-expedita-vero-natus-laudantium-delectus-sunt-neque\",\"creation_date\":\"2026-10-03T08:00:35+00:00\",\"start_date\":null,\"first_import_done\":true,\"is_template\":false,\"outgoing_settings\":{\"email\":{\"signature\":\"alias\",\"sender\":\"xokuneva@eichmann.com\",\"sender_name\":\"Aracely Yost\"},\"phone\":{\"sender_name\":\"10912332112\",\"phone_forward\":null},\"address\":\"78972 Floyd Row\\nSouth Fayetown, OR 63567-4075\"},\"social\":{\"facebook_url\":null,\"instagram_handle\":null,\"twitter_handle\":null},\"urls\":{\"list_packages_url\":\"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=739&stype=41\",\"list_contracts_url\":\"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=739&stype=40\",\"book_class_url\":\"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=739&stype=-7\"},\"variables\":{\"packages\":[{\"package_1\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"package_2\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"package_3\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"package_4\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"package_5\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}}],\"contracts\":[{\"contract_1\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"contract_2\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"contract_3\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"contract_4\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"contract_5\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}}]},\"period_count\":{\"type\":\"ALL_TIME\",\"day\":0},\"manual_club_count\":false},{\"id\":\"5718\",\"name\":\"Violet Kub\",\"api_set\":true,\"phone_number\":null,\"timezone\":\"UTC\",\"website\":\"http:\\\/\\\/kozey.com\\\/\",\"creation_date\":\"2026-10-03T08:00:35+00:00\",\"start_date\":null,\"first_import_done\":true,\"is_template\":false,\"outgoing_settings\":{\"email\":{\"signature\":\"rerum\",\"sender\":\"emarvin@yahoo.com\",\"sender_name\":\"Gaetano Altenwerth\"},\"phone\":{\"sender_name\":\"13506254432\",\"phone_forward\":null},\"address\":\"37248 Wuckert View\\nWest Francisco, NC 09772-5660\"},\"social\":{\"facebook_url\":null,\"instagram_handle\":null,\"twitter_handle\":null},\"urls\":{\"list_packages_url\":\"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=5718&stype=41\",\"list_contracts_url\":\"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=5718&stype=40\",\"book_class_url\":\"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=5718&stype=-7\"},\"variables\":{\"packages\":[{\"package_1\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"package_2\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"package_3\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"package_4\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"package_5\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}}],\"contracts\":[{\"contract_1\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"contract_2\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"contract_3\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"contract_4\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}},{\"contract_5\":{\"url\":null,\"price\":null,\"name\":null,\"discount_code\":null,\"discount_price\":null}}]},\"period_count\":{\"type\":\"ALL_TIME\",\"day\":0},\"manual_club_count\":false}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get a Studio",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/studios\/:siteId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/studios\/:siteId",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Shows the details of a specific studio. It shows also a list of the staff members assigned\nto this Studio and their respective role"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": \"foobar\",\n    \"name\": \"My Yoga Studio\",\n    \"phone_number\": \"12225551234\",\n    \"api_set\": true,\n    \"website\": \"https:\\\/\\\/mystudioisgreat.com\\\/landing\",\n    \"timezone\": \"UTC\",\n    \"start_date\": \"2020-09-30\",\n    \"creation_date\": \"2018-02-22T13:00:00+00:00\",\n    \"first_import_done\": true,\n    \"outgoing_settings\": {\n      \"email\": {\n        \"signature\": \"et\",\n        \"sender\": \"umonahan@hotmail.com\",\n        \"sender_name\": \"Prof. Nels Quitzon\"\n      },\n      \"phone\": {\n        \"sender_name\": \"16273854741\",\n        \"phone_forward\": \"12125558888\"\n      },\n      \"address\": \"4800 Oak Grove Dr, Pasadena, CA 91109\"\n    },\n    \"social\": {\n      \"facebook_url\": null,\n      \"instagram_handle\": null,\n      \"twitter_handle\": null\n    },\n    \"urls\": {\n      \"list_packages_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=41\",\n      \"list_contracts_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=40\",\n      \"book_class_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=-7\"\n    },\n    \"variables\": {\n      \"packages\": [\n        {\n          \"package_1\": {\n            \"url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=41\",\n            \"price\": \"$10\",\n            \"name\": \"Great Package\",\n            \"discount_code\": \"CouponName\",\n            \"discount_price\": \"20 dollars\"\n          }\n        },\n        {\n          \"package_2\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_3\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_4\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_5\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        }\n      ],\n      \"contracts\": [\n        {\n          \"contract_1\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_2\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_3\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_4\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_5\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        }\n      ]\n    },\n    \"staff\": [\n      {\n        \"name\": \"Krystal Harvey\",\n        \"email\": \"alexandrea87@example.com\",\n        \"role\": \"owner\"\n      }\n    ],\n    \"groups\": [\n      {\n        \"id\": 1,\n        \"name\": \"front-desk\",\n        \"staff\": [\n          {\n            \"name\": \"Katarina Funk\",\n            \"email\": \"john42@example.com\",\n            \"phone\": null\n          }\n        ]\n      },\n      {\n        \"id\": 2,\n        \"name\": \"teachers\",\n        \"staff\": []\n      }\n    ]\n  }\n}\n",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update a Studio",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/studios\/:siteId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/studios\/:siteId",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"bngzmiyvdljnikhw\",\"timezone\":\"America\\\/Indiana\\\/Tell_City\",\"start_date\":\"2020-09-30\",\"email_signature\":\"architecto\",\"email_sender\":\"zbailey@example.net\",\"email_sender_name\":\"iyvdljnikhwaykcm\",\"sms_sender\":\"yuwpwlvqwrsitcps\",\"phone_forward\":\"15552221234\",\"facebook_url\":\"http:\\\/\\\/mclaughlin.info\\\/dolores-enim-non-facere-tempora\",\"instagram_handle\":\"@loopspark\",\"twitter_handle\":\"@loopspark\",\"list_packages_url\":\"http:\\\/\\\/www.leffler.info\\\/quis-adipisci-molestias-fugit-deleniti-distinctio-eum\",\"list_contracts_url\":\"https:\\\/\\\/nitzsche.net\\\/aliquam-veniam-corporis-dolorem-mollitia-deleniti-nemo.html\",\"book_class_url\":\"https:\\\/\\\/www.balistreri.org\\\/dignissimos-neque-blanditiis-odio\",\"can_create_automations\":true,\"manual_club_count\":true,\"website\":\"https:\\\/\\\/bradtke.org\\\/fugit-qui-repudiandae-laboriosam-est-alias.html\",\"period_count_type\":\"API\",\"period_count_day\":1,\"package_1_url\":\"http:\\\/\\\/howe.com\\\/accusamus-ut-et-recusandae.html\",\"package_1_price\":\"architecto\",\"package_1_name\":\"architecto\",\"package_1_discount_code\":\"architecto\",\"package_1_discount_price\":\"architecto\",\"package_2_url\":\"http:\\\/\\\/bailey.com\\\/\",\"package_2_price\":\"architecto\",\"package_2_name\":\"architecto\",\"package_2_discount_code\":\"architecto\",\"package_2_discount_price\":\"architecto\",\"package_3_url\":\"http:\\\/\\\/bailey.com\\\/\",\"package_3_price\":\"architecto\",\"package_3_name\":\"architecto\",\"package_3_discount_code\":\"architecto\",\"package_3_discount_price\":\"architecto\",\"package_4_url\":\"http:\\\/\\\/bailey.com\\\/\",\"package_4_price\":\"architecto\",\"package_4_name\":\"architecto\",\"package_4_discount_code\":\"architecto\",\"package_4_discount_price\":\"architecto\",\"package_5_url\":\"http:\\\/\\\/bailey.com\\\/\",\"package_5_price\":\"architecto\",\"package_5_name\":\"architecto\",\"package_5_discount_code\":\"architecto\",\"package_5_discount_price\":\"architecto\",\"contract_1_url\":\"http:\\\/\\\/bailey.com\\\/\",\"contract_1_price\":\"architecto\",\"contract_1_name\":\"architecto\",\"contract_1_discount_code\":\"architecto\",\"contract_1_discount_price\":\"architecto\",\"contract_2_url\":\"http:\\\/\\\/bailey.com\\\/\",\"contract_2_price\":\"architecto\",\"contract_2_name\":\"architecto\",\"contract_2_discount_code\":\"architecto\",\"contract_2_discount_price\":\"architecto\",\"contract_3_url\":\"http:\\\/\\\/bailey.com\\\/\",\"contract_3_price\":\"architecto\",\"contract_3_name\":\"architecto\",\"contract_3_discount_code\":\"architecto\",\"contract_3_discount_price\":\"architecto\",\"contract_4_url\":\"http:\\\/\\\/bailey.com\\\/\",\"contract_4_price\":\"architecto\",\"contract_4_name\":\"architecto\",\"contract_4_discount_code\":\"architecto\",\"contract_4_discount_price\":\"architecto\",\"contract_5_url\":\"http:\\\/\\\/bailey.com\\\/\",\"contract_5_price\":\"architecto\",\"contract_5_name\":\"architecto\",\"contract_5_discount_code\":\"architecto\",\"contract_5_discount_price\":\"architecto\"}"
                        },
                        "description": "Update a specific studio information"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": {\n    \"id\": \"foobar\",\n    \"name\": \"My Yoga Studio\",\n    \"phone_number\": \"12225551234\",\n    \"api_set\": true,\n    \"website\": \"https:\\\/\\\/mystudioisgreat.com\\\/landing\",\n    \"timezone\": \"UTC\",\n    \"start_date\": \"2020-09-30\",\n    \"creation_date\": \"2018-02-22T13:00:00+00:00\",\n    \"first_import_done\": true,\n    \"outgoing_settings\": {\n      \"email\": {\n        \"signature\": \"et\",\n        \"sender\": \"umonahan@hotmail.com\",\n        \"sender_name\": \"Prof. Nels Quitzon\"\n      },\n      \"phone\": {\n        \"sender_name\": \"16273854741\",\n        \"phone_forward\": \"12125558888\"\n      },\n      \"address\": \"4800 Oak Grove Dr, Pasadena, CA 91109\"\n    },\n    \"social\": {\n      \"facebook_url\": null,\n      \"instagram_handle\": null,\n      \"twitter_handle\": null\n    },\n    \"urls\": {\n      \"list_packages_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=41\",\n      \"list_contracts_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=40\",\n      \"book_class_url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=-7\"\n    },\n    \"variables\": {\n      \"packages\": [\n        {\n          \"package_1\": {\n            \"url\": \"https:\\\/\\\/clients.mindbodyonline.com\\\/classic\\\/ws?studioid=foobar&stype=41\",\n            \"price\": \"$10\",\n            \"name\": \"Great Package\",\n            \"discount_code\": \"CouponName\",\n            \"discount_price\": \"20 dollars\"\n          }\n        },\n        {\n          \"package_2\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_3\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_4\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"package_5\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        }\n      ],\n      \"contracts\": [\n        {\n          \"contract_1\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_2\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_3\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_4\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        },\n        {\n          \"contract_5\": {\n            \"url\": null,\n            \"price\": null,\n            \"name\": null,\n            \"discount_code\": null,\n            \"discount_price\": null\n          }\n        }\n      ]\n    },\n    \"staff\": [\n      {\n        \"name\": \"Krystal Harvey\",\n        \"email\": \"alexandrea87@example.com\",\n        \"role\": \"owner\"\n      }\n    ],\n    \"groups\": [\n      {\n        \"id\": 1,\n        \"name\": \"front-desk\",\n        \"staff\": [\n          {\n            \"name\": \"Katarina Funk\",\n            \"email\": \"john42@example.com\",\n            \"phone\": null\n          }\n        ]\n      },\n      {\n        \"id\": 2,\n        \"name\": \"teachers\",\n        \"staff\": []\n      }\n    ]\n  }\n}\n",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Forms",
            "description": "\nAll the Endpoints regarding the groups and the Staff assigned to them.",
            "item": [
                {
                    "name": "Forms list",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/forms",
                            "query": [
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "The amount of forms to return. Max: `250`. Default: `50`. Must be at least 1. Must not be greater than 250.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_by",
                                    "value": "id",
                                    "description": "Sorts the results by either `id` or `creation_date`.  Default: `id`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_direction",
                                    "value": "asc",
                                    "description": "Sorts the results `asc` for ascending order, `desc` for descending order. Default: `asc`.",
                                    "disabled": false
                                },
                                {
                                    "key": "category",
                                    "value": "",
                                    "description": "Return only forms of this specific category. Empty for all forms.",
                                    "disabled": true
                                },
                                {
                                    "key": "include_archived",
                                    "value": "",
                                    "description": "Include archived forms in the list. Default: `false`.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/forms?per_page=10&sort_by=id&sort_direction=asc&category=&include_archived=",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve a list of the forms for a specific Studio. The results are paginated"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":\"8818a7b7-d58c-4d9a-806d-bd382bb7dd52\",\"name\":\"explicabo\",\"category\":\"non\",\"archived\":false,\"creates_pdf\":false,\"form_url\":\"https:\\\/\\\/lo.ls\\\/IdC1wXm\",\"send_email_copy_to\":null,\"allows_new_clients\":false,\"thank_you_url\":null},{\"id\":\"e4bf9b25-8d13-46b2-a66f-aa26aeaf6fae\",\"name\":\"et\",\"category\":\"assumenda\",\"archived\":false,\"creates_pdf\":false,\"form_url\":\"https:\\\/\\\/lo.ls\\\/MQa5UUA\",\"send_email_copy_to\":null,\"allows_new_clients\":false,\"thank_you_url\":null}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get a single form",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/forms\/:formId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/forms\/:formId",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                },
                                {
                                    "id": "formId",
                                    "key": "formId",
                                    "value": "61f48cb0-9b59-4ac5-8a46-c4192a5e750b",
                                    "description": "The form ID"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the information of a specific form"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":\"c4dece0b-6ac9-4961-9dc2-51fa495788b6\",\"name\":\"aut\",\"category\":\"adipisci\",\"archived\":false,\"creates_pdf\":false,\"form_url\":\"https:\\\/\\\/lo.ls\\\/paorvUv\",\"send_email_copy_to\":null,\"allows_new_clients\":false,\"thank_you_url\":null}}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Client",
            "description": "All the Endpoints regarding the clients of a specific studio.",
            "item": [
                {
                    "name": "Client list",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/clients",
                            "query": [
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "The amount of clients to return. Default: `250`. Must be at least 1. Must not be greater than 250.",
                                    "disabled": false
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number. Must be at least 1.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_by",
                                    "value": "id",
                                    "description": "Sorts the results by either `id` or `creation_date`.  Default: `id`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_direction",
                                    "value": "asc",
                                    "description": "Sorts the results `asc` for ascending order, `desc` for descending order. Default: `asc`.",
                                    "disabled": false
                                },
                                {
                                    "key": "email",
                                    "value": "",
                                    "description": "Return only clients with the selected email. Empty for all clients . Must be a valid email address.",
                                    "disabled": true
                                },
                                {
                                    "key": "mobile_phone",
                                    "value": "",
                                    "description": "Return only clients with the selected phone number. Phone format is 12223334444.",
                                    "disabled": true
                                },
                                {
                                    "key": "opted_out_emails",
                                    "value": "1",
                                    "description": "`true` will return clients opted out from email communications. `false` will show clients that have not opted out. Do not pass the filter to show all.",
                                    "disabled": false
                                },
                                {
                                    "key": "opted_out_sms",
                                    "value": "1",
                                    "description": "`true` will return clients opted out from SMS communications. `false` will show clients that have not opted out. Do not pass the filter to show all.",
                                    "disabled": false
                                },
                                {
                                    "key": "tags[0]",
                                    "value": "signed-up",
                                    "description": "Filter clients by assigned tag(s). Array.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/clients?per_page=10&page=1&sort_by=id&sort_direction=asc&email=&mobile_phone=&opted_out_emails=1&opted_out_sms=1&tags%5B0%5D=signed-up",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "123",
                                    "description": "The ID of the Studio"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve a list of clients for a specific Studio. The results are paginated"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":\"2137449171\",\"team_id\":\"6789\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/6789\\\/2137449171\",\"email\":\"kconsidine@hotmail.com\",\"active\":true,\"first_name\":\"Pauline\",\"last_name\":\"Schultz\",\"mobile_phone\":\"13577773167\",\"ltv\":0,\"phone_home\":null,\"phone_work\":null,\"referred_by\":null,\"address\":{\"city\":\"North Eileen\",\"address\":\"4706 Madisen Avenue Suite 636\\nNew Josianetown, WV 49408-0159\",\"postal_code\":\"79150-6985\",\"state\":\"CA\"},\"emergency_contact\":{\"email\":\"mitchell.matilda@yahoo.com\",\"name\":\"Mina Bauch\",\"phone\":\"13573073143\",\"relationship\":\"wife\"},\"birthday\":\"1972-08-25T23:37:54+00:00\",\"creation_date\":\"2023-10-10T09:48:20+00:00\",\"refreshed_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"unsubscribed_sms_text\":false,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"stats\":{\"period_count\":12,\"club_count\":0,\"open_discussions\":0,\"open_todos\":0},\"social\":{\"twitter\":[],\"linkedin\":[],\"facebook\":[],\"instagram\":[]}},{\"id\":\"1796147067\",\"team_id\":\"5854\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/5854\\\/1796147067\",\"email\":\"tristin.mohr@leffler.com\",\"active\":true,\"first_name\":\"Vella\",\"last_name\":\"Ziemann\",\"mobile_phone\":\"13577240472\",\"ltv\":0,\"phone_home\":null,\"phone_work\":null,\"referred_by\":null,\"address\":{\"city\":\"Maraborough\",\"address\":\"753 Jakubowski Track\\nLake Daronside, MT 65023-7717\",\"postal_code\":\"31500-3812\",\"state\":\"CA\"},\"emergency_contact\":{\"email\":\"noe.ankunding@hotmail.com\",\"name\":\"Prof. Kenna Ortiz\",\"phone\":\"13571889386\",\"relationship\":\"wife\"},\"birthday\":\"2005-10-28T06:49:30+00:00\",\"creation_date\":\"2024-05-25T01:27:05+00:00\",\"refreshed_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"unsubscribed_sms_text\":false,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"stats\":{\"period_count\":12,\"club_count\":0,\"open_discussions\":0,\"open_todos\":0},\"social\":{\"twitter\":[],\"linkedin\":[],\"facebook\":[],\"instagram\":[]}}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get a client",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/clients\/:clientId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/clients\/:clientId",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID."
                                },
                                {
                                    "id": "clientId",
                                    "key": "clientId",
                                    "value": "10000023",
                                    "description": "The client ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the information about a specific client"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":\"4274032\",\"team_id\":\"2603\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/2603\\\/4274032\",\"email\":\"green.doris@gmail.com\",\"active\":true,\"first_name\":\"Emanuel\",\"last_name\":\"Emmerich\",\"mobile_phone\":\"13573996721\",\"ltv\":0,\"phone_home\":null,\"phone_work\":null,\"referred_by\":null,\"address\":{\"city\":\"New Monaland\",\"address\":\"422 Moen Corners\\nSouth Moises, NH 64519\",\"postal_code\":\"91956\",\"state\":\"CA\"},\"emergency_contact\":{\"email\":\"kirsten.ward@yahoo.com\",\"name\":\"Hank Batz\",\"phone\":\"13570216494\",\"relationship\":\"wife\"},\"birthday\":\"1990-07-16T02:01:30+00:00\",\"creation_date\":\"2024-11-19T16:36:21+00:00\",\"refreshed_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"unsubscribed_sms_text\":false,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"stats\":{\"period_count\":12,\"club_count\":0,\"open_discussions\":0,\"open_todos\":0},\"social\":{\"twitter\":[],\"linkedin\":[],\"facebook\":[],\"instagram\":[]}}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update a Client",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/clients\/:clientId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/clients\/:clientId",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21224",
                                    "description": "The studio ID"
                                },
                                {
                                    "id": "clientId",
                                    "key": "clientId",
                                    "value": "10000024",
                                    "description": "The client ID"
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"subscribed_email\":false,\"subscribed_sms\":false,\"period_count\":27,\"club_count\":5,\"referrer\":{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@example.com\",\"phone\":\"555-123-4567\",\"location\":\"New York\"}}"
                        },
                        "description": "Updates the information of a Client"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":\"524453158\",\"team_id\":\"9290\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/9290\\\/524453158\",\"email\":\"qankunding@gmail.com\",\"active\":true,\"first_name\":\"Elton\",\"last_name\":\"Gaylord\",\"mobile_phone\":\"13576738443\",\"ltv\":0,\"phone_home\":null,\"phone_work\":null,\"referred_by\":null,\"address\":{\"city\":\"South Dorisfurt\",\"address\":\"5805 Noah Via Suite 679\\nSouth Katlyn, VA 78637\",\"postal_code\":\"80568\",\"state\":\"CA\"},\"emergency_contact\":{\"email\":\"vraynor@labadie.com\",\"name\":\"Mr. Carey Smitham\",\"phone\":\"13573341494\",\"relationship\":\"wife\"},\"birthday\":\"1986-10-21T08:44:51+00:00\",\"creation_date\":\"2026-08-12T05:46:43+00:00\",\"refreshed_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":false,\"can_contact_by_sms\":false,\"unsubscribed_email_at\":\"2026-10-03T08:00:35+00:00\",\"unsubscribed_sms_at\":\"2026-10-03T08:00:35+00:00\",\"unsubscribed_sms_text\":false,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"stats\":{\"period_count\":12,\"club_count\":0,\"open_discussions\":0,\"open_todos\":0},\"social\":{\"twitter\":[],\"linkedin\":[],\"facebook\":[],\"instagram\":[]}}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\n \"error\": true,\n \"message\": \"Cannot update club_count when manual_club_count is disabled for the studio\"\n}",
                            "name": "Trying to update club_count when manual_club_count is disabled"
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n \"error\": true,\n \"message\": \"The client cannot be opted-in to SMS because they sent the opt-out text\"\n}",
                            "name": "Trying to SMS opt in a client that manually opted out"
                        }
                    ]
                },
                {
                    "name": "Tags",
                    "description": "",
                    "item": [
                        {
                            "name": "Add a Tag",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/clients\/:clientId\/tags",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/clients\/:clientId\/tags",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID"
                                        },
                                        {
                                            "id": "clientId",
                                            "key": "clientId",
                                            "value": "10000023",
                                            "description": "The client ID"
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"tag\":\"Member\"}"
                                },
                                "description": "Assigns a Tag to a specific Client"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":\"1365105717\",\"team_id\":\"9290\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/9290\\\/1365105717\",\"email\":\"wbatz@kutch.com\",\"active\":true,\"first_name\":\"Micaela\",\"last_name\":\"Ankunding\",\"mobile_phone\":\"13576738443\",\"ltv\":0,\"phone_home\":null,\"phone_work\":null,\"referred_by\":null,\"address\":{\"city\":\"South Dorisfurt\",\"address\":\"2669 Wolff Trail\\nBeierburgh, VA 78637\",\"postal_code\":\"80568\",\"state\":\"CA\"},\"emergency_contact\":{\"email\":\"kconsidine@hotmail.com\",\"name\":\"Henri Mitchell\",\"phone\":\"13574946036\",\"relationship\":\"wife\"},\"birthday\":\"1986-10-21T08:44:51+00:00\",\"creation_date\":\"2026-08-12T05:46:43+00:00\",\"refreshed_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"unsubscribed_sms_text\":false,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"stats\":{\"period_count\":12,\"club_count\":0,\"open_discussions\":0,\"open_todos\":0},\"social\":{\"twitter\":[],\"linkedin\":[],\"facebook\":[],\"instagram\":[]}}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Remove a Tag",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/clients\/:clientId\/tags",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/clients\/:clientId\/tags",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID"
                                        },
                                        {
                                            "id": "clientId",
                                            "key": "clientId",
                                            "value": "10000023",
                                            "description": "The client ID"
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"tag\":\"signed-up-flow\"}"
                                },
                                "description": "Removes a Tag from a specific Client.\nIf the Client does not have the Tag assigned, it will return an error `400`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":\"1880026316\",\"team_id\":\"889\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/889\\\/1880026316\",\"email\":\"torp.florence@wolff.info\",\"active\":true,\"first_name\":\"Cynthia\",\"last_name\":\"Fahey\",\"mobile_phone\":\"13577037707\",\"ltv\":0,\"phone_home\":null,\"phone_work\":null,\"referred_by\":null,\"address\":{\"city\":\"New Modesta\",\"address\":\"85188 Victoria Shoals\\nWest Artborough, NV 18607-5439\",\"postal_code\":\"26085\",\"state\":\"CA\"},\"emergency_contact\":{\"email\":\"mcdermott.verlie@gmail.com\",\"name\":\"Shayna Raynor Jr.\",\"phone\":\"13573786691\",\"relationship\":\"wife\"},\"birthday\":\"1966-10-14T12:39:49+00:00\",\"creation_date\":\"2025-02-26T10:16:56+00:00\",\"refreshed_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"unsubscribed_sms_text\":false,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"stats\":{\"period_count\":null,\"club_count\":0,\"open_discussions\":0,\"open_todos\":0},\"social\":{\"twitter\":[],\"linkedin\":[],\"facebook\":[],\"instagram\":[]}}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\n \"error\" : true,\n \"message\" : \"The client does not have the tag signed-up\"\n}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Forms",
                    "description": "",
                    "item": [
                        {
                            "name": "Lists the form submissions",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/clients\/:clientId\/form_submissions",
                                    "query": [
                                        {
                                            "key": "page",
                                            "value": "1",
                                            "description": "The page number.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "per_page",
                                            "value": "10",
                                            "description": "The amount of clients to return. Max: `250`. Default: `10`. Must be at least 1. Must not be greater than 250.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "sort_by",
                                            "value": "creation_date",
                                            "description": "Sorts the results by either `id` or `creation_date`.  Default: `creation_date`.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "sort_direction",
                                            "value": "asc",
                                            "description": "Sorts the results `asc` for ascending order, `desc` for descending order. Default: `desc`.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "form_id",
                                            "value": "",
                                            "description": "Return only forms submissions of a specific form. Must be a valid UUID. Must match an existing stored value.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "category",
                                            "value": "",
                                            "description": "Return only forms submissions of forms belonging to a specific category.",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/clients\/:clientId\/form_submissions?page=1&per_page=10&sort_by=creation_date&sort_direction=asc&form_id=&category=",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID."
                                        },
                                        {
                                            "id": "clientId",
                                            "key": "clientId",
                                            "value": "10000023",
                                            "description": "The client ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Lists the form submissions of a specific client"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":\"a621f6a5-219b-4a92-bc68-04a8b423d629\",\"submission_date\":\"2026-10-03T08:00:35+00:00\",\"pdf_url\":\"http:\\\/\\\/www.bailey.biz\\\/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html\",\"form\":{\"id\":\"d0ae0146-ed1a-47b8-9d38-d39cf6e0b512\",\"name\":\"rem\",\"category\":\"ea\",\"archived\":false,\"creates_pdf\":false,\"form_url\":\"https:\\\/\\\/lo.ls\\\/C99cQnt\",\"send_email_copy_to\":null,\"allows_new_clients\":false,\"thank_you_url\":null}}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Custom Fields",
                    "description": "",
                    "item": [
                        {
                            "name": "Get Client Custom Fields",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/clients\/:clientId\/custom-fields",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/clients\/:clientId\/custom-fields",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "100001",
                                            "description": "The studio's site identifier (e.g., MindBody site ID)."
                                        },
                                        {
                                            "id": "clientId",
                                            "key": "clientId",
                                            "value": "100000001",
                                            "description": "The client's external identifier (e.g., MindBody client ID)."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Retrieve all custom field values for a specific client.\nReturns field definition along with current value."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"data\": [\n    {\n      \"custom_field\": {\n        \"id\": \"EMERGENCY_CONTACT\",\n        \"name\": \"Emergency Contact\",\n        \"type\": \"string\",\n        \"field_options\": null,\n        \"description\": \"Person to contact in case of emergency\"\n      },\n      \"value\": \"John Doe - 555-1234\"\n    },\n    {\n      \"custom_field\": {\n        \"id\": \"THREE_CS\",\n        \"name\": \"Three Cs\",\n        \"type\": \"single_select\",\n        \"field_options\": [\n          {\"value\": \"challenge\", \"label\": \"Challenge\", \"is_active\": true, \"sort_order\": 1},\n          {\"value\": \"commitment\", \"label\": \"Commitment\", \"is_active\": true, \"sort_order\": 2},\n          {\"value\": \"community\", \"label\": \"Community\", \"is_active\": true, \"sort_order\": 3}\n        ],\n        \"description\": \"Select primary motivation\"\n      },\n      \"value\": \"challenge\"\n    }\n  ]\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update Client Custom Fields",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/clients\/:clientId\/custom-fields",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/clients\/:clientId\/custom-fields",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "100001",
                                            "description": "The studio's site identifier (e.g., MindBody site ID)."
                                        },
                                        {
                                            "id": "clientId",
                                            "key": "clientId",
                                            "value": "100000001",
                                            "description": "The client's external identifier (e.g., MindBody client ID)."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"fields\":[{\"id\":\"EMERGENCY_CONTACT\",\"value\":\"John Doe - 555-1234\"},{\"id\":\"THREE_CS\",\"value\":\"challenge\"}]}"
                                },
                                "description": "Batch update custom field values for a specific client.\nCan update multiple fields in a single request."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"data\": [\n    {\n      \"custom_field\": {\n        \"id\": \"EMERGENCY_CONTACT\",\n        \"name\": \"Emergency Contact\",\n        \"type\": \"string\"\n      },\n      \"value\": \"Jane Doe - 555-5678\"\n    }\n  ]\n}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Notes",
                    "description": "",
                    "item": [
                        {
                            "name": "Create a Note",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/clients\/:clientId\/notes",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/clients\/:clientId\/notes",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID."
                                        },
                                        {
                                            "id": "clientId",
                                            "key": "clientId",
                                            "value": "10000023",
                                            "description": "The client ID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"note\":\"Called about the 6-week challenge.\",\"note_category_id\":\"9b2f0c1e-4c1a-4a53-9a5e-2f7f3d1c8b10\"}"
                                },
                                "description": "Adds a note to a Client, dated now. The note is plain text: HTML is shown as text, and line breaks are kept.\nTo categorize it, send the `id` of one of the studio's active note categories (see \"List Note Categories\").\nEach call creates a new note, so do not retry a request that already succeeded.\nThe note has no staff author; LoopSpark shows its author as \"Integration\"."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":\"3f0d6a52-8a4e-4c43-9b1e-6f3c2a1d7e90\",\"note\":\"<p>Called about the 6-week challenge.<\/p>\",\"note_category_id\":\"9b2f0c1e-4c1a-4a53-9a5e-2f7f3d1c8b10\",\"created_at\":\"2026-09-28T14:05:00+00:00\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"message\":\"The note category is not available for this studio.\",\"errors\":{\"note_category_id\":[\"The note category is not available for this studio.\"]}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Messages",
                    "description": "",
                    "item": [
                        {
                            "name": "Send a Text Message",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/clients\/:clientId\/messages",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/clients\/:clientId\/messages",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID."
                                        },
                                        {
                                            "id": "clientId",
                                            "key": "clientId",
                                            "value": "10000023",
                                            "description": "The client ID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"message\":\"Hi there, see you at the 6pm class!\"}"
                                },
                                "description": "Sends one SMS to a Client from the studio's texting number, in the same conversation thread staff use in LoopSpark.\nPlaceholders are filled in as in LoopSpark: write the name in double curly braces, for example FIRST_NAME. The message can be at most 3 SMS segments long, counted before placeholders are filled in.\nOpt-outs (STOP) and the usual opt-out notice work exactly as for a staff send, and the text counts against the studio's SMS bundle.\nA `201` means the text was queued; delivery happens asynchronously. Each call sends a new text, so do not retry a request that already succeeded.\nThe text has no staff sender; the LoopSpark web app shows its sender as \"Integration\".\nReturns `422` when the person is muted, has opted out of texts, or has no valid mobile number, or when the text is empty once placeholders are filled in.\nReturns `403` when the studio is suspended."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":\"3f0d6a52-8a4e-4c43-9b1e-6f3c2a1d7e90\",\"discussion_id\":\"9b2f0c1e-4c1a-4a53-9a5e-2f7f3d1c8b10\",\"created_at\":\"2026-10-02T14:05:00+00:00\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"message\":\"This client cannot be contacted by text message\",\"errors\":{\"message\":[\"This client cannot be contacted by text message\"]}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Contacts",
            "description": "Endpoints related to managing studio contacts, encompassing both clients and prospects. A contact is a unified entity designed to facilitate seamless viewing and management of both clients and prospects within a single list. This makes it easier to find clients or prospects in the system with just one call.",
            "item": [
                {
                    "name": "Contacts list",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/contacts",
                            "query": [
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "The amount of contacts to return. Default: `250`. Must be at least 1. Must not be greater than 250.",
                                    "disabled": false
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number. Must be at least 1.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_by",
                                    "value": "id",
                                    "description": "Sorts the results by either `id` or `creation_date`.  Default: `id`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_direction",
                                    "value": "asc",
                                    "description": "Sorts the results `asc` for ascending order, `desc` for descending order. Default: `asc`.",
                                    "disabled": false
                                },
                                {
                                    "key": "email",
                                    "value": "",
                                    "description": "Return only contacts with the selected email. Empty for all contacts . Must be a valid email address.",
                                    "disabled": true
                                },
                                {
                                    "key": "mobile_phone",
                                    "value": "",
                                    "description": "Return only contacts with the selected phone number. Phone format is 12223334444.",
                                    "disabled": true
                                },
                                {
                                    "key": "opted_out_emails",
                                    "value": "1",
                                    "description": "`true` will return contacts opted out from email communications. `false` will show contacts that have not opted out. Do not pass the filter to show all.",
                                    "disabled": false
                                },
                                {
                                    "key": "opted_out_sms",
                                    "value": "1",
                                    "description": "`true` will return contacts opted out from SMS communications. `false` will show contacts that have not opted out. Do not pass the filter to show all.",
                                    "disabled": false
                                },
                                {
                                    "key": "tags[0]",
                                    "value": "signed-up",
                                    "description": "Filter contacts by assigned tag(s). Array.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/contacts?per_page=10&page=1&sort_by=id&sort_direction=asc&email=&mobile_phone=&opted_out_emails=1&opted_out_sms=1&tags%5B0%5D=signed-up",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "123",
                                    "description": "The ID of the Studio"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve a list of all the contacts for a specific Studio. The results are paginated"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":\"lead-mhamill@marvin.net\",\"team_id\":\"8863\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/8863\\\/lead-mhamill@marvin.net\",\"email\":\"mhamill@marvin.net\",\"active\":false,\"first_name\":\"Rhett\",\"last_name\":\"Kuhn\",\"mobile_phone\":\"13573900260\",\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"is_prospect\":true,\"created_at\":\"2026-10-03T08:00:36+00:00\",\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"client\":null},{\"id\":\"lead-conn.brisa@yahoo.com\",\"team_id\":\"751\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/751\\\/lead-conn.brisa@yahoo.com\",\"email\":\"conn.brisa@yahoo.com\",\"active\":false,\"first_name\":\"Ethelyn\",\"last_name\":\"Lesch\",\"mobile_phone\":\"13570269273\",\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"is_prospect\":true,\"created_at\":\"2026-10-03T08:00:36+00:00\",\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"client\":null}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get a Contact",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/contacts\/:contactId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/contacts\/:contactId",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID."
                                },
                                {
                                    "id": "contactId",
                                    "key": "contactId",
                                    "value": "10000023",
                                    "description": "The contact ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the information about a specific Contact"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":\"lead-carter.raleigh@kreiger.info\",\"team_id\":\"3089\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/3089\\\/lead-carter.raleigh@kreiger.info\",\"email\":\"carter.raleigh@kreiger.info\",\"active\":false,\"first_name\":\"Callie\",\"last_name\":\"Towne\",\"mobile_phone\":\"13576039800\",\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"is_prospect\":true,\"created_at\":\"2026-10-03T08:00:36+00:00\",\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"client\":null}}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update a Contact",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/contacts\/:contactId",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/contacts\/:contactId",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21224",
                                    "description": "The studio ID"
                                },
                                {
                                    "id": "contactId",
                                    "key": "contactId",
                                    "value": "10000024",
                                    "description": "The contact ID"
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"subscribed_email\":false,\"subscribed_sms\":false,\"period_count\":27,\"club_count\":5,\"referrer\":{\"first_name\":\"John\",\"last_name\":\"Doe\",\"email\":\"john.doe@example.com\",\"phone\":\"555-123-4567\",\"location\":\"New York\"}}"
                        },
                        "description": "Updates the information of a Contact"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":{\"id\":\"lead-mhamill@marvin.net\",\"team_id\":\"8863\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/8863\\\/lead-mhamill@marvin.net\",\"email\":\"mhamill@marvin.net\",\"active\":false,\"first_name\":\"Rhett\",\"last_name\":\"Kuhn\",\"mobile_phone\":\"13573900260\",\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"is_prospect\":true,\"created_at\":\"2026-10-03T08:00:36+00:00\",\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"client\":null}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\n \"error\": true,\n \"message\": \"The contact cannot be opted-in to SMS because they sent the opt-out text\"\n}",
                            "name": "Trying to SMS opt in a contact that manually opted out"
                        }
                    ]
                },
                {
                    "name": "Tags",
                    "description": "",
                    "item": [
                        {
                            "name": "Add a Tag",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/contacts\/:contactId\/tags",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/contacts\/:contactId\/tags",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID"
                                        },
                                        {
                                            "id": "contactId",
                                            "key": "contactId",
                                            "value": "10000023",
                                            "description": "The contact ID"
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"tag\":\"Member\"}"
                                },
                                "description": "Assigns a Tag to a specific Contact"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":\"646980841\",\"team_id\":\"4071\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/4071\\\/646980841\",\"email\":\"emanuel.emmerich@yahoo.com\",\"active\":true,\"first_name\":\"Kirsten\",\"last_name\":\"Ward\",\"mobile_phone\":\"13577071833\",\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"is_prospect\":false,\"created_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"client\":{\"id\":\"646980841\",\"team_id\":\"4071\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/4071\\\/646980841\",\"email\":\"emanuel.emmerich@yahoo.com\",\"active\":true,\"first_name\":\"Kirsten\",\"last_name\":\"Ward\",\"mobile_phone\":\"13577071833\",\"ltv\":0,\"phone_home\":null,\"phone_work\":null,\"referred_by\":null,\"address\":{\"city\":\"Sibylmouth\",\"address\":\"79388 Cristobal Ways\\nCruickshankview, GA 41591-5182\",\"postal_code\":\"60787-7092\",\"state\":\"CA\"},\"emergency_contact\":{\"email\":\"colt.balistreri@hotmail.com\",\"name\":\"Mrs. Abbey Gaylord MD\",\"phone\":\"13573113802\",\"relationship\":\"wife\"},\"birthday\":\"1990-05-05T12:02:12+00:00\",\"creation_date\":\"2025-03-26T01:00:14+00:00\",\"refreshed_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"unsubscribed_sms_text\":false,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"stats\":{\"period_count\":null,\"club_count\":0,\"open_discussions\":0,\"open_todos\":0},\"social\":{\"twitter\":[],\"linkedin\":[],\"facebook\":[],\"instagram\":[]}}}}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Remove a Tag",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/contacts\/:contactId\/tags",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/contacts\/:contactId\/tags",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID"
                                        },
                                        {
                                            "id": "contactId",
                                            "key": "contactId",
                                            "value": "10000023",
                                            "description": "The contact ID"
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"tag\":\"signed-up-flow\"}"
                                },
                                "description": "Removes a Tag from a specific Contact.\nIf the Contact does not have the Tag assigned, it will return an error `400`"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\":{\"id\":\"1187404954\",\"team_id\":\"4071\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/4071\\\/1187404954\",\"email\":\"emanuel.emmerich@yahoo.com\",\"active\":true,\"first_name\":\"Kirsten\",\"last_name\":\"Ward\",\"mobile_phone\":\"13577071833\",\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"is_prospect\":false,\"created_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"client\":{\"id\":\"1187404954\",\"team_id\":\"4071\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/4071\\\/1187404954\",\"email\":\"emanuel.emmerich@yahoo.com\",\"active\":true,\"first_name\":\"Kirsten\",\"last_name\":\"Ward\",\"mobile_phone\":\"13577071833\",\"ltv\":0,\"phone_home\":null,\"phone_work\":null,\"referred_by\":null,\"address\":{\"city\":\"Sibylmouth\",\"address\":\"79388 Cristobal Ways\\nCruickshankview, GA 41591-5182\",\"postal_code\":\"60787-7092\",\"state\":\"CA\"},\"emergency_contact\":{\"email\":\"colt.balistreri@hotmail.com\",\"name\":\"Mrs. Abbey Gaylord MD\",\"phone\":\"13573113802\",\"relationship\":\"wife\"},\"birthday\":\"1990-05-05T12:02:12+00:00\",\"creation_date\":\"2025-03-26T01:00:14+00:00\",\"refreshed_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"unsubscribed_sms_text\":false,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"stats\":{\"period_count\":null,\"club_count\":0,\"open_discussions\":0,\"open_todos\":0},\"social\":{\"twitter\":[],\"linkedin\":[],\"facebook\":[],\"instagram\":[]}}}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\n \"error\" : true,\n \"message\" : \"The contact does not have the tag signed-up\"\n}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Custom Fields",
                    "description": "",
                    "item": [
                        {
                            "name": "Get Contact Custom Fields",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/contacts\/:contactId\/custom-fields",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/contacts\/:contactId\/custom-fields",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "100001",
                                            "description": "The studio's site identifier (e.g., MindBody site ID)."
                                        },
                                        {
                                            "id": "contactId",
                                            "key": "contactId",
                                            "value": "100000001",
                                            "description": "The contact's external identifier (e.g., MindBody client ID)."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Retrieve all custom field values for a specific contact.\nReturns field definition along with current value."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"data\": [\n    {\n      \"id\": \"EMERGENCY_CONTACT\",\n      \"value\": \"Jane Doe - 555-1234\"\n    }\n  ]\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update Contact Custom Fields",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/contacts\/:contactId\/custom-fields",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/contacts\/:contactId\/custom-fields",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "100001",
                                            "description": "The studio's site identifier (e.g., MindBody site ID)."
                                        },
                                        {
                                            "id": "contactId",
                                            "key": "contactId",
                                            "value": "100000001",
                                            "description": "The contact's external identifier (e.g., MindBody client ID)."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"fields\":[{\"id\":\"EMERGENCY_CONTACT\",\"value\":\"John Doe - 555-1234\"},{\"id\":\"THREE_CS\",\"value\":\"challenge\"}]}"
                                },
                                "description": "Batch update custom field values for a specific contact.\nCan update multiple fields in a single request."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"data\": [\n    {\n      \"id\": \"EMERGENCY_CONTACT\",\n      \"value\": \"Jane Doe - 555-5678\"\n    }\n  ]\n}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Notes",
                    "description": "",
                    "item": [
                        {
                            "name": "Create a Note",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/contacts\/:contactId\/notes",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/contacts\/:contactId\/notes",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID."
                                        },
                                        {
                                            "id": "contactId",
                                            "key": "contactId",
                                            "value": "10000023",
                                            "description": "The contact ID (a client or a prospect)."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"note\":\"Called about the 6-week challenge.\",\"note_category_id\":\"9b2f0c1e-4c1a-4a53-9a5e-2f7f3d1c8b10\"}"
                                },
                                "description": "Adds a note to a Contact (a Client or a Prospect), found by its contact `id`, dated now. The note is plain text: HTML is shown as text, and line breaks are kept.\nTo categorize it, send the `id` of one of the studio's active note categories (see \"List Note Categories\").\nEach call creates a new note, so do not retry a request that already succeeded.\nThe note has no staff author; LoopSpark shows its author as \"Integration\"."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":\"3f0d6a52-8a4e-4c43-9b1e-6f3c2a1d7e90\",\"note\":\"<p>Called about the 6-week challenge.<\/p>\",\"note_category_id\":\"9b2f0c1e-4c1a-4a53-9a5e-2f7f3d1c8b10\",\"created_at\":\"2026-09-28T14:05:00+00:00\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"message\":\"The note category is not available for this studio.\",\"errors\":{\"note_category_id\":[\"The note category is not available for this studio.\"]}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Messages",
                    "description": "",
                    "item": [
                        {
                            "name": "Send a Text Message",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/franchise\/v1\/:siteId\/contacts\/:contactId\/messages",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/contacts\/:contactId\/messages",
                                    "variable": [
                                        {
                                            "id": "siteId",
                                            "key": "siteId",
                                            "value": "21225",
                                            "description": "The studio ID."
                                        },
                                        {
                                            "id": "contactId",
                                            "key": "contactId",
                                            "value": "10000023",
                                            "description": "The contact ID (a client or a prospect)."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"message\":\"Hi there, see you at the 6pm class!\"}"
                                },
                                "description": "Sends one SMS to a Contact (a Client or a Prospect), found by its contact `id`, from the studio's texting number, in the same conversation thread staff use in LoopSpark.\nPlaceholders are filled in as in LoopSpark: write the name in double curly braces, for example FIRST_NAME. The message can be at most 3 SMS segments long, counted before placeholders are filled in.\nOpt-outs (STOP) and the usual opt-out notice work exactly as for a staff send, and the text counts against the studio's SMS bundle.\nA `201` means the text was queued; delivery happens asynchronously. Each call sends a new text, so do not retry a request that already succeeded.\nThe text has no staff sender; the LoopSpark web app shows its sender as \"Integration\".\nReturns `422` when the person is muted, has opted out of texts, or has no valid mobile number, or when the text is empty once placeholders are filled in.\nReturns `403` when the studio is suspended."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\":{\"id\":\"3f0d6a52-8a4e-4c43-9b1e-6f3c2a1d7e90\",\"discussion_id\":\"9b2f0c1e-4c1a-4a53-9a5e-2f7f3d1c8b10\",\"created_at\":\"2026-10-02T14:05:00+00:00\"}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 422,
                                    "body": "{\"message\":\"This client cannot be contacted by text message\",\"errors\":{\"message\":[\"This client cannot be contacted by text message\"]}}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Custom Fields",
            "description": "Franchise API endpoints for managing custom field definitions and client values.",
            "item": [
                {
                    "name": "Get Custom Fields",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/custom-fields",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/custom-fields"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Retrieve all custom field definitions for this franchise."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"data\": [\n    {\n      \"id\": \"EMERGENCY_CONTACT\",\n      \"name\": \"Emergency Contact\",\n      \"type\": \"string\",\n      \"field_options\": null,\n      \"description\": \"Person to contact in case of emergency\",\n      \"visible_in_ui\": true,\n      \"editable_by_staff\": true,\n      \"sort_order\": 0\n    },\n    {\n      \"id\": \"MEMBERSHIP_TYPE\",\n      \"name\": \"Membership Type\",\n      \"type\": \"single_select\",\n      \"field_options\": [\n        {\"value\": \"basic\", \"label\": \"Basic\", \"is_active\": true, \"sort_order\": 1},\n        {\"value\": \"premium\", \"label\": \"Premium\", \"is_active\": true, \"sort_order\": 2}\n      ],\n      \"description\": \"Choose membership level\",\n      \"visible_in_ui\": true,\n      \"editable_by_staff\": false,\n      \"sort_order\": 1\n    }\n  ]\n}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Deferred Tags",
            "description": "All the Endpoints regarding the deferred tags of a specific studio.\nThis feature allows you to tell LoopSpark that when we see a client or prospect with the specified `UniqueID`,\nLoopSpark should automatically add a Tag and attach it them. Prospects' `UniqueID` can be retrieved from the \"Prospect list\"\n         endpoint, using the returned `id` of the prospect",
            "item": [
                {
                    "name": "Add deferred tag",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/tags_deferred",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/tags_deferred",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"clients\":[{\"id\":\"1000017\",\"tag\":\"true\"}]}"
                        },
                        "description": "Add one or multiple deferred tag rules for a specific Studio.\nLoopSpark will automatically add the chosen tag when the rule is applied."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"client_id\":\"776\",\"tag\":\"eius\",\"valid_since\":\"2026-10-03T08:00:36+00:00\"},{\"client_id\":\"575\",\"tag\":\"corporis\",\"valid_since\":\"2026-10-03T08:00:36+00:00\"}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Remove Deferred Tag rule",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/tags_deferred\/:uniqueid",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/tags_deferred\/:uniqueid",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                },
                                {
                                    "id": "uniqueid",
                                    "key": "uniqueid",
                                    "value": "10000012",
                                    "description": "The MBO UniqueID of the Client, or the `ID` of a Prospect"
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"tag\":\"beginner\"}"
                        },
                        "description": "Removes a defered tag rule for a specific Client"
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n \"error\" : false,\n \"deleted\" : true,\n \"success\": true\n\n}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\n \"error\" : true,\n \"message\" : \"No rule was found with that unique id and type combination\"\n}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Note Categories",
            "description": "\nThe studio's note categories, used to file a note created on a Client, Prospect or Contact.",
            "item": [
                {
                    "name": "List Note Categories",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/:siteId\/note-categories",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/:siteId\/note-categories",
                            "variable": [
                                {
                                    "id": "siteId",
                                    "key": "siteId",
                                    "value": "21225",
                                    "description": "The studio ID"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "The studio's active note categories. Send a category's `id` as `note_category_id` when creating a note."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":\"9b2f0c1e-4c1a-4a53-9a5e-2f7f3d1c8b10\",\"name\":\"Objection Note\"}]}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Search",
            "description": "\nThis endpoint allows franchise owners to search and list contacts (clients or prospects) across all studios\nwithin their franchise. It provides filtering by email, mobile phone, tags, and specific studio site IDs,\nas well as sorting and pagination capabilities. This is useful for managing contacts across multiple locations\nand finding duplicates or shared contacts between studios.",
            "item": [
                {
                    "name": "Search Contacts",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/franchise\/v1\/search",
                            "query": [
                                {
                                    "key": "per_page",
                                    "value": "10",
                                    "description": "The amount of contacts to return. Default: `50`. Must be at least 1. Must not be greater than 50.",
                                    "disabled": false
                                },
                                {
                                    "key": "page",
                                    "value": "1",
                                    "description": "The page number. Must be at least 1.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_by",
                                    "value": "id",
                                    "description": "Sorts the results by `id` or `email`.  Default: `email`.",
                                    "disabled": false
                                },
                                {
                                    "key": "sort_direction",
                                    "value": "asc",
                                    "description": "Sorts the results `asc` for ascending order, `desc` for descending order. Default: `asc`.",
                                    "disabled": false
                                },
                                {
                                    "key": "email",
                                    "value": "",
                                    "description": "Return only Contacts with the selected email. Required if mobile_phone not present. This field is required when mobile_phone is not present. Must be a valid email address.",
                                    "disabled": true
                                },
                                {
                                    "key": "mobile_phone",
                                    "value": "",
                                    "description": "Return only Contacts with the selected phone number. Phone format is 12223334444. This field is required when email is not present.",
                                    "disabled": true
                                },
                                {
                                    "key": "tags[0]",
                                    "value": "signed-up",
                                    "description": "Filter Contacts by assigned tag(s). Array.",
                                    "disabled": false
                                },
                                {
                                    "key": "site_ids[0]",
                                    "value": "",
                                    "description": "Filter Contacts only from a list of siteIDs .",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/franchise\/v1\/search?per_page=10&page=1&sort_by=id&sort_direction=asc&email=&mobile_phone=&tags%5B0%5D=signed-up&site_ids%5B0%5D="
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Search for a Contact across the whole franchise."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\":[{\"id\":\"822569775\",\"team_id\":\"6789\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/6789\\\/822569775\",\"email\":\"kconsidine@hotmail.com\",\"active\":true,\"first_name\":\"Pauline\",\"last_name\":\"Schultz\",\"mobile_phone\":\"13577773167\",\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"is_prospect\":false,\"created_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"client\":{\"id\":\"822569775\",\"team_id\":\"6789\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/6789\\\/822569775\",\"email\":\"kconsidine@hotmail.com\",\"active\":true,\"first_name\":\"Pauline\",\"last_name\":\"Schultz\",\"mobile_phone\":\"13577773167\",\"ltv\":0,\"phone_home\":null,\"phone_work\":null,\"referred_by\":null,\"address\":{\"city\":\"North Eileen\",\"address\":\"4706 Madisen Avenue Suite 636\\nNew Josianetown, WV 49408-0159\",\"postal_code\":\"79150-6985\",\"state\":\"CA\"},\"emergency_contact\":{\"email\":\"mitchell.matilda@yahoo.com\",\"name\":\"Mina Bauch\",\"phone\":\"13573073143\",\"relationship\":\"wife\"},\"birthday\":\"1972-08-25T23:37:54+00:00\",\"creation_date\":\"2023-10-10T09:48:20+00:00\",\"refreshed_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"unsubscribed_sms_text\":false,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"stats\":{\"period_count\":12,\"club_count\":0,\"open_discussions\":0,\"open_todos\":0},\"social\":{\"twitter\":[],\"linkedin\":[],\"facebook\":[],\"instagram\":[]}}},{\"id\":\"26665356\",\"team_id\":\"9537\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/9537\\\/26665356\",\"email\":\"schmitt.eleanore@nienow.com\",\"active\":true,\"first_name\":\"Kenna\",\"last_name\":\"Ortiz\",\"mobile_phone\":\"13579799206\",\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"is_prospect\":false,\"created_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"client\":{\"id\":\"26665356\",\"team_id\":\"9537\",\"profile_url\":\"https:\\\/\\\/loopspark.com\\\/go\\\/client\\\/9537\\\/26665356\",\"email\":\"schmitt.eleanore@nienow.com\",\"active\":true,\"first_name\":\"Kenna\",\"last_name\":\"Ortiz\",\"mobile_phone\":\"13579799206\",\"ltv\":0,\"phone_home\":null,\"phone_work\":null,\"referred_by\":null,\"address\":{\"city\":\"New Greyson\",\"address\":\"6747 Wolf Light\\nNew Brookeburgh, TX 37725\",\"postal_code\":\"56023-5576\",\"state\":\"CA\"},\"emergency_contact\":{\"email\":\"ritchie.dorris@klocko.com\",\"name\":\"Trinity Swaniawski\",\"phone\":\"13572063041\",\"relationship\":\"wife\"},\"birthday\":\"1987-05-12T05:35:52+00:00\",\"creation_date\":\"2024-05-14T05:57:03+00:00\",\"refreshed_at\":null,\"tags\":[{\"name\":\"Member\",\"assigned_at\":\"2025-01-15T09:30:00+00:00\"}],\"custom_fields\":[],\"can_contact_by_email\":true,\"can_contact_by_sms\":true,\"unsubscribed_email_at\":null,\"unsubscribed_sms_at\":null,\"unsubscribed_sms_text\":false,\"referrer\":{\"first_name\":null,\"last_name\":null,\"email\":null,\"phone\":null,\"location\":null},\"stats\":{\"period_count\":12,\"club_count\":0,\"open_discussions\":0,\"open_todos\":0},\"social\":{\"twitter\":[],\"linkedin\":[],\"facebook\":[],\"instagram\":[]}}}]}",
                            "name": ""
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "key",
                "type": "string"
            }
        ]
    }
}