sinch-api-sip-trunks

List and create SIP trunks via the Sinch Elastic SIP Trunking API.

6|2|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/sinch/sinch-plugins --skill sinch-api-sip-trunks-sinch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sinch-api-sip-trunks
Source: https://github.com/sinch/sinch-plugins/tree/main/plugins/sinch-antigravity-plugin/skills/sinch-api-sip-trunks
Command: npx skills add https://github.com/sinch/sinch-plugins --skill sinch-api-sip-trunks-sinch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Managing SIP trunks normally requires logging into a dashboard or writing custom API calls; this Skill lets you list existing trunks or create new ones directly from your AI assistant using the Sinch Elastic SIP Trunking API. ## Core Features & Use Cases - List Trunks: Retrieve all SIP trunks for a project and display them as a table (id, name, hostName, createTime) or JSON. - Create Trunks: Provision a new SIP trunk by supplying a name and optional SIP hostname. - Use Case: A telecom engineer setting up a new production environment can run the create action with a trunk name and hostname, then immediately receive the trunk ID and the correct SIP hostname (e.g., {trunk-hostname}.pstn.sinch.com) to configure SIP INVITEs. ## Quick Start Ask the assistant to list all SIP trunks in your Sinch project, or to create a new trunk with a given name and hostname.

Frequently Asked Questions about sinch-api-sip-trunks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list SIP trunks with the Sinch Elastic SIP Trunking API?

Send a GET request to https://elastic-trunking.api.sinch.com/v1/projects/{projectId}/trunks authenticated with OAuth2. This Skill performs that call directly and displays the results as a table with id, name, hostName, and createTime, or as JSON.

How do I create a SIP trunk in Sinch?

Send a POST request to /projects/{projectId}/trunks with a JSON body containing the trunk name and optional hostName. This Skill requires the --name argument for creation and returns the new trunk ID and hostname.

What credentials does the Sinch Elastic SIP Trunking API need?

It requires OAuth2 credentials via the CONVERSATION_PROJECT_ID, CONVERSATION_KEY_ID, and CONVERSATION_KEY_SECRET environment variables. If these are missing, the Skill reports that the Sinch API is not configured.

Which hostname should I use for SIP INVITEs on a Sinch trunk?

Use the trunk-specific hostname in the form {trunk-hostname}.pstn.sinch.com for SIP INVITEs, not the generic trunk.pstn.sinch.com address. The Skill notes this when a trunk is created.

Why does my Sinch trunk API call return a 401 error?

A 401 response indicates failed OAuth2 authentication, usually from missing or invalid key ID or key secret environment variables. Verify your Sinch access key credentials and project ID before retrying.