{"items":[{"type":"link","label":"Connections","link":"/openapi/uinbox/v1/modules/connections","routeSlug":"/openapi/uinbox/v1/modules/connections","content":{"contentType":"overview","meta":{"name":"Connections"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"connections.json","url":"/_bundle/openapi/uinbox/v1/modules/connections.json?download"},{"kind":"download","label":"connections.yaml","url":"/_bundle/openapi/uinbox/v1/modules/connections.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"externallink","title":"URL","titleTranslationKey":"info.contact.url","label":"https://app.iclosed.io/support","url":"https://app.iclosed.io/support"},{"kind":"externallink","title":"License","titleTranslationKey":"info.license","label":"Proprietary","url":"https://app.iclosed.io/terms"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"/_mock/openapi/uinbox/v1/modules/connections","description":"Mock server","isMockServer":true},{"url":"https://uinboxpub.api.iclosed.io","description":"Production"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Connections (1.0.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Channel connections on the account. Use a connection's "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"_id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"connectionId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when sending. Provider credentials are never returned."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/"}],"sectionId":"/"}]}]}},{"label":"List connections","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/openapi/uinbox/v1/modules/connections/other/listconnections","routeSlug":"/openapi/uinbox/v1/modules/connections/other/listconnections","metadata":{"seo":{"title":"List connections","description":"Lists the channel connections on this account, grouped by channel type, with the id to pass as connectionId when sending. Provider credentials are never returned; sendRules carries the per-connection limits that apply to a send."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listConnections","name":"List connections","isWebhook":false,"pointer":"/paths/~1v1~1connections~1list/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List connections","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Lists the channel connections on this account, grouped by channel type, with the id to pass as connectionId when sending. Provider credentials are never returned; sendRules carries the per-connection limits that apply to a send."},{"nodeType":"security","requirements":[{"schemes":[{"name":"bearerAuth","scopes":["inbox.connections:read"],"type":"http","scheme":"bearer","bearerFormat":"API key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API key required in Authorization header. Format: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"iclosed_<token>"},"children":[],"type":"code"}],"type":"paragraph"}]}]},{"schemes":[{"name":"oauth2","scopes":["inbox.connections:read"],"type":"oauth2","description":"OAuth 2.1 authorization code with PKCE. Tokens are issued by the iClosed authorization server and accepted by the Unified Inbox API.","flows":{"authorizationCode":{"authorizationUrl":"https://app.iclosed.io/oauth/authorize","tokenUrl":"https://public.api.iclosed.io/v1/oauth/token","refreshUrl":"https://public.api.iclosed.io/v1/oauth/token","scopes":{"inbox.chats:read":"Read inbox chats","inbox.chats:write":"Create, update and assign inbox chats","inbox.messages:read":"Read inbox messages","inbox.messages:write":"Send and retry inbox messages","inbox.connections:read":"Read channel connections","inbox.analytics:read":"Read inbox analytics","inbox.recordings:read":"Read call recordings","inbox.recordings:write":"Generate call recording summaries","inbox.workflows:read":"Read inbox workflows"}}}}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/v1/connections/list","servers":[{"url":"/_mock/openapi/uinbox/v1/modules/connections","description":"Mock server","isMockServer":true},{"url":"https://uinboxpub.api.iclosed.io","description":"Production"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"API key"}],"scopes":["inbox.connections:read"]},{"schemes":[{"id":"oauth2","type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://app.iclosed.io/oauth/authorize","tokenUrl":"https://public.api.iclosed.io/v1/oauth/token","refreshUrl":"https://public.api.iclosed.io/v1/oauth/token","scopes":{"inbox.chats:read":"Read inbox chats","inbox.chats:write":"Create, update and assign inbox chats","inbox.messages:read":"Read inbox messages","inbox.messages:write":"Send and retry inbox messages","inbox.connections:read":"Read channel connections","inbox.analytics:read":"Read inbox analytics","inbox.recordings:read":"Read call recordings","inbox.recordings:write":"Generate call recording summaries","inbox.workflows:read":"Read inbox workflows"}}}}],"scopes":["inbox.connections:read"]}],"responseCodes":["200","400","401","403","404","429","500"],"pointer":"/v1/connections/list","href":"other/listconnections","openApiOperationId":"listConnections","summary":"List connections","securityGroups":[{"bearerAuth":["inbox.connections:read"]},{"oauth2":["inbox.connections:read"]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/openapi/uinbox/v1/modules/connections","description":"Mock server","isMockServer":true},{"url":"https://uinboxpub.api.iclosed.io","description":"Production"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The account's channel connections, grouped by channel type.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"400","description":"Bad request or validation failed","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1","exampleIds":["paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/invalidValue","paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/unknownField"]}},"schemaId":"schema_1","exampleIds":["paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/invalidValue","paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/unknownField"]},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unauthorized – missing, invalid, or expired API key (Bearer token required). An expired key returns message \"API key expired\"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_2","exampleIds":["paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missing","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/invalid","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/expired","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missingFromRateLimiter"]}},"schemaId":"schema_2","exampleIds":["paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missing","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/invalid","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/expired","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missingFromRateLimiter"]},{"code":"403","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Forbidden – insufficient permissions"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_3","exampleIds":["paths/~1v1~1connections~1list/get/responses/403/content/application~1json/example"]}},"schemaId":"schema_3","exampleIds":["paths/~1v1~1connections~1list/get/responses/403/content/application~1json/example"]},{"code":"404","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Resource not found (e.g. NOT_FOUND, RECORD_NOT_FOUND, EVENT_NOT_FOUND)"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4","exampleIds":["paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/generic","paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/record"]}},"schemaId":"schema_4","exampleIds":["paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/generic","paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/record"]},{"code":"429","description":"Rate limit exceeded. Each plan has its own allowance per endpoint per 10 seconds: Startup 20, Growth 50, Business 100. Response includes RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset, and Retry-After headers.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5","exampleIds":["paths/~1v1~1connections~1list/get/responses/429/content/application~1json/example"]}},"schemaId":"schema_5","exampleIds":["paths/~1v1~1connections~1list/get/responses/429/content/application~1json/example"],"headers":{"RateLimit-Limit":{"description":"Maximum requests allowed in the current window","schema":{"type":"string"}},"RateLimit-Remaining":{"description":"Requests remaining in the current window","schema":{"type":"string"}},"RateLimit-Reset":{"description":"ISO 8601 timestamp when the rate limit window resets","schema":{"type":"string","format":"date-time"}},"Retry-After":{"description":"Seconds until the client can retry (when applicable)","schema":{"type":"string"}}},"headerSchemaId":"schema_6"},{"code":"500","description":"Internal server error. Unhandled errors return a generic message; no stack trace is ever returned.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/generic","paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/withMessage"]}},"schemaId":"schema_7","exampleIds":["paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/generic","paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/withMessage"]}],"pointer":"/paths/~1v1~1connections~1list/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"400","schemaId":"schema_1","exampleIds":["paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/invalidValue","paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/unknownField"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1","exampleIds":["paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/invalidValue","paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/unknownField"]}}},{"code":"401","schemaId":"schema_2","exampleIds":["paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missing","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/invalid","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/expired","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missingFromRateLimiter"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_2","exampleIds":["paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missing","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/invalid","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/expired","paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missingFromRateLimiter"]}}},{"code":"403","schemaId":"schema_3","exampleIds":["paths/~1v1~1connections~1list/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_3","exampleIds":["paths/~1v1~1connections~1list/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"schema_4","exampleIds":["paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/generic","paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/record"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4","exampleIds":["paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/generic","paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/record"]}}},{"code":"429","schemaId":"schema_5","exampleIds":["paths/~1v1~1connections~1list/get/responses/429/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5","exampleIds":["paths/~1v1~1connections~1list/get/responses/429/content/application~1json/example"]}}},{"code":"500","schemaId":"schema_7","exampleIds":["paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/generic","paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/withMessage"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7","exampleIds":["paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/generic","paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/withMessage"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/other/listconnections"}],"panels":[]}]},"httpPath":"/v1/connections/list"}],"store":{"schemaStore":{"schema_0":{"kind":"json-schema","data":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"data":{"type":"object","properties":{"connections":{"description":"Connections grouped by channel type. A type with no connections is absent.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"object","properties":{"_id":{"description":"Pass this as connectionId when sending.","type":"string"},"type":{"description":"Channel type, e.g. whatsappCloudApi, gmail, instagram.","type":"string"},"name":{"description":"Connection name as shown in the inbox.","type":"string"},"status":{"description":"Whether the connection is usable right now.","type":"string"},"userId":{"description":"The teammate who connected it.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"phoneNumber":{"type":"string"},"phoneNumberId":{"description":"WhatsApp Cloud API.","type":"string"},"businessAccountId":{"description":"WhatsApp Cloud API.","type":"string"},"emailAddress":{"description":"Email channels.","type":"string"},"senderName":{"type":"string"},"signatureActive":{"type":"boolean"},"signatureBody":{"type":"string"},"chatLink":{"type":"string"},"phoneLines":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"phoneLine":{"type":"string"},"limit":{"type":"number"}},"required":["phoneLine","limit"],"additionalProperties":false}},"autoSwitchLine":{"type":"boolean"},"createChatOnUnknown":{"type":"boolean"},"dailyConversationsCap":{"description":"Per-day send cap for this connection.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"pageId":{"description":"Facebook Messenger.","type":"string"},"pageName":{"description":"Facebook Messenger.","type":"string"},"pageLink":{"description":"Facebook Messenger.","type":"string"},"category":{"type":"string"},"instagramAccountId":{"type":"string"},"instagramUserId":{"type":"string"},"username":{"type":"string"},"workspaceId":{"type":"string"},"adminId":{"type":"string"},"visibleIntercomFields":{"type":"array","items":{"type":"string"}},"sendRules":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The limits that apply to a send on this connection — caps, windows and opt-out handling."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["_id","type","name"],"additionalProperties":false}}}},"required":["connections"],"additionalProperties":false}},"required":["data"],"additionalProperties":false},"id":"schema_0"},"schema_1":{"kind":"json-schema","data":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"message":{"description":"The first problem, as \"field: reason\". It is one of the entries in details, not a separate sentence.","type":"string"},"details":{"description":"Present on a validation failure.","type":"object","properties":{"formErrors":{"description":"Problems with the request as a whole, which no single field accounts for.","type":"array","items":{"type":"string"}},"fieldErrors":{"description":"Field name to the problems with it. A field the endpoint does not accept is listed here under its own name, with \"Unrecognized key\".","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}}},"required":["formErrors","fieldErrors"],"additionalProperties":false}},"required":["message"],"additionalProperties":false},"id":"schema_1"},"schema_2":{"kind":"json-schema","data":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"message":{"description":"e.g. \"API key is required\", \"Invalid API key\", or \"API key expired\"","type":"string"},"code":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Optional code e.g. MISSING_API_KEY when rate limiter runs before valid auth"},"children":[],"type":"text"}],"type":"paragraph"}],"type":"string"}},"required":["message"],"additionalProperties":false},"id":"schema_2"},"schema_3":{"kind":"json-schema","data":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false},"id":"schema_3"},"schema_4":{"kind":"json-schema","data":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"message":{"description":"e.g. \"Resource not found!\" or \"Record not found!\"","type":"string"}},"required":["message"],"additionalProperties":false},"id":"schema_4"},"schema_5":{"kind":"json-schema","data":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"code":{"description":"Fixed code for rate limit responses","type":"string","const":"RATE_LIMIT_EXCEEDED"},"message":{"description":"e.g. \"Too many requests, please try again later.\"","type":"string"},"retryAfter":{"description":"Seconds until the rate limit window resets","type":"number"},"limit":{"description":"The plan limit that was applied, per endpoint per 10 seconds: Startup 20, Growth 50, Business 100.","type":"object","properties":{"points":{"type":"number"},"windowSec":{"type":"number"}},"required":["points","windowSec"],"additionalProperties":false}},"required":["code","message"],"additionalProperties":false},"id":"schema_5"},"schema_6":{"kind":"json-schema","data":{"type":"object","properties":{"RateLimit-Limit":{"type":"string","description":"Maximum requests allowed in the current window"},"RateLimit-Remaining":{"type":"string","description":"Requests remaining in the current window"},"RateLimit-Reset":{"type":"string","format":"date-time","description":"ISO 8601 timestamp when the rate limit window resets"},"Retry-After":{"type":"string","description":"Seconds until the client can retry (when applicable)"}}},"id":"schema_6"},"schema_7":{"kind":"json-schema","data":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"message":{"description":"Generic: \"Something went wrong\", or a safe error message","type":"string"}},"required":["message"],"additionalProperties":false},"id":"schema_7"}},"exampleStore":{"paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/invalidValue":{"value":{"message":"limit: Too big: expected number to be <=500","details":{"formErrors":[],"fieldErrors":{"limit":["Too big: expected number to be <=500"]}}},"key":"invalidValue","summary":"A field was out of range","id":"paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/invalidValue"},"paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/unknownField":{"value":{"message":"notAField: Unrecognized key","details":{"formErrors":[],"fieldErrors":{"notAField":["Unrecognized key"]}}},"key":"unknownField","summary":"The body carried a field the endpoint does not accept","id":"paths/~1v1~1connections~1list/get/responses/400/content/application~1json/examples/unknownField"},"paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missing":{"value":{"message":"API key is required"},"key":"missing","summary":"Missing API key","id":"paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missing"},"paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/invalid":{"value":{"message":"Invalid API key"},"key":"invalid","summary":"Invalid API key","id":"paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/invalid"},"paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/expired":{"value":{"message":"API key expired"},"key":"expired","summary":"Expired API key","id":"paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/expired"},"paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missingFromRateLimiter":{"value":{"code":"MISSING_API_KEY","message":"API key is required for this endpoint"},"key":"missingFromRateLimiter","summary":"Missing auth when rate limiter runs first","id":"paths/~1v1~1connections~1list/get/responses/401/content/application~1json/examples/missingFromRateLimiter"},"paths/~1v1~1connections~1list/get/responses/403/content/application~1json/example":{"value":{"message":"Forbidden access"},"id":"paths/~1v1~1connections~1list/get/responses/403/content/application~1json/example"},"paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/generic":{"value":{"message":"Resource not found!"},"key":"generic","summary":"Generic not found","id":"paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/generic"},"paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/record":{"value":{"message":"Record not found!"},"key":"record","summary":"Record not found","id":"paths/~1v1~1connections~1list/get/responses/404/content/application~1json/examples/record"},"paths/~1v1~1connections~1list/get/responses/429/content/application~1json/example":{"value":{"code":"RATE_LIMIT_EXCEEDED","message":"Too many requests, please try again later.","retryAfter":10,"limit":{"points":20,"windowSec":10}},"id":"paths/~1v1~1connections~1list/get/responses/429/content/application~1json/example"},"paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/generic":{"value":{"message":"Something went wrong"},"key":"generic","summary":"Generic","id":"paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/generic"},"paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/withMessage":{"value":{"message":"Database connection failed"},"key":"withMessage","summary":"Error with message","id":"paths/~1v1~1connections~1list/get/responses/500/content/application~1json/examples/withMessage"}},"securitySchemeStore":{"bearerAuth":{"id":"bearerAuth","type":"http","scheme":"bearer","bearerFormat":"API key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API key required in Authorization header. Format: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"iclosed_<token>"},"children":[],"type":"code"}],"type":"paragraph"}]},"oauth2":{"id":"oauth2","type":"oauth2","description":"OAuth 2.1 authorization code with PKCE. Tokens are issued by the iClosed authorization server and accepted by the Unified Inbox API.","flows":{"authorizationCode":{"authorizationUrl":"https://app.iclosed.io/oauth/authorize","tokenUrl":"https://public.api.iclosed.io/v1/oauth/token","refreshUrl":"https://public.api.iclosed.io/v1/oauth/token","scopes":{"inbox.chats:read":"Read inbox chats","inbox.chats:write":"Create, update and assign inbox chats","inbox.messages:read":"Read inbox messages","inbox.messages:write":"Send and retry inbox messages","inbox.connections:read":"Read channel connections","inbox.analytics:read":"Read inbox analytics","inbox.recordings:read":"Read call recordings","inbox.recordings:write":"Generate call recording summaries","inbox.workflows:read":"Read inbox workflows"}}}}},"specVersion":"3.1.0","servers":[{"url":"/_mock/openapi/uinbox/v1/modules/connections","isMockServer":true,"description":"Mock server"},{"url":"https://uinboxpub.api.iclosed.io","description":"Production"}],"specType":"openapi"},"options":{"jsonSamplesExpandLevel":"all","mockServer":{"url":"/_mock/openapi/uinbox/v1/modules/connections","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/openapi/uinbox/v1/modules/connections.json?download"},{"url":"/_bundle/openapi/uinbox/v1/modules/connections.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false,"asyncapi":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Connections","description":"Channel connections on the account. Use a connection's `_id` as `connectionId` when sending. Provider credentials are never returned."}},"baseSlug":"/openapi/uinbox/v1/modules/connections","routesMapping":{}}