{"openapi":"3.1.0","info":{"title":"Twilio SIP Domains (BYOK) API","version":"0.1.0","description":"Twilio SIP Domains (BYOK) lets an AI assistant read your own Twilio SIP Domains data through the Twilio SIP Domains API with a key you supply (Account SID or API key SID (use a restricted API key, SID starts with SK, rather than the main Auth Token where possible)). Read-only: 10 tools (list_sip_domains, get_sip_domain, list_ip_access_control_lists, list_ip_addresses, list_credential_lists,...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-twilio-sip.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-twilio-sip/docs"},"termsOfService":"https://connectorbay.com/byok-twilio-sip/terms"},"servers":[{"url":"https://byok-twilio-sip.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-twilio-sip/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_sip_domains":{"post":{"operationId":"list_sip_domains","summary":"List SIP domains with domain name, authentication type, registration and secure-media flags and voice URL. Use for \"Whic","description":"List SIP domains with domain name, authentication type, registration and secure-media flags and voice URL. Use for \"Which SIP domains do I have in Twilio\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_sid":{"description":"The Twilio Account SID: 'AC' followed by 32 hex characters (shown on the Twilio console home page).","maxLength":34,"title":"Account Sid","type":"string"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many results to return (1 to 1000).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging token: take the PageToken value from next_page_uri in the previous answer (leave empty for the first page).","title":"Page Token"}},"required":["account_sid"],"title":"list_sip_domainsArguments","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_sip_domain":{"post":{"operationId":"get_sip_domain","summary":"Get one SIP domain: domain name, auth type, voice URLs, registration, secure-media and emergency calling flags. Use for ","description":"Get one SIP domain: domain name, auth type, voice URLs, registration, secure-media and emergency calling flags. Use for \"How is SIP domain SD... configured\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_sid":{"description":"The Twilio Account SID: 'AC' followed by 32 hex characters (shown on the Twilio console home page).","maxLength":34,"title":"Account Sid","type":"string"},"sid":{"description":"The SID of the SIP domain: 'SD' followed by 32 hex characters.","maxLength":34,"title":"Sid","type":"string"}},"required":["account_sid","sid"],"title":"get_sip_domainArguments","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_ip_access_control_lists":{"post":{"operationId":"list_ip_access_control_lists","summary":"List IP access control lists with their names. Use for \"Which IP access control lists exist in Twilio SIP\".","description":"List IP access control lists with their names. Use for \"Which IP access control lists exist in Twilio SIP\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_sid":{"description":"The Twilio Account SID: 'AC' followed by 32 hex characters (shown on the Twilio console home page).","maxLength":34,"title":"Account Sid","type":"string"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many results to return (1 to 1000).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging token: take the PageToken value from next_page_uri in the previous answer (leave empty for the first page).","title":"Page Token"}},"required":["account_sid"],"title":"list_ip_access_control_listsArguments","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_ip_addresses":{"post":{"operationId":"list_ip_addresses","summary":"List the IP addresses and CIDR lengths inside one IP access control list. Use for \"Which IP addresses are in access list","description":"List the IP addresses and CIDR lengths inside one IP access control list. Use for \"Which IP addresses are in access list AL\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_sid":{"description":"The Twilio Account SID: 'AC' followed by 32 hex characters (shown on the Twilio console home page).","maxLength":34,"title":"Account Sid","type":"string"},"ip_access_control_list_sid":{"description":"The SID of the IP access control list: 'AL' followed by 32 hex characters.","maxLength":34,"title":"Ip Access Control List Sid","type":"string"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many results to return (1 to 1000).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging token: take the PageToken value from next_page_uri in the previous answer (leave empty for the first page).","title":"Page Token"}},"required":["account_sid","ip_access_control_list_sid"],"title":"list_ip_addressesArguments","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_credential_lists":{"post":{"operationId":"list_credential_lists","summary":"List credential lists by name. The usernames and passwords inside them are not read. Use for \"Which SIP credential lists","description":"List credential lists by name. The usernames and passwords inside them are not read. Use for \"Which SIP credential lists exist\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_sid":{"description":"The Twilio Account SID: 'AC' followed by 32 hex characters (shown on the Twilio console home page).","maxLength":34,"title":"Account Sid","type":"string"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many results to return (1 to 1000).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging token: take the PageToken value from next_page_uri in the previous answer (leave empty for the first page).","title":"Page Token"}},"required":["account_sid"],"title":"list_credential_listsArguments","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_domain_ip_acl_mappings":{"post":{"operationId":"list_domain_ip_acl_mappings","summary":"List the IP access control lists mapped to one SIP domain (used for any SIP request). Use for \"Which IP access lists app","description":"List the IP access control lists mapped to one SIP domain (used for any SIP request). Use for \"Which IP access lists apply to SIP domain SD\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_sid":{"description":"The Twilio Account SID: 'AC' followed by 32 hex characters (shown on the Twilio console home page).","maxLength":34,"title":"Account Sid","type":"string"},"domain_sid":{"description":"The SID of the SIP domain: 'SD' followed by 32 hex characters.","maxLength":34,"title":"Domain Sid","type":"string"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many results to return (1 to 1000).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging token: take the PageToken value from next_page_uri in the previous answer (leave empty for the first page).","title":"Page Token"}},"required":["account_sid","domain_sid"],"title":"list_domain_ip_acl_mappingsArguments","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_domain_credential_list_mappings":{"post":{"operationId":"list_domain_credential_list_mappings","summary":"List the credential lists mapped to one SIP domain. Use for \"Which credential lists apply to SIP domain SD\".","description":"List the credential lists mapped to one SIP domain. Use for \"Which credential lists apply to SIP domain SD\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_sid":{"description":"The Twilio Account SID: 'AC' followed by 32 hex characters (shown on the Twilio console home page).","maxLength":34,"title":"Account Sid","type":"string"},"domain_sid":{"description":"The SID of the SIP domain: 'SD' followed by 32 hex characters.","maxLength":34,"title":"Domain Sid","type":"string"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many results to return (1 to 1000).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging token: take the PageToken value from next_page_uri in the previous answer (leave empty for the first page).","title":"Page Token"}},"required":["account_sid","domain_sid"],"title":"list_domain_credential_list_mappingsArguments","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_domain_call_ip_acl_mappings":{"post":{"operationId":"list_domain_call_ip_acl_mappings","summary":"List the IP access control lists that authenticate incoming calls on one SIP domain. Use for \"Which IP lists authorise c","description":"List the IP access control lists that authenticate incoming calls on one SIP domain. Use for \"Which IP lists authorise calls on SIP domain SD\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_sid":{"description":"The Twilio Account SID: 'AC' followed by 32 hex characters (shown on the Twilio console home page).","maxLength":34,"title":"Account Sid","type":"string"},"domain_sid":{"description":"The SID of the SIP domain: 'SD' followed by 32 hex characters.","maxLength":34,"title":"Domain Sid","type":"string"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many results to return (1 to 1000).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging token: take the PageToken value from next_page_uri in the previous answer (leave empty for the first page).","title":"Page Token"}},"required":["account_sid","domain_sid"],"title":"list_domain_call_ip_acl_mappingsArguments","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_domain_call_credential_list_mappings":{"post":{"operationId":"list_domain_call_credential_list_mappings","summary":"List the credential lists that authenticate incoming calls on one SIP domain. Use for \"Which credential lists authorise ","description":"List the credential lists that authenticate incoming calls on one SIP domain. Use for \"Which credential lists authorise calls on SIP domain SD\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_sid":{"description":"The Twilio Account SID: 'AC' followed by 32 hex characters (shown on the Twilio console home page).","maxLength":34,"title":"Account Sid","type":"string"},"domain_sid":{"description":"The SID of the SIP domain: 'SD' followed by 32 hex characters.","maxLength":34,"title":"Domain Sid","type":"string"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many results to return (1 to 1000).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging token: take the PageToken value from next_page_uri in the previous answer (leave empty for the first page).","title":"Page Token"}},"required":["account_sid","domain_sid"],"title":"list_domain_call_credential_list_mappingsArguments","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_domain_registration_credential_list_mappings":{"post":{"operationId":"list_domain_registration_credential_list_mappings","summary":"List the credential lists that authenticate SIP registrations on one SIP domain. Use for \"Which credential lists allow S","description":"List the credential lists that authenticate SIP registrations on one SIP domain. Use for \"Which credential lists allow SIP registration on domain SD\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"account_sid":{"description":"The Twilio Account SID: 'AC' followed by 32 hex characters (shown on the Twilio console home page).","maxLength":34,"title":"Account Sid","type":"string"},"domain_sid":{"description":"The SID of the SIP domain: 'SD' followed by 32 hex characters.","maxLength":34,"title":"Domain Sid","type":"string"},"page_size":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"How many results to return (1 to 1000).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Paging token: take the PageToken value from next_page_uri in the previous answer (leave empty for the first page).","title":"Page Token"}},"required":["account_sid","domain_sid"],"title":"list_domain_registration_credential_list_mappingsArguments","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}}}}