{
"status": "PAYMENT_REQUIRED",
"message": "Account is Disconnected"
}
{
"status": "RequestLimitHit",
"message": "Account rate limit exceeded. Too many requests per minute."
}
Authorizations
apiKey
string
header
required
API key from Settings → API keys.
apiSecret
string
header
required
Secret shown once when the API key is created.
Path Parameters
accountId
string
required
Your Gallabox account ID. Must be the API key's own account.
A 24-character hexadecimal ID.
Pattern: ^[a-fA-F0-9]{24}$
Example:
"6650a1b2c3d4e5f6a7b8c9d0"
segmentId
string
required
ID of the segment.
Body
application/json
Send only what you want to change.
name
string
Segment name. It must be unique in the account.
contactFilter
object
Which contacts match. Rules are combined with condition, and a rule can itself be a group with its own
condition and rules. GET /contacts/filters lists the properties you can filter on, with each one's
type, meta and operators.
Show child attributes
Response
The updated segment.
A saved group of contacts.
id
string
A 24-character hexadecimal ID.
Pattern: ^[a-fA-F0-9]{24}$
Example:
"6650a1b2c3d4e5f6a7b8c9d0"
name
string
accountId
string
A 24-character hexadecimal ID.
Pattern: ^[a-fA-F0-9]{24}$
Example:
"6650a1b2c3d4e5f6a7b8c9d0"
contactFilter
object
The filter that decides which contacts are in the segment.
{
"status": "PAYMENT_REQUIRED",
"message": "Account is Disconnected"
}
{
"status": "RequestLimitHit",
"message": "Account rate limit exceeded. Too many requests per minute."
}
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Gallabox","colors":{"primary":"#2563EB","light":"#60A5FA","dark":"#1D4ED8"},"logo":{"light":"https://mintcdn.com/gallabox/yhortZ4jn1utML7C/images/gallabox-logo.svg?fit=max\u0026auto=format\u0026n=yhortZ4jn1utML7C\u0026q=85\u0026s=37dfc6f44f776ca3cbce0ab0e99cc237","dark":"https://mintcdn.com/gallabox/yhortZ4jn1utML7C/images/gallabox-logo.svg?fit=max\u0026auto=format\u0026n=yhortZ4jn1utML7C\u0026q=85\u0026s=37dfc6f44f776ca3cbce0ab0e99cc237"},"favicon":{"light":"https://mintcdn.com/gallabox/yhortZ4jn1utML7C/images/gallabox-icon-logo.svg?fit=max\u0026auto=format\u0026n=yhortZ4jn1utML7C\u0026q=85\u0026s=a956c687d47f1406c6052bee33c66d44","dark":"https://mintcdn.com/gallabox/yhortZ4jn1utML7C/images/gallabox-icon-logo.svg?fit=max\u0026auto=format\u0026n=yhortZ4jn1utML7C\u0026q=85\u0026s=a956c687d47f1406c6052bee33c66d44"},"navbar":{"links":[],"primary":{"type":"button","label":"Go to Gallabox","href":"https://app.gallabox.com"}},"footer":{"socials":{"website":"https://gallabox.com","linkedin":"https://www.linkedin.com/company/gallabox","x":"https://x.com/gallabox"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"tabs":[{"tab":"Signup","href":"https://app.gallabox.com/signup"}],"anchors":[{"anchor":"API Docs","icon":"rectangle-api","href":"/api-reference/introduction"},{"anchor":"API Docs (Legacy)","icon":"rectangle-api","href":"https://api-docs.gallabox.com"},{"anchor":"Status Page","icon":"grid","href":"https://status.gallabox.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gallabox","hasAudioNarration":false,"actualSubdomain":"gallabox","customDomains":["docs.gallabox.com"],"gitSource":{"type":"github","owner":"gallabox","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10fab09ffae5051c41b51c"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b116fa39f896d3440b3ca9f","clientVersion":"0.0.4428","searchFilterCounts":[{"language":"default","tag":"Documentation","count":185},{"language":"default","tag":"API Reference","count":145},{"language":"default","tag":"Endpoints","count":141},{"language":"default","tag":"Integrations","count":57},{"language":"default","tag":"WhatsApp","count":47},{"language":"default","tag":"Webhooks","count":41},{"language":"default","tag":"AI Agents \u0026 Bots","count":21},{"language":"default","tag":"Contacts","count":21},{"language":"default","tag":"Conversations","count":18},{"language":"default","tag":"Other Integrations","count":15}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"api-reference/segments/update-a-segment","slug":"/api-reference/segments/update-a-segment","pageMetadata":{"title":"Update a segment","description":"Changes a segment's name or filter.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/segments/{segmentId}","href":"/api-reference/segments/update-a-segment","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Changes a segment’s name or filter.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Update a segment","description":"Changes a segment's name or filter.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/segments/{segmentId}","href":"/api-reference/segments/update-a-segment","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"updateSegment","summary":"Update a segment","description":"Changes a segment's name or filter.","tags":["Segments"],"parameters":["0519653d-1510-4a0c-aa5f-c8b41d50d5c8","7f9bf10b-658b-4a9b-ab31-9929bd02f710"],"requestBody":"c8a57f3c-8bec-435e-8c91-480cd54dd25b","responses":{"200":"3f9d0f06-d184-4efc-9a16-3327a24ecb16","401":"e47b7778-5ca2-4962-a04a-c30c3b35efb6","402":"c0b98cdd-50a0-42d8-980c-486c8bd24cc7","429":"2c24a2ce-da99-494f-b5c3-74c24f96c445"},"method":"patch","type":"path","servers":["b292ece1-d47a-4634-aedf-7cf93989807f"],"security":["4aba0bc6-ca96-404e-b1e1-b9bea594fc9d"],"path":"/devapi/accounts/{accountId}/segments/{segmentId}","baseUrlOptions":["https://server.gallabox.com"],"title":"Update a segment","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0519653d-1510-4a0c-aa5f-c8b41d50d5c8":{"name":"accountId","in":"path","required":true,"description":"Your Gallabox account ID. Must be the API key's own account.","schema":{"type":"string","pattern":"^[a-fA-F0-9]{24}$","description":"Your Gallabox account ID. Must be the API key's own account.\nA 24-character hexadecimal ID.","examples":["6650a1b2c3d4e5f6a7b8c9d0"],"isRequired":true,"uniqueKey":"","typeLabel":"string"}},"7f9bf10b-658b-4a9b-ab31-9929bd02f710":{"name":"segmentId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"ID of the segment.","uniqueKey":"","typeLabel":"string"},"description":"ID of the segment."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Segment name. It must be unique in the account.","uniqueKey":"name","typeLabel":"string"},"contactFilter":{"type":"object","description":"Which contacts match. Rules are combined with `condition`, and a rule can itself be a group with its own\n`condition` and `rules`. `GET /contacts/filters` lists the properties you can filter on, with each one's\n`type`, `meta` and operators.\n","required":["condition","rules"],"properties":{"condition":{"type":"string","enum":["and","or"],"description":"`and`: every rule must match. `or`: at least one rule must match.","isRequired":true,"uniqueKey":"contactFilter.condition","typeLabel":"enum\u003cstring>"},"rules":{"type":"array","items":{"oneOf":[{"type":"object","required":["type","property","operator","values"],"properties":{"type":{"type":"string","enum":["TEXT","NUMBER","BOOLEAN","SELECT","LOOKUP","DATE"],"description":"The property's type, from `GET /contacts/filters`.","isRequired":true,"uniqueKey":"contactFilter.rules.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"property":{"type":"string","description":"The contact property to test, from `GET /contacts/filters`, for example `name` or `tags`.","isRequired":true,"uniqueKey":"contactFilter.rules.items.[INDEX].oneOf.0.property","typeLabel":"string"},"operator":{"type":"string","description":"How to compare, for example `Is`, `Is not`, `Contains`, `Is empty` or `Range`.","isRequired":true,"uniqueKey":"contactFilter.rules.items.[INDEX].oneOf.0.operator","typeLabel":"string"},"values":{"type":"array","items":{"type":"string","uniqueKey":"contactFilter.rules.items.[INDEX].oneOf.0.values.items.[INDEX]","typeLabel":"string"},"description":"Values to compare with. With more than one, the rule matches any of them.","isRequired":true,"uniqueKey":"contactFilter.rules.items.[INDEX].oneOf.0.values","typeLabel":"string[]"},"meta":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"contactFilter.rules.items.[INDEX].oneOf.0.meta.additionalProperties","typeLabel":"string"},"description":"Copy it from the property in `GET /contacts/filters`.","uniqueKey":"contactFilter.rules.items.[INDEX].oneOf.0.meta","typeLabel":"object"}},"uniqueKey":"contactFilter.rules.items.[INDEX].oneOf.0","typeLabel":"object"},{}],"uniqueKey":"contactFilter.rules.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"contactFilter.rules","typeLabel":"object[]"}},"uniqueKey":"contactFilter","typeLabel":"object"}},"description":"Send only what you want to change.","uniqueKey":"","typeLabel":"object"},"example":{"name":"VIP customers"},"examples":{"Example":{"title":"Example","value":{"name":"VIP customers"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"3f9d0f06-d184-4efc-9a16-3327a24ecb16":{"description":"The updated segment.","content":{"application/json":{"schema":{"type":"object","description":"A saved group of contacts.","properties":{"id":{"type":"string","pattern":"^[a-fA-F0-9]{24}$","description":"A 24-character hexadecimal ID.","examples":["6650a1b2c3d4e5f6a7b8c9d0"],"uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"name","typeLabel":"string"},"accountId":{"type":"string","pattern":"^[a-fA-F0-9]{24}$","description":"A 24-character hexadecimal ID.","examples":["6650a1b2c3d4e5f6a7b8c9d0"],"uniqueKey":"accountId","typeLabel":"string"},"contactFilter":{"type":"object","description":"The filter that decides which contacts are in the segment.","properties":{},"additionalProperties":true,"uniqueKey":"contactFilter","typeLabel":"object"},"creatorId":{"type":"string","pattern":"^[a-fA-F0-9]{24}$","description":"A 24-character hexadecimal ID.","examples":["6650a1b2c3d4e5f6a7b8c9d0"],"uniqueKey":"creatorId","typeLabel":"string"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"updatedAt","typeLabel":"string\u003cdate-time>"}},"additionalProperties":true,"uniqueKey":"","typeLabel":"object"},"example":{"id":"6650a1b2c3d4e5f6a7b80400","name":"VIP customers","accountId":"6650a1b2c3d4e5f6a7b8c9d9","contactFilter":{"tags":["vip"]},"creatorId":"6650a1b2c3d4e5f6a7b8c9a1","createdAt":"2026-11-01T10:00:00Z","updatedAt":"2026-11-01T10:00:00Z"},"examples":{"Example":{"title":"Example","value":{"id":"6650a1b2c3d4e5f6a7b80400","name":"VIP customers","accountId":"6650a1b2c3d4e5f6a7b8c9d9","contactFilter":{"tags":["vip"]},"creatorId":"6650a1b2c3d4e5f6a7b8c9a1","createdAt":"2026-11-01T10:00:00Z","updatedAt":"2026-11-01T10:00:00Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"e47b7778-5ca2-4962-a04a-c30c3b35efb6":{"description":"The API key or secret is missing or wrong, or the key does not belong to `{accountId}`.","content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"type":"string","description":"Error category, for example `ERROR`, `UNAUTHORIZED`, `PAYMENT_REQUIRED`, `RequestLimitHit`.","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description.","uniqueKey":"message","typeLabel":"string"},"error":{"description":"Extra detail. For validation errors, a comma-separated summary of every field error.","uniqueKey":"error","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"Unauthorized","message":"Unauthorized"},"examples":{"Example":{"title":"Example","value":{"status":"Unauthorized","message":"Unauthorized"}}},"exampleType":"examples"}},"exampleType":"examples"},"c0b98cdd-50a0-42d8-980c-486c8bd24cc7":{"description":"The account is disconnected, usually because its plan has lapsed. Every API call returns this until the account\nis active again.\n","content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"type":"string","description":"Error category, for example `ERROR`, `UNAUTHORIZED`, `PAYMENT_REQUIRED`, `RequestLimitHit`.","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description.","uniqueKey":"message","typeLabel":"string"},"error":{"description":"Extra detail. For validation errors, a comma-separated summary of every field error.","uniqueKey":"error","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"PAYMENT_REQUIRED","message":"Account is Disconnected"},"examples":{"Example":{"title":"Example","value":{"status":"PAYMENT_REQUIRED","message":"Account is Disconnected"}}},"exampleType":"examples"}},"exampleType":"examples"},"2c24a2ce-da99-494f-b5c3-74c24f96c445":{"description":"The account went over its general limit: 200 requests a minute unless the plan allows more. Wait for\n`X-RateLimit-Retry-After` seconds and try again.\n","headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the current window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the current window resets, as a date string.","schema":{"type":"string"}},"X-RateLimit-Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"type":"string","description":"Error category, for example `ERROR`, `UNAUTHORIZED`, `PAYMENT_REQUIRED`, `RequestLimitHit`.","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","description":"Human-readable description.","uniqueKey":"message","typeLabel":"string"},"error":{"description":"Extra detail. For validation errors, a comma-separated summary of every field error.","uniqueKey":"error","typeLabel":"any"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"RequestLimitHit","message":"Account rate limit exceeded. Too many requests per minute."},"examples":{"Example":{"title":"Example","value":{"status":"RequestLimitHit","message":"Account rate limit exceeded. Too many requests per minute."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"4aba0bc6-ca96-404e-b1e1-b9bea594fc9d":{"apiKey":{"type":"apiKey","in":"header","name":"apiKey","description":"API key from Settings → API keys.","scopes":[],"schemeName":"apiKey"},"apiSecret":{"type":"apiKey","in":"header","name":"apiSecret","description":"Secret shown once when the API key is created.","scopes":[],"schemeName":"apiSecret"}}},"servers":{"b292ece1-d47a-4634-aedf-7cf93989807f":{"url":"https://server.gallabox.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"apiKey","description":"API key from Settings → API keys.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"apiKey","type":"string","description":"API key from Settings → API keys.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"apiKey"},{"scheme":{"type":"apiKey","in":"header","name":"apiSecret","description":"Secret shown once when the API key is created.","scopes":[],"schemeName":"apiSecret"},"schema":{"title":"apiSecret","type":"string","description":"Secret shown once when the API key is created.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiSecret","name":"apiSecret"}],"title":"apiKey \u0026 apiSecret"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"gallabox","siteName":"Gallabox","title":"Update a segment - Gallabox","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-03T13:33:31.678Z","originalFileLocation":"api-reference/segments/update-a-segment.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Changes a segment\u0026#x27;s name or filter.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Gallabox\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gallabox/0KemgOk7PwY_1IB8/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gallabox/0KemgOk7PwY_1IB8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gallabox/0KemgOk7PwY_1IB8/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gallabox/0KemgOk7PwY_1IB8/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gallabox/0KemgOk7PwY_1IB8/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gallabox/0KemgOk7PwY_1IB8/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gallabox/0KemgOk7PwY_1IB8/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gallabox/0KemgOk7PwY_1IB8/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gallabox/0KemgOk7PwY_1IB8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a segment - Gallabox\">\u003cmeta data-mint-head property=\"og:description\" content=\"Changes a segment\u0026#x27;s name or filter.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gallabox\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gallabox.com/api-reference/segments/update-a-segment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gallabox.mintlify.site/_mintlify/api/og/v2?division=Segments\u0026amp;title=Update+a+segment\u0026amp;description=Changes+a+segment%27s+name+or+filter.\u0026amp;theme=abc769976e4dcc41a3d5271b\u0026amp;signature=961d131c31fa5398506722713d9e071bc5f37494b865fc2d986b573646dcb772\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update a segment - Gallabox\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Changes a segment\u0026#x27;s name or filter.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gallabox.mintlify.site/_mintlify/api/og/v2?division=Segments\u0026amp;title=Update+a+segment\u0026amp;description=Changes+a+segment%27s+name+or+filter.\u0026amp;theme=abc769976e4dcc41a3d5271b\u0026amp;signature=961d131c31fa5398506722713d9e071bc5f37494b865fc2d986b573646dcb772\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gallabox/0KemgOk7PwY_1IB8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gallabox\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gallabox.com/api-reference/segments/update-a-segment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/segments/update-a-segment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gallabox.com/#organization\",\"name\":\"Gallabox\",\"url\":\"https://docs.gallabox.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gallabox/yhortZ4jn1utML7C/images/gallabox-logo.svg?fit=max\u0026auto=format\u0026n=yhortZ4jn1utML7C\u0026q=85\u0026s=37dfc6f44f776ca3cbce0ab0e99cc237\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gallabox.com#website\",\"name\":\"Gallabox\",\"url\":\"https://docs.gallabox.com\",\"publisher\":{\"@id\":\"https://docs.gallabox.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gallabox.com/api-reference/segments/update-a-segment#webpage\",\"url\":\"https://docs.gallabox.com/api-reference/segments/update-a-segment\",\"name\":\"Update a segment\",\"description\":\"Changes a segment's name or filter.\",\"dateModified\":\"2026-12-03T13:33:31.678Z\",\"isPartOf\":{\"@id\":\"https://docs.gallabox.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gallabox.com/api-reference/segments/update-a-segment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gallabox.com/api-reference/segments/update-a-segment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.gallabox.com/api-reference/account/get-the-wallet-balance\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Segments\",\"item\":\"https://docs.gallabox.com/api-reference/segments/list-segments\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update a segment\",\"item\":\"https://docs.gallabox.com/api-reference/segments/update-a-segment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gallabox.com/api-reference/segments/update-a-segment#apireference\",\"headline\":\"Update a segment\",\"name\":\"Update a segment\",\"description\":\"Changes a segment's name or filter.\",\"url\":\"https://docs.gallabox.com/api-reference/segments/update-a-segment\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gallabox.com/api-reference/segments/update-a-segment#webpage\"},\"dateModified\":\"2026-12-03T13:33:31.678Z\",\"publisher\":{\"@id\":\"https://docs.gallabox.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gallabox.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gallabox\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Gallabox\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/segments/update-a-segment.md","siteName":"Gallabox","nav":{"global":{"tabs":[{"tab":"Signup","href":"https://app.gallabox.com/signup"}],"anchors":[{"anchor":"API Docs","icon":"rectangle-api","href":"/api-reference/introduction"},{"anchor":"API Docs (Legacy)","icon":"rectangle-api","href":"https://api-docs.gallabox.com"},{"anchor":"Status Page","icon":"grid","href":"https://status.gallabox.com"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Guide","pages":[{"title":"Guide","href":"/guide/reduce-whatsapp-message-costs"}]},{"tab":"API Reference","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Gallabox Developer API","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Rate limits","href":"/api-reference/rate-limits"},{"title":"Errors","href":"/api-reference/errors"}]},{"group":"Endpoints","icon":"code","pages":[{"group":"Account","pages":[{"title":"Get the wallet balance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/wallet/balance","href":"/api-reference/account/get-the-wallet-balance"},{"title":"Get the API key's user and account","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/me","href":"/api-reference/account/get-the-api-keys-user-and-account"}]},{"group":"Messages","pages":[{"title":"List a contact's messages on a channel","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/messages","href":"/api-reference/messages/list-a-contacts-messages-on-a-channel"},{"title":"Get a message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/messages/{messageId}","href":"/api-reference/messages/get-a-message"},{"title":"Get a message's delivery status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/messages/{messageId}/status","href":"/api-reference/messages/get-a-messages-delivery-status"},{"title":"Send a WhatsApp message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/messages/whatsapp","href":"/api-reference/messages/send-a-whatsapp-message"},{"title":"Send a WhatsApp message (sync or async)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/messages/whatsapp/{mode}","href":"/api-reference/messages/send-a-whatsapp-message-sync-or-async"},{"title":"Send up to 100 WhatsApp messages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/messages/whatsapp/bulk","href":"/api-reference/messages/send-up-to-100-whatsapp-messages"},{"title":"Send one template to many recipients","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/messages/whatsapp/bulkRecipient","href":"/api-reference/messages/send-one-template-to-many-recipients"},{"title":"Mark messages as read","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/messages/whatsapp/mark-as-read","href":"/api-reference/messages/mark-messages-as-read"},{"title":"List a conversation's messages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/conversation/{conversationId}/messages","href":"/api-reference/messages/list-a-conversations-messages"},{"title":"Send a WhatsApp message from query parameters","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/messages/whatsapp","href":"/api-reference/messages/send-a-whatsapp-message-from-query-parameters"},{"title":"Send a WhatsApp message (account from the API key)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/messages/whatsapp","href":"/api-reference/messages/send-a-whatsapp-message-account-from-the-api-key"},{"title":"Send a WhatsApp message with a mode (account from the API key)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/messages/whatsapp/{mode}","href":"/api-reference/messages/send-a-whatsapp-message-with-a-mode-account-from-the-api-key"}]},{"group":"Direct Send","pages":[{"title":"Send a Direct Send message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/messages/whatsapp/direct-send","href":"/api-reference/direct-send/send-a-direct-send-message"},{"title":"Send a Direct Send message (sync or async)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/messages/whatsapp/direct-send/{mode}","href":"/api-reference/direct-send/send-a-direct-send-message-sync-or-async"},{"title":"Send a Direct Send message (account from the API key)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/messages/whatsapp/direct-send","href":"/api-reference/direct-send/send-a-direct-send-message-account-from-the-api-key"},{"title":"Send a Direct Send message with a mode (account from the API key)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/messages/whatsapp/direct-send/{mode}","href":"/api-reference/direct-send/send-a-direct-send-message-with-a-mode-account-from-the-api-key"}]},{"group":"Instagram","pages":[{"title":"Send an Instagram message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/messages/instagram","href":"/api-reference/instagram/send-an-instagram-message"},{"title":"Send an Instagram message (sync or async)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/messages/instagram/{mode}","href":"/api-reference/instagram/send-an-instagram-message-sync-or-async"}]},{"group":"Contacts","pages":[{"title":"Find contacts by phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/contacts","href":"/api-reference/contacts/find-contacts-by-phone-number"},{"title":"Create a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/contacts","href":"/api-reference/contacts/create-a-contact"},{"title":"List contacts with filters","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/contacts","href":"/api-reference/contacts/list-contacts-with-filters"},{"title":"Get a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/contacts/{contactId}","href":"/api-reference/contacts/get-a-contact"},{"title":"Delete a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /devapi/accounts/{accountId}/contacts/{contactId}","href":"/api-reference/contacts/delete-a-contact"},{"title":"Update a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/contacts/{contactId}","href":"/api-reference/contacts/update-a-contact"},{"title":"List a contact's tags","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/contacts/{contactId}/tags","href":"/api-reference/contacts/list-a-contacts-tags"},{"title":"Add a tag to a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/contacts/{contactId}/tags","href":"/api-reference/contacts/add-a-tag-to-a-contact"},{"title":"Remove a tag from a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /devapi/accounts/{accountId}/contacts/{contactId}/tags/{tagId}","href":"/api-reference/contacts/remove-a-tag-from-a-contact"},{"title":"Count contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/contacts/counts","href":"/api-reference/contacts/count-contacts"},{"title":"List the fields you can filter contacts by","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/contacts/filters","href":"/api-reference/contacts/list-the-fields-you-can-filter-contacts-by"},{"title":"Import contacts from a CSV file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/contacts/import","href":"/api-reference/contacts/import-contacts-from-a-csv-file"},{"title":"Delete a contact by phone number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /devapi/accounts/{accountId}/contacts/phone/{phone}","href":"/api-reference/contacts/delete-a-contact-by-phone-number"},{"title":"Search contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/contacts/search","href":"/api-reference/contacts/search-contacts"},{"title":"Create or update a contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/contacts/upsert","href":"/api-reference/contacts/create-or-update-a-contact"},{"title":"Create a contact (account from the API key)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/contacts","href":"/api-reference/contacts/create-a-contact-account-from-the-api-key"},{"title":"Create or update a contact (account from the API key)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/contacts/upsert","href":"/api-reference/contacts/create-or-update-a-contact-account-from-the-api-key"},{"title":"Create or update a contact with PATCH (account from the API key)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/contacts/upsert","href":"/api-reference/contacts/create-or-update-a-contact-with-patch-account-from-the-api-key"}]},{"group":"Segments","pages":[{"title":"List segments","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/segments","href":"/api-reference/segments/list-segments"},{"title":"Create a segment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/segments","href":"/api-reference/segments/create-a-segment"},{"title":"Get a segment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/segments/{segmentId}","href":"/api-reference/segments/get-a-segment"},{"title":"Delete a segment","description":"Deletes a segment. Its contacts are not deleted.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /devapi/accounts/{accountId}/segments/{segmentId}","href":"/api-reference/segments/delete-a-segment"},{"title":"Update a segment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/segments/{segmentId}","href":"/api-reference/segments/update-a-segment"}]},{"group":"Tags","pages":[{"title":"List tags","description":"Lists the account's tags.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/tags","href":"/api-reference/tags/list-tags"},{"title":"Create a tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/tags","href":"/api-reference/tags/create-a-tag"},{"title":"Delete a tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /devapi/accounts/{accountId}/tags/{tagId}","href":"/api-reference/tags/delete-a-tag"}]},{"group":"Custom Fields","pages":[{"title":"Create a custom field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/fields","href":"/api-reference/custom-fields/create-a-custom-field"},{"title":"Update a custom field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/fields/{fieldId}","href":"/api-reference/custom-fields/update-a-custom-field"},{"title":"List custom fields","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/fields","href":"/api-reference/custom-fields/list-custom-fields"}]},{"group":"Conversations","pages":[{"title":"List conversations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/conversations","href":"/api-reference/conversations/list-conversations"},{"title":"Get a conversation's AI analysis","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/conversations/{conversationId}/ai","href":"/api-reference/conversations/get-a-conversations-ai-analysis"},{"title":"Assign a conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/conversations/{conversationId}/assign","href":"/api-reference/conversations/assign-a-conversation"},{"title":"Move a conversation to another team","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/conversations/{conversationId}/change-team","href":"/api-reference/conversations/move-a-conversation-to-another-team"},{"title":"Remove a follow-up reminder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /devapi/accounts/{accountId}/conversations/{conversationId}/followup","href":"/api-reference/conversations/remove-a-follow-up-reminder"},{"title":"Set a follow-up reminder","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/conversations/{conversationId}/followup","href":"/api-reference/conversations/set-a-follow-up-reminder"},{"title":"Add a private note to a conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/conversations/{conversationId}/mention","href":"/api-reference/conversations/add-a-private-note-to-a-conversation"},{"title":"Resolve a conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/conversations/{conversationId}/resolve","href":"/api-reference/conversations/resolve-a-conversation"},{"title":"Tag a conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /devapi/accounts/{accountId}/conversations/{conversationId}/tags","href":"/api-reference/conversations/tag-a-conversation"},{"title":"Remove a tag from a conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /devapi/accounts/{accountId}/conversations/{conversationId}/tags/{tagId}","href":"/api-reference/conversations/remove-a-tag-from-a-conversation"},{"title":"List a contact's conversations by phone","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/conversations/phone/{phone}","href":"/api-reference/conversations/list-a-contacts-conversations-by-phone"},{"title":"Assign a contact's conversation by phone","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/conversations/phone/{phone}/assign","href":"/api-reference/conversations/assign-a-contacts-conversation-by-phone"},{"title":"Add a private note to a contact's conversation by phone","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/conversations/phone/{phone}/mention","href":"/api-reference/conversations/add-a-private-note-to-a-contacts-conversation-by-phone"},{"title":"Resolve a contact's conversation by phone","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/conversations/phone/{phone}/resolve","href":"/api-reference/conversations/resolve-a-contacts-conversation-by-phone"},{"title":"Unassign a contact's conversation by phone","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/conversations/phone/{phone}/unassign","href":"/api-reference/conversations/unassign-a-contacts-conversation-by-phone"},{"title":"Resolve a conversation by phone or BSUID","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/conversations/resolve","href":"/api-reference/conversations/resolve-a-conversation-by-phone-or-bsuid"},{"title":"Tag a contact's conversation by phone","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json put /devapi/accounts/{accountId}/conversations/tags","href":"/api-reference/conversations/tag-a-contacts-conversation-by-phone"},{"title":"Remove a tag from a contact's conversation by phone","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /devapi/accounts/{accountId}/conversations/tags/{tagId}","href":"/api-reference/conversations/remove-a-tag-from-a-contacts-conversation-by-phone"}]},{"group":"WhatsApp Templates","pages":[{"title":"List WhatsApp templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/whatsappTemplates","href":"/api-reference/whatsapp-templates/list-whatsapp-templates"},{"title":"Create a WhatsApp template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/whatsappTemplates","href":"/api-reference/whatsapp-templates/create-a-whatsapp-template"},{"title":"Get a WhatsApp template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/whatsappTemplates/{templateId}","href":"/api-reference/whatsapp-templates/get-a-whatsapp-template"},{"title":"Edit a WhatsApp template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/whatsappTemplates/{templateId}","href":"/api-reference/whatsapp-templates/edit-a-whatsapp-template"}]},{"group":"Broadcasts","pages":[{"title":"List broadcasts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/broadcasts","href":"/api-reference/broadcasts/list-broadcasts"},{"title":"Create a broadcast","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/broadcasts","href":"/api-reference/broadcasts/create-a-broadcast"},{"title":"Get a broadcast","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/broadcasts/{broadcastId}","href":"/api-reference/broadcasts/get-a-broadcast"},{"title":"List a broadcast's per-recipient results","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/broadcasts/{broadcastId}/logs","href":"/api-reference/broadcasts/list-a-broadcasts-per-recipient-results"}]},{"group":"Webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/webhooks","href":"/api-reference/webhooks/create-a-webhook"},{"title":"Get a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/webhooks/{webhookId}","href":"/api-reference/webhooks/get-a-webhook"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /devapi/webhooks/{webhookId}","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/webhooks/{webhookId}","href":"/api-reference/webhooks/update-a-webhook"},{"title":"List the events you can subscribe to","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/webhooks/events","href":"/api-reference/webhooks/list-the-events-you-can-subscribe-to"},{"title":"Contactcreated","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Contact.Created","href":"/api-reference/webhooks/contactcreated"},{"title":"Contactupdated","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Contact.Updated","href":"/api-reference/webhooks/contactupdated"},{"title":"Contacttagmapped","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Contact.Tag.Mapped","href":"/api-reference/webhooks/contacttagmapped"},{"title":"Contacttagunmapped","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Contact.Tag.Unmapped","href":"/api-reference/webhooks/contacttagunmapped"},{"title":"Conversationcreate","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Conversation.Create","href":"/api-reference/webhooks/conversationcreate"},{"title":"Conversationupdate","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Conversation.Update","href":"/api-reference/webhooks/conversationupdate"},{"title":"Conversationresolve","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Conversation.Resolve","href":"/api-reference/webhooks/conversationresolve"},{"title":"Conversationfollowup","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Conversation.Followup","href":"/api-reference/webhooks/conversationfollowup"},{"title":"Conversationunattended","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Conversation.UnAttended","href":"/api-reference/webhooks/conversationunattended"},{"title":"Conversationtagmapped","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Conversation.Tag.Mapped","href":"/api-reference/webhooks/conversationtagmapped"},{"title":"Conversationtagunmapped","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Conversation.Tag.Unmapped","href":"/api-reference/webhooks/conversationtagunmapped"},{"title":"Conversationhandoveragentfallback","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Conversation.HandoverAgentFallback","href":"/api-reference/webhooks/conversationhandoveragentfallback"},{"title":"Conversationinactiveagentfallback","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Conversation.InactiveAgentFallback","href":"/api-reference/webhooks/conversationinactiveagentfallback"},{"title":"Conversationaianalyse","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Conversation.AI.Analyse","href":"/api-reference/webhooks/conversationaianalyse"},{"title":"Conversationsentimentdrop","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Conversation.SentimentDrop","href":"/api-reference/webhooks/conversationsentimentdrop"},{"title":"Messagereceived","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Message.Received","href":"/api-reference/webhooks/messagereceived"},{"title":"Messagesend","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Message.Send","href":"/api-reference/webhooks/messagesend"},{"title":"Messageflowreceived","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Message.Flow.Received","href":"/api-reference/webhooks/messageflowreceived"},{"title":"Messagewacartreceived","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Message.WA.Cart.Received","href":"/api-reference/webhooks/messagewacartreceived"},{"title":"Messagewastatusreceived","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Message.WA.Status.Received","href":"/api-reference/webhooks/messagewastatusreceived"},{"title":"Messagewastatusfailed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Message.WA.Status.Failed","href":"/api-reference/webhooks/messagewastatusfailed"},{"title":"Messagewapaymentstatusreceived","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Message.WA.Payment.Status.Received","href":"/api-reference/webhooks/messagewapaymentstatusreceived"},{"title":"Messagewainteractionreceived","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Message.WA.Interaction.Received","href":"/api-reference/webhooks/messagewainteractionreceived"},{"title":"Templatestatus","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Template.Status","href":"/api-reference/webhooks/templatestatus"},{"title":"Broadcastwamessagestatusreceived","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Broadcast.WA.Message.Status.Received","href":"/api-reference/webhooks/broadcastwamessagestatusreceived"},{"title":"Broadcastwamessagestatusfailed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Broadcast.WA.Message.Status.Failed","href":"/api-reference/webhooks/broadcastwamessagestatusfailed"},{"title":"Broadcastwamessageengagedreceived","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Broadcast.WA.Message.Engaged.Received","href":"/api-reference/webhooks/broadcastwamessageengagedreceived"},{"title":"Callreceived","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Call.Received","href":"/api-reference/webhooks/callreceived"},{"title":"Callinitiated","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Call.Initiated","href":"/api-reference/webhooks/callinitiated"},{"title":"Callconnected","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Call.Connected","href":"/api-reference/webhooks/callconnected"},{"title":"Callended","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Call.Ended","href":"/api-reference/webhooks/callended"},{"title":"Callmissed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Call.Missed","href":"/api-reference/webhooks/callmissed"},{"title":"Callrejected","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Call.Rejected","href":"/api-reference/webhooks/callrejected"},{"title":"Callfailed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Call.Failed","href":"/api-reference/webhooks/callfailed"},{"title":"Callanalysed","version":null,"deprecated":null,"openapi":"/api-reference/openapi.json webhook Call.Analysed","href":"/api-reference/webhooks/callanalysed"}]},{"group":"WhatsApp Groups","pages":[{"title":"List groups","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/groups","href":"/api-reference/whatsapp-groups/list-groups"},{"title":"Create a group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/groups","href":"/api-reference/whatsapp-groups/create-a-group"},{"title":"Get a group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/groups/{groupId}","href":"/api-reference/whatsapp-groups/get-a-group"},{"title":"Delete a group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /devapi/accounts/{accountId}/groups/{groupId}","href":"/api-reference/whatsapp-groups/delete-a-group"},{"title":"Update a group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/groups/{groupId}","href":"/api-reference/whatsapp-groups/update-a-group"},{"title":"Invite participants to a group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/groups/{groupId}/invites","href":"/api-reference/whatsapp-groups/invite-participants-to-a-group"},{"title":"Approve requests to join a group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/groups/{groupId}/join-requests/accept","href":"/api-reference/whatsapp-groups/approve-requests-to-join-a-group"},{"title":"Reject requests to join a group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/groups/{groupId}/join-requests/reject","href":"/api-reference/whatsapp-groups/reject-requests-to-join-a-group"},{"title":"List a group's messages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/groups/{groupId}/messages","href":"/api-reference/whatsapp-groups/list-a-groups-messages"},{"title":"Send a message to a group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/groups/{groupId}/messages","href":"/api-reference/whatsapp-groups/send-a-message-to-a-group"},{"title":"Send a template to a group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/groups/{groupId}/messages/template","href":"/api-reference/whatsapp-groups/send-a-template-to-a-group"},{"title":"Remove participants from a group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/groups/{groupId}/participants/remove","href":"/api-reference/whatsapp-groups/remove-participants-from-a-group"}]},{"group":"Users and Teams","pages":[{"title":"List teams","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/teams","href":"/api-reference/users-and-teams/list-teams"},{"title":"Add users to teams","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/teams/map","href":"/api-reference/users-and-teams/add-users-to-teams"},{"title":"Remove users from teams","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/teams/un-map","href":"/api-reference/users-and-teams/remove-users-from-teams"},{"title":"List users","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/users","href":"/api-reference/users-and-teams/list-users"},{"title":"Invite users","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/users","href":"/api-reference/users-and-teams/invite-users"},{"title":"Delete users","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json delete /devapi/accounts/{accountId}/users","href":"/api-reference/users-and-teams/delete-users"},{"title":"Set users' availability","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json patch /devapi/accounts/{accountId}/users/availability","href":"/api-reference/users-and-teams/set-users-availability"}]},{"group":"Channels","pages":[{"title":"List channels","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/channels","href":"/api-reference/channels/list-channels"}]},{"group":"Click-to-WhatsApp Ads","pages":[{"title":"Report a Click-to-WhatsApp ad conversion","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/channels/{channelId}/ctwa/conversion","href":"/api-reference/click-to-whatsapp-ads/report-a-click-to-whatsapp-ad-conversion"}]},{"group":"Analytics","pages":[{"title":"Export template analytics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/analytics/templates/export","href":"/api-reference/analytics/export-template-analytics"},{"title":"Get a template analytics export","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/analytics/templates/export/{requestId}","href":"/api-reference/analytics/get-a-template-analytics-export"},{"title":"Get template analytics totals","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /devapi/accounts/{accountId}/analytics/templates/summary","href":"/api-reference/analytics/get-template-analytics-totals"}]},{"group":"Media","pages":[{"title":"Upload a media file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /devapi/accounts/{accountId}/media","href":"/api-reference/media/upload-a-media-file"}]}]}]}]},"basePath":"","title":"Update a segment - Gallabox","deploymentId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","buildId":"dpl_4dgnk6TA5fUgboKHTvWWyeqm3idh","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-5zXlUUV6.js","snippetPresets-D3m2eL-0.js","utils-u8TSWPiZ.js","style-to-object-BY3JEAdk.js","utils-D3TDKJCH.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Om0Y4Ijd.js","conditional-requirements-CFM0id0Q.js","cloneDeep-Cyl7LOol.js","_Uint8Array-BuOv0f5_.js","isObject-FP1Yky1u.js","Page-DdEXfHxg.js","api-description-markdown-DDasI_tu.js","DynamicMarkdown-DoPsKgYC.js","CodeSnippet-CuGpPhIN.js","use-playground-group-access-DYZiRN3l.js","SectionHeading-CKObOTcn.js","ApiExamples-BnqLE2Kf.js","usePlaygroundInputsStore-DhQKVH9n.js","shallow-BOCfJNQU.js","isEqual-BrbSa25D.js","CodeSnippets-DUGBlB-S.js","MethodPill-D_DqPuJw.js","getPastedJson-DWfa7n0M.js","Check2Icon-CEquKboc.js","axios-CsQoIw0U.js","Markdown-CIbHOmUi.js","AssistantPageLink-C0oSAXp0.js","dist-Bp7AI3M8.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}