{"openapi":"3.1.0","info":{"title":"Customer.io Setup (BYOK) API","version":"0.1.0","description":"Customer.io Setup (BYOK) lets an AI assistant read your own Customer.io Setup data through the Customer.io Setup API with a key you supply (App API key (US region)). Read-only: 8 tools (list_transactional_messages, get_transactional_metrics, list_snippets, list_subscription_topics, list_subscription_channels, list_object_types, list_collections, list_reporting_webhooks). The BYOK key travels with...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-customerio-setup.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-customerio-setup/docs"},"termsOfService":"https://connectorbay.com/byok-customerio-setup/terms"},"servers":[{"url":"https://byok-customerio-setup.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-customerio-setup/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_transactional_messages":{"post":{"operationId":"list_transactional_messages","summary":"List transactional message templates with id, name, description, tracking flags and dates. Message bodies are not return","description":"List transactional message templates with id, name, description, tracking flags and dates. Message bodies are not returned. Use for \"Which transactional messages are set up in Customer.io\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_transactional_messagesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_transactional_metrics":{"post":{"operationId":"get_transactional_metrics","summary":"Get delivery counts over time for one transactional message: sent, delivered, opened, clicked, bounced, failed and unsub","description":"Get delivery counts over time for one transactional message: sent, delivered, opened, clicked, bounced, failed and unsubscribed series per period. Use for \"How many deliveries and bounces did transactional message 3 have in Customer.io\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"transactional_id":{"description":"The transactional message id, from list_transactional_messages.","minimum":1,"title":"Transactional Id","type":"integer"},"period":{"anyOf":[{"enum":["hours","days","weeks","months"],"type":"string"},{"type":"null"}],"default":"days","description":"Unit of time: hours, days, weeks or months.","title":"Period"},"steps":{"anyOf":[{"maximum":366,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"How many periods to return (defaults to the maximum available).","title":"Steps"}},"required":["transactional_id"],"title":"get_transactional_metricsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_snippets":{"post":{"operationId":"list_snippets","summary":"List reusable snippet names with last update time. Snippet values are not picked. Use for \"Which snippets are defined in","description":"List reusable snippet names with last update time. Snippet values are not picked. Use for \"Which snippets are defined in Customer.io\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_snippetsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_subscription_topics":{"post":{"operationId":"list_subscription_topics","summary":"List subscription topics (preference center categories) with id, identifier, name, description and default subscription.","description":"List subscription topics (preference center categories) with id, identifier, name, description and default subscription. Use for \"Which subscription topics exist in Customer.io\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_subscription_topicsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_subscription_channels":{"post":{"operationId":"list_subscription_channels","summary":"List subscription channels with id, name, type (email, twilio, push, slack and more), description and default subscripti","description":"List subscription channels with id, name, type (email, twilio, push, slack and more), description and default subscription. Use for \"Which messaging channels are configured in Customer.io\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_subscription_channelsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_object_types":{"post":{"operationId":"list_object_types","summary":"List object types (accounts, carts and other custom objects) with id, name, slug and enabled flag. Use for \"Which object","description":"List object types (accounts, carts and other custom objects) with id, name, slug and enabled flag. Use for \"Which object types exist in Customer.io\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_object_typesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_collections":{"post":{"operationId":"list_collections","summary":"List data collections with name, row count, size in bytes and update time. Collection contents are not returned. Use for","description":"List data collections with name, row count, size in bytes and update time. Collection contents are not returned. Use for \"Which collections are stored in Customer.io\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_collectionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_reporting_webhooks":{"post":{"operationId":"list_reporting_webhooks","summary":"List reporting webhook configurations with name, type, subscribed events and disabled flag. Endpoint URLs are not return","description":"List reporting webhook configurations with name, type, subscribed events and disabled flag. Endpoint URLs are not returned. Use for \"Which reporting webhooks are configured in Customer.io\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_reporting_webhooksArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}