{"openapi":"3.1.0","info":{"title":"Sinch Numbers (BYOK) API","version":"0.1.0","description":"Sinch Numbers (BYOK) lets an AI assistant read your own Sinch Numbers data through the Sinch Numbers API with a key you supply (access key ID). Read-only: 6 tools (list_active_numbers, get_active_number, search_available_numbers, get_available_number, list_available_regions, get_number_order). The BYOK key travels with each request, is used for that one call only and is never stored, logged or...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-sinch-numbers.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-sinch-numbers/docs"},"termsOfService":"https://connectorbay.com/byok-sinch-numbers/terms"},"servers":[{"url":"https://byok-sinch-numbers.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-sinch-numbers/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_active_numbers":{"post":{"operationId":"list_active_numbers","summary":"List the active phone numbers of a project with display name, region, type, capabilities, monthly price, next charge dat","description":"List the active phone numbers of a project with display name, region, type, capabilities, monthly price, next charge date and linked SMS service plan. Filter by region, type or digits. Use for \"Which phone numbers do I have active on Sinch and what do they cost per month\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id":{"description":"Sinch project id, found in the Sinch dashboard under Settings, Projects.","maxLength":200,"title":"Project Id","type":"string"},"region_code":{"anyOf":[{"maxLength":2,"type":"string"},{"type":"null"}],"default":null,"description":"ISO 3166-1 alpha-2 country code, for example US, GB or SE.","title":"Region Code"},"type":{"anyOf":[{"enum":["LOCAL","MOBILE","TOLL_FREE"],"type":"string"},{"type":"null"}],"default":null,"description":"Number type.","title":"Type"},"number_pattern":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Digits to search for.","title":"Number Pattern"},"search_pattern":{"anyOf":[{"enum":["START","CONTAINS","END"],"type":"string"},{"type":"null"}],"default":null,"description":"Where the digits must appear.","title":"Search Pattern"},"order_by":{"anyOf":[{"enum":["phoneNumber","displayName"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort field.","title":"Order By"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":50,"description":"Maximum items to return (1 to 100).","title":"Page Size"},"page_token":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"nextPageToken from a previous answer, for the next page.","title":"Page Token"}},"required":["project_id"],"title":"list_active_numbersArguments","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_active_number":{"post":{"operationId":"get_active_number","summary":"Get one active number: display name, region, type, capabilities, price, renewal dates and SMS service plan. Use for \"Whe","description":"Get one active number: display name, region, type, capabilities, price, renewal dates and SMS service plan. Use for \"When does my Sinch number +12025550100 renew\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id":{"description":"Sinch project id, found in the Sinch dashboard under Settings, Projects.","maxLength":200,"title":"Project Id","type":"string"},"phone_number":{"description":"Phone number in E.164 format with the leading plus, for example +12025550100.","maxLength":200,"title":"Phone Number","type":"string"}},"required":["project_id","phone_number"],"title":"get_active_numberArguments","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/search_available_numbers":{"post":{"operationId":"search_available_numbers","summary":"Search numbers that can be activated in a region, with setup and monthly price and whether supporting documentation is r","description":"Search numbers that can be activated in a region, with setup and monthly price and whether supporting documentation is required. A read only search; nothing is ordered. Use for \"Which toll-free numbers are available in the US on Sinch and what do they cost\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id":{"description":"Sinch project id, found in the Sinch dashboard under Settings, Projects.","maxLength":200,"title":"Project Id","type":"string"},"region_code":{"description":"ISO 3166-1 alpha-2 country code.","maxLength":2,"title":"Region Code","type":"string"},"type":{"description":"Number type.","enum":["LOCAL","MOBILE","TOLL_FREE"],"title":"Type","type":"string"},"number_pattern":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"description":"Digits to search for.","title":"Number Pattern"},"search_pattern":{"anyOf":[{"enum":["START","CONTAINS","END"],"type":"string"},{"type":"null"}],"default":null,"description":"Where the digits must appear.","title":"Search Pattern"},"size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":20,"description":"Maximum items to return (1 to 100).","title":"Size"}},"required":["project_id","region_code","type"],"title":"search_available_numbersArguments","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_available_number":{"post":{"operationId":"get_available_number","summary":"Check one specific number: whether it can be activated, its capabilities, setup and monthly price and documentation requ","description":"Check one specific number: whether it can be activated, its capabilities, setup and monthly price and documentation requirement. Use for \"Is +12025550101 available on Sinch\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id":{"description":"Sinch project id, found in the Sinch dashboard under Settings, Projects.","maxLength":200,"title":"Project Id","type":"string"},"phone_number":{"description":"Phone number in E.164 format with the leading plus, for example +12025550100.","maxLength":200,"title":"Phone Number","type":"string"}},"required":["project_id","phone_number"],"title":"get_available_numberArguments","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_available_regions":{"post":{"operationId":"list_available_regions","summary":"List the regions (country codes and names) where Sinch provides numbers, with the number types offered. Use for \"In whic","description":"List the regions (country codes and names) where Sinch provides numbers, with the number types offered. Use for \"In which countries can I get Sinch phone numbers\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id":{"description":"Sinch project id, found in the Sinch dashboard under Settings, Projects.","maxLength":200,"title":"Project Id","type":"string"}},"required":["project_id"],"title":"list_available_regionsArguments","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_number_order":{"post":{"operationId":"get_number_order","summary":"Get a number order: state (created, in review, completed ...), region, number type, ordered numbers with prices and time","description":"Get a number order: state (created, in review, completed ...), region, number type, ordered numbers with prices and times. Use for \"What is the state of my Sinch number order\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"project_id":{"description":"Sinch project id, found in the Sinch dashboard under Settings, Projects.","maxLength":200,"title":"Project Id","type":"string"},"number_order_id":{"description":"Number order id.","maxLength":200,"title":"Number Order Id","type":"string"}},"required":["project_id","number_order_id"],"title":"get_number_orderArguments","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}}}}