{"openapi":"3.1.0","info":{"title":"HoneyBee API","version":"1.0.0","description":"A firm's own data in HoneyBee Match. Every call needs a key, created by the firm's owner or admin in Match under Developer, API Keys. This reference is the one address that needs none."},"servers":[{"url":"https://api.withhoneybee.com"}],"security":[{"bearerKey":[]}],"tags":[{"name":"api"},{"name":"finance"},{"name":"profiles"},{"name":"schema"},{"name":"tasks"},{"name":"usage"}],"components":{"securitySchemes":{"bearerKey":{"type":"http","scheme":"bearer","description":"A HoneyBee API key."}}},"paths":{"/health":{"get":{"operationId":"health","tags":["api"],"summary":"Whether the API is up.","responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/operations":{"get":{"operationId":"operations_list","tags":["api"],"summary":"Every operation the API offers, live or planned, with its price and the scope it needs.","responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/operations/{name}":{"post":{"operationId":"operations_run","tags":["api"],"summary":"Run one operation by name.","description":"The same call an entity path makes, for an operation that has no path of its own yet. The body is the operation's input, as `GET /v1/operations` describes it.","parameters":[{"name":"name","in":"path","required":true,"description":"The operation's name.","schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/profiles":{"get":{"operationId":"profiles_listProfiles","tags":["profiles"],"summary":"Your firm's profiles, newest first, up to 200 a page.","description":"Your firm's profiles, newest first, up to 200 a page. Pass `nextCursor` back as `cursor` for the next page. Filter by search (name, email or phone words), archived (default false), assignedTo (a member's user id, or \"none\" for unassigned), tagIds (profiles with all of them, 10 at most) and updatedSince (ISO timestamp). With contact-only access each profile is name, email, phone, city, country and assignedTo only.","x-honeybee-scope":"profiles:read","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","required":false,"schema":{"default":200,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":500}},{"name":"search","in":"query","required":false,"schema":{"type":"string","maxLength":200}},{"name":"archived","in":"query","required":false,"schema":{"default":false,"type":"boolean"}},{"name":"assignedTo","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","const":"none"}]}},{"name":"tagIds","in":"query","required":false,"schema":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},{"name":"updatedSince","in":"query","required":false,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}},"post":{"operationId":"profiles_createProfile","tags":["profiles"],"summary":"Add a profile to your firm, or update the one that already has this email.","description":"Add a profile to your firm, or update the one that already has this email. `answers` is keyed by profile column (first_name, last_name and email are required for a new profile; gender, ...), validated against your firm's option lists as Add Profile does. Send phone in international form (+15125550101), or with phone_country (US). Returns the profile's `id` and `created`.","x-honeybee-scope":"profiles:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":100},"additionalProperties":{"anyOf":[{"type":"string","maxLength":20000},{"maxItems":200,"type":"array","items":{"type":"string","maxLength":500}},{"type":"null"}]}}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/profiles/{profileId}":{"get":{"operationId":"profiles_getProfile","tags":["profiles"],"summary":"One profile of your firm, by id.","description":"One profile of your firm, by id. `fields` holds every built-in field of your firm's profile form, keyed by column, and the answers the client gave on the intake form about where they came from (lead_source, referral_detail, consultation_interest; these three are read only); beside it, archived, onHold, assignedTo and its tags. With contact-only access the answer is name, email, phone, city, country and assignedTo only.","x-honeybee-scope":"profiles:read","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"profileId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}},"patch":{"operationId":"profiles_updateProfile","tags":["profiles"],"summary":"Change a profile's answers.","description":"Change a profile's answers. Only the columns in `answers` are validated and written; send null or \"\" to clear one. Send phone in international form (+15125550101), or with phone_country (US). Answers 400 with the failing fields when an answer is not valid for your firm.","x-honeybee-scope":"profiles:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"profileId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":100},"additionalProperties":{"anyOf":[{"type":"string","maxLength":20000},{"maxItems":200,"type":"array","items":{"type":"string","maxLength":500}},{"type":"null"}]}}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}},"delete":{"operationId":"profiles_deleteProfile","tags":["profiles"],"summary":"Delete a profile and everything stored with it (notes, documents, photos, matches).","description":"Delete a profile and everything stored with it (notes, documents, photos, matches). Cannot be undone; archive a profile to keep it. Records in a connected CRM are not removed.","x-honeybee-scope":"profiles:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"profileId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/profiles/{profileId}/archive":{"post":{"operationId":"profiles_setProfileArchived_archive","tags":["profiles"],"summary":"Archive a profile (off the lists, nothing destroyed), or bring it back.","description":"Archive a profile (off the lists, nothing destroyed), or bring it back.","x-honeybee-scope":"profiles:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"profileId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/profiles/{profileId}/unarchive":{"post":{"operationId":"profiles_setProfileArchived_unarchive","tags":["profiles"],"summary":"Archive a profile (off the lists, nothing destroyed), or bring it back.","description":"Archive a profile (off the lists, nothing destroyed), or bring it back.","x-honeybee-scope":"profiles:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"profileId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/profiles/{profileId}/assign":{"post":{"operationId":"profiles_assignProfile","tags":["profiles"],"summary":"Assign a profile to a member of your firm.","description":"Assign a profile to a member of your firm. `teamMemberId` is the member's user id.","x-honeybee-scope":"profiles:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"profileId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"teamMemberId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["teamMemberId"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/profiles/{profileId}/unassign":{"post":{"operationId":"profiles_unassignProfile","tags":["profiles"],"summary":"Take a profile off the member it is assigned to.","description":"Take a profile off the member it is assigned to. `teamMemberId` must be the member it is assigned to now.","x-honeybee-scope":"profiles:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"profileId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"teamMemberId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["teamMemberId"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/profile-schema":{"get":{"operationId":"schema_getProfileSchema","tags":["schema"],"summary":"Every built-in profile field your firm uses: its key (what `answers` is keyed by on create and update), label, kind (text, email, url, phone, country, date, number, select, multiselect), whether a new profile needs it, its group and, for a select or multiselect, the choices your firm offers.","description":"Every built-in profile field your firm uses: its key (what `answers` is keyed by on create and update), label, kind (text, email, url, phone, country, date, number, select, multiselect), whether a new profile needs it, its group and, for a select or multiselect, the choices your firm offers. A phone is sent in international form (+15125550101), or with `<key>_country`; a country as its two-letter code.","x-honeybee-scope":"schema:read","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/finance/categories":{"get":{"operationId":"finance_listCategories","tags":["finance"],"summary":"The finance categories the firm can book to: HoneyBee's defaults plus its own, in report order.","description":"The finance categories the firm can book to: HoneyBee's defaults plus its own, in report order.","x-honeybee-scope":"finance:read","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}},"post":{"operationId":"finance_addCategory","tags":["finance"],"summary":"Add one of the firm's own categories.","description":"Add one of the firm's own categories. kind is income, refund, client_cost, business_cost, financing_in or financing_out. The key is made from the label and may not repeat a default's or another of the firm's own.","x-honeybee-scope":"finance:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"kind":{"type":"string","enum":["income","refund","client_cost","business_cost","financing_in","financing_out"]}},"required":["label","kind"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/finance/entries":{"get":{"operationId":"finance_listEntries","tags":["finance"],"summary":"The firm's ledger entries, newest first, up to 200 a page.","description":"The firm's ledger entries, newest first, up to 200 a page. Pass `nextCursor` back as `cursor` for the next page. Filter by from and to (YYYY-MM-DD, inclusive), status and categoryKey.","x-honeybee-scope":"finance:read","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","required":false,"schema":{"default":200,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":500}},{"name":"from","in":"query","required":false,"schema":{"type":"string"}},{"name":"to","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["settled","expected"]}},{"name":"categoryKey","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":100}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}},"post":{"operationId":"finance_addEntry","tags":["finance"],"summary":"Add a settled ledger entry.","description":"Add a settled ledger entry. categoryKey must be one of finance_listCategories (active); amount is over 0 with two decimals at most; date is YYYY-MM-DD; profileId, if given, must be the firm's profile.","x-honeybee-scope":"finance:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"categoryKey":{"type":"string","minLength":1,"maxLength":100},"amount":{"type":"number","exclusiveMinimum":0,"maximum":9999999999.99},"currency":{"type":"string","enum":["USD","CAD","EUR","GBP","AUD","NZD","CHF","SEK","AED","SGD","HKD","JPY","MXN","BRL","ZAR"]},"date":{"type":"string"},"note":{"type":"string","maxLength":1000},"profileId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"counterparty":{"type":"string","maxLength":200}},"required":["categoryKey","amount","currency","date"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/finance/entries/{id}":{"patch":{"operationId":"finance_updateEntry","tags":["finance"],"summary":"Change a manual ledger entry (one added by a person, through Reacher or the API).","description":"Change a manual ledger entry (one added by a person, through Reacher or the API). Same fields as finance_addEntry plus id. Automatic entries (Stripe, contracts) cannot be edited here: 404.","x-honeybee-scope":"finance:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"categoryKey":{"type":"string","minLength":1,"maxLength":100},"amount":{"type":"number","exclusiveMinimum":0,"maximum":9999999999.99},"currency":{"type":"string","enum":["USD","CAD","EUR","GBP","AUD","NZD","CHF","SEK","AED","SGD","HKD","JPY","MXN","BRL","ZAR"]},"date":{"type":"string"},"note":{"type":"string","maxLength":1000},"profileId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"counterparty":{"type":"string","maxLength":200}},"required":["categoryKey","amount","currency","date"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}},"delete":{"operationId":"finance_removeEntry","tags":["finance"],"summary":"Remove a manual ledger entry, and the payments recorded against it.","description":"Remove a manual ledger entry, and the payments recorded against it. Automatic entries (Stripe, contracts) cannot be removed here: 404.","x-honeybee-scope":"finance:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/finance/entries/{id}/payments":{"post":{"operationId":"finance_recordPayment","tags":["finance"],"summary":"Record money received or paid against an EXPECTED entry (a contract, a membership, a date fee).","description":"Record money received or paid against an EXPECTED entry (a contract, a membership, a date fee). id is the expected entry; the payment copies its category, currency and client. Several payments may settle one entry.","x-honeybee-scope":"finance:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"number","exclusiveMinimum":0,"maximum":9999999999.99},"date":{"type":"string"}},"required":["amount","date"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/finance/recurring":{"get":{"operationId":"finance_listRecurring","tags":["finance"],"summary":"The firm's repeating entries (rules), soonest due first.","description":"The firm's repeating entries (rules), soonest due first. Each has category, amount, currency, frequency, start and end day, the next day it posts, the client and a note.","x-honeybee-scope":"finance:read","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}},"post":{"operationId":"finance_addRecurring","tags":["finance"],"summary":"Add a repeating entry (rule).","description":"Add a repeating entry (rule). categoryKey must be one of finance_listCategories (active); amount is over 0 with two decimals at most; startsOn is the first day (YYYY-MM-DD); frequency is weekly, monthly, quarterly or yearly; endsOn, note and profileId (the firm's profile) are optional. Match posts every date already due.","x-honeybee-scope":"finance:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"categoryKey":{"type":"string","minLength":1,"maxLength":100},"amount":{"type":"number","exclusiveMinimum":0,"maximum":9999999999.99},"currency":{"type":"string","enum":["USD","CAD","EUR","GBP","AUD","NZD","CHF","SEK","AED","SGD","HKD","JPY","MXN","BRL","ZAR"]},"startsOn":{"type":"string"},"frequency":{"type":"string","enum":["weekly","monthly","quarterly","yearly"]},"endsOn":{"type":"string"},"note":{"type":"string","maxLength":1000},"profileId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["categoryKey","amount","currency","startsOn","frequency"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/finance/recurring/{id}":{"patch":{"operationId":"finance_updateRecurring","tags":["finance"],"summary":"Change a repeating entry: send every field again.","description":"Change a repeating entry: send every field again. An unknown id is 404. categoryKey must be one of finance_listCategories (active); amount is over 0 with two decimals at most; startsOn is the first day (YYYY-MM-DD); frequency is weekly, monthly, quarterly or yearly; endsOn, note and profileId (the firm's profile) are optional. Match posts every date already due.","x-honeybee-scope":"finance:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"categoryKey":{"type":"string","minLength":1,"maxLength":100},"amount":{"type":"number","exclusiveMinimum":0,"maximum":9999999999.99},"currency":{"type":"string","enum":["USD","CAD","EUR","GBP","AUD","NZD","CHF","SEK","AED","SGD","HKD","JPY","MXN","BRL","ZAR"]},"startsOn":{"type":"string"},"frequency":{"type":"string","enum":["weekly","monthly","quarterly","yearly"]},"endsOn":{"type":"string"},"note":{"type":"string","maxLength":1000},"profileId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["categoryKey","amount","currency","startsOn","frequency"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}},"delete":{"operationId":"finance_stopRecurring","tags":["finance"],"summary":"Stop a repeating entry: the rule is deleted.","description":"Stop a repeating entry: the rule is deleted. Entries it already posted stay in the ledger. An unknown id is 404.","x-honeybee-scope":"finance:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/tasks":{"get":{"operationId":"tasks_listTasks","tags":["tasks"],"summary":"Your firm's tasks, newest first, up to 200 a page.","description":"Your firm's tasks, newest first, up to 200 a page. Pass `nextCursor` back as `cursor` for the next page. Filter by teamMemberId, profileId, status (open or completed), stage (todo, in_progress or waiting), priority (low, normal or high), dueFrom / dueTo (YYYY-MM-DD, inclusive) and updatedSince (ISO timestamp, tasks updated at or after it).","x-honeybee-scope":"tasks:read","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","required":false,"schema":{"default":200,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":500}},{"name":"teamMemberId","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"profileId","in":"query","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["open","completed"]}},{"name":"stage","in":"query","required":false,"schema":{"type":"string","enum":["todo","in_progress","waiting"]}},{"name":"priority","in":"query","required":false,"schema":{"type":"string","enum":["low","normal","high"]}},{"name":"dueFrom","in":"query","required":false,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"dueTo","in":"query","required":false,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"updatedSince","in":"query","required":false,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}},"post":{"operationId":"tasks_createTask","tags":["tasks"],"summary":"Create a task, created by the key's person.","description":"Create a task, created by the key's person. teamMemberId must be an accepted member of the firm; profileId one of the firm's profiles. A time without a date is dropped.","x-honeybee-scope":"tasks:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"action":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"dueOn":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"dueTime":{"anyOf":[{"type":"string","pattern":"^\\d{2}:\\d{2}$"},{"type":"null"}]},"priority":{"default":"normal","type":"string","enum":["low","normal","high"]},"teamMemberId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"profileId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"recurrence":{"anyOf":[{"type":"object","properties":{"freq":{"type":"string","enum":["daily","weekly","monthly"]},"interval":{"default":1,"type":"number","const":1}},"required":["freq"]},{"type":"null"}]},"buzz":{"default":false,"type":"boolean"}},"required":["name"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/tasks/assignees":{"get":{"operationId":"tasks_listTaskAssignees","tags":["tasks"],"summary":"The teammates a task can be assigned to: your firm's accepted members, each with id, name and role.","description":"The teammates a task can be assigned to: your firm's accepted members, each with id, name and role. Use an id as teamMemberId.","x-honeybee-scope":"tasks:read","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/tasks/{taskId}":{"get":{"operationId":"tasks_getTask","tags":["tasks"],"summary":"One task of your firm, with its checklist items (checklist, ordered by position) and its comments (comments, oldest first, each with author id and name).","description":"One task of your firm, with its checklist items (checklist, ordered by position) and its comments (comments, oldest first, each with author id and name).","x-honeybee-scope":"tasks:read","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}},"patch":{"operationId":"tasks_updateTask","tags":["tasks"],"summary":"Edit a task.","description":"Edit a task. Send only the fields to change; the rest stay. Moving the due date re-arms the Buzz reminder; a time without a date is dropped. Send null to clear action, dueOn, dueTime, teamMemberId, profileId or recurrence.","x-honeybee-scope":"tasks:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"action":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"dueOn":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"dueTime":{"anyOf":[{"type":"string","pattern":"^\\d{2}:\\d{2}$"},{"type":"null"}]},"priority":{"type":"string","enum":["low","normal","high"]},"teamMemberId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"profileId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"recurrence":{"anyOf":[{"type":"object","properties":{"freq":{"type":"string","enum":["daily","weekly","monthly"]},"interval":{"default":1,"type":"number","const":1}},"required":["freq"]},{"type":"null"}]},"buzz":{"type":"boolean"},"completed":{"type":"boolean"}},"required":[]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}},"delete":{"operationId":"tasks_deleteTask","tags":["tasks"],"summary":"Delete a task of your firm, with its checklist items and comments.","description":"Delete a task of your firm, with its checklist items and comments. Cannot be undone.","x-honeybee-scope":"tasks:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/tasks/{taskId}/assign":{"post":{"operationId":"tasks_assignTask","tags":["tasks"],"summary":"Assign a task to a profile, a team member, or both.","description":"Assign a task to a profile, a team member, or both. Send profileId, teamMemberId or both; at least one. teamMemberId must be an accepted member of the firm, profileId one of the firm's profiles. Nothing else on the task changes.","x-honeybee-scope":"tasks:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{"profileId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"teamMemberId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":[]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/tasks/{taskId}/unassign":{"post":{"operationId":"tasks_unassignTask","tags":["tasks"],"summary":"Take a task off its profile (from profile), its team member (from teamMember) or both (from both).","description":"Take a task off its profile (from profile), its team member (from teamMember) or both (from both). Nothing else on the task changes.","x-honeybee-scope":"tasks:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"from":{"type":"string","enum":["profile","teamMember","both"]}},"required":["from"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/tasks/{taskId}/column":{"put":{"operationId":"tasks_setTaskColumn","tags":["tasks"],"summary":"Move a task of your firm to a board column: todo, in_progress, waiting or done.","description":"Move a task of your firm to a board column: todo, in_progress, waiting or done. done is the same as completing it, repeating tasks included. Any other column reopens a done task into that stage. Answers { task, next }.","x-honeybee-scope":"tasks:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"column":{"type":"string","enum":["todo","in_progress","waiting","done"]}},"required":["column"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/tasks/{taskId}/checklist":{"post":{"operationId":"tasks_addChecklistItem","tags":["tasks"],"summary":"Add a step to a task's checklist, at the end.","description":"Add a step to a task's checklist, at the end. At most 50 steps a task, up to 200 characters each. Answers the new item's id.","x-honeybee-scope":"tasks:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":200}},"required":["body"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/tasks/{taskId}/checklist/{itemId}/done":{"put":{"operationId":"tasks_setChecklistItemDone","tags":["tasks"],"summary":"Tick or untick a step of a task's checklist (done true or false).","description":"Tick or untick a step of a task's checklist (done true or false).","x-honeybee-scope":"tasks:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"done":{"type":"boolean"}},"required":["done"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/tasks/{taskId}/checklist/{itemId}":{"delete":{"operationId":"tasks_deleteChecklistItem","tags":["tasks"],"summary":"Remove a step from a task's checklist.","description":"Remove a step from a task's checklist.","x-honeybee-scope":"tasks:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"itemId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/tasks/{taskId}/comments":{"post":{"operationId":"tasks_addTaskComment","tags":["tasks"],"summary":"Comment on a task of your firm, written by the key's person.","description":"Comment on a task of your firm, written by the key's person. Up to 2000 characters. Answers the new comment's id.","x-honeybee-scope":"tasks:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string","minLength":1,"maxLength":2000}},"required":["body"]}}}},"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/tasks/{taskId}/comments/{commentId}":{"delete":{"operationId":"tasks_deleteTaskComment","tags":["tasks"],"summary":"Delete your own comment on a task.","description":"Delete your own comment on a task. A comment written by someone else is not found.","x-honeybee-scope":"tasks:write","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}},{"name":"taskId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"name":"commentId","in":"path","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/organizations/{organizationId}/usage":{"get":{"operationId":"usage_getUsage","tags":["usage"],"summary":"What your firm's API and MCP calls added up to in the current billing period: the period, credits included in your plan, used, remaining and past the plan, calls in total and per channel (rest, mcp), and one line per operation.","description":"What your firm's API and MCP calls added up to in the current billing period: the period, credits included in your plan, used, remaining and past the plan, calls in total and per channel (rest, mcp), and one line per operation. `credits.perDollar` turns credits into US dollars. `pricesSet: false` means no operation has a price yet, so 0 credits is not the same as free. For the firm's owner and admins.","parameters":[{"name":"organizationId","in":"path","required":true,"description":"Your firm's id. `whoami` returns it. Another firm's id answers 404.","schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}},"/v1/openapi.json":{"get":{"operationId":"openapi","tags":["api"],"summary":"This reference, as an OpenAPI 3.1 document.","security":[],"responses":{"200":{"description":"The result of the operation."},"400":{"description":"invalid_input: the request did not match what the operation takes."},"401":{"description":"A valid API key or sign-in is required."},"403":{"description":"missing_scope, plan_feature_unavailable, role, denied_by_firm, usage_not_enabled, plan_inactive or api_not_in_plan."},"404":{"description":"The record is not your firm's, or does not exist."},"429":{"description":"Too many requests. Retry after the seconds in the Retry-After header."},"501":{"description":"not_implemented: the operation is listed but not built yet."}}}}}}