Skip to content
Back to skills

Sinch Api Numbers Search

ASecurity

Search available phone numbers to rent via Sinch Numbers API

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
ai-agentsapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add sinch/sinch-plugins --skill sinch-api-numbers-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sinch Api Numbers Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sinch Api Numbers Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sinch-sinch-api-numbers-search/badge)](https://www.skillsdirectory.com/skills/sinch-sinch-api-numbers-search)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sinch-api-numbers-search
description: Search available phone numbers to rent via Sinch Numbers API
---

# Search Available Numbers

Search for available phone numbers to rent from the Sinch Numbers API (by region, type, capability). Uses OAuth2.

**IMPORTANT: Execute this command directly. Do NOT generate script files. Perform the API call immediately.**

## Input

- `--region` / `-r`: Region code (e.g. US, GB) - required
- `--type` / `-t`: Number type: LOCAL, MOBILE, TOLL_FREE - optional
- `--capability` / `-c`: Capability: SMS, VOICE (comma-separated for multiple) - optional
- `--page-size` / `-n`: Results per page - optional, default 10
- `--format` / `-f`: Output format (table or json) - optional

Arguments: $ARGUMENTS

## Instructions

**Execute these steps directly - do not write code or scripts:**

0. If $ARGUMENTS empty: ask for region, optional type and capability. Otherwise parse.

1. Validate: --region (e.g. US, GB), optional type, capability, page-size. Get PROJECT_ID, KEY_ID, KEY_SECRET env variables. Numbers API: https://numbers.api.sinch.com/v1. If missing, report "Sinch API is not configured."

2. GET https://numbers.api.sinch.com/v1/projects/{projectId}/availableNumbers or equivalent with query params: regionCode, type, capabilities, pageSize. Use OAuth2.

3. Format response: table (number, type, region, capabilities) or JSON. Display "✅ Available numbers" with count. Handle 401, 404.

4. Handle all errors gracefully.

## Examples

```
/sinch-api-numbers-search --region=US --type=LOCAL --capability=SMS
/sinch-api-numbers-search -r US -c SMS,VOICE -n 20
```

## API Reference

- **Base URL**: https://numbers.api.sinch.com/v1
- **Active numbers**: GET /projects/{projectId}/activeNumbers
- **Available numbers**: Check Numbers API docs for search/available endpoint
- **Documentation**: https://developers.sinch.com/docs/numbers/

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.