Agent Skill · Sinch

sinch-provisioning-api

Provisions and manages channel resources for Conversation API projects, including WhatsApp accounts/senders/templates, RCS senders, KakaoTalk senders/templates, webhooks, and bundles. Use when the user asks to onboard channels, configure provisioning webhooks, manage templates, orchestrate multi-service bundles, or automate channel setup.

Provider: Sinch Path in repo: skills/sinch-provisioning-api/SKILL.md

Skill body

Sinch Provisioning API

Overview

Use this skill for Conversation API channel provisioning. Validated against Provisioning API v1.2.36. Prefer deterministic flows: confirm context, choose endpoint family, execute minimal calls, verify state.

Agent Instructions

Before generating code, gather from the user (skip any item already specified in the prompt or context):

  1. Project ID — confirm projectId.
  2. Microservice scope — each is a separate REST service: WhatsApp, RCS, KakaoTalk, Conversation, Webhooks, or Bundles. Endpoint families:
    • WhatsApp account/senders/templates/flows/solutions: /v1/projects/{projectId}/whatsapp/...
    • RCS: /v1/projects/{projectId}/rcs/...
    • KakaoTalk: /v1/projects/{projectId}/kakaotalk/...
    • Conversation (channel info): /v1/projects/{projectId}/conversation/...
    • Webhooks: /v1/projects/{projectId}/webhooks...
    • Bundles: /v1/projects/{projectId}/bundles...
  3. Language — any language, or curl. This API is REST-only; there is no SDK wrapper.

Product gotchas to apply unconditionally:

Refer to the API reference linked in Links for request/response schemas.

Security: See the Security section below for url fetching policy, handling inbound webhook content, and credential handling.

Getting Started

Agent Credentials handling

Store credentials in environment variables — never hardcode tokens or keys in commands or source code:

export SINCH_PROJECT_ID="your-project-id"
export SINCH_KEY_ID="your-key-id"
export SINCH_KEY_SECRET="your-key-secret"
export SINCH_ACCESS_TOKEN="your-oauth-token"

Authentication

Ensure that authentication headers are properly set when making API calls. The Provisioning API uses Bearer token authentication:

-H "Authorization: Bearer $SINCH_ACCESS_TOKEN"

See sinch-authentication for full setup, most importantly how to obtain {SINCH_ACCESS_TOKEN} (OAuth2 client-credentials — do not mint your own JWT).

Supported auth methods:

Prefer OAuth 2.0 for automation/CI. Use Basic auth only for quick manual tests.

Canonical curl Example

curl -X GET \
  "https://provisioning.api.sinch.com/v1/projects/$SINCH_PROJECT_ID/whatsapp/senders" \
  -H "Authorization: Bearer $SINCH_ACCESS_TOKEN"

Microservices

All endpoints are under https://provisioning.api.sinch.com/v1/projects/{projectId}/. All return JSON responses. List endpoints are paginated; follow nextPageToken to retrieve all results.

Service Base path What it covers Docs
WhatsApp /whatsapp/... Accounts, senders (register/verify), templates, flows, solutions Accounts, Senders, Templates, Flows, Solutions
RCS /rcs/... Accounts, senders (launch), questionnaire, test numbers Accounts, Senders, Questionnaire
KakaoTalk /kakaotalk/... Categories, senders (register/verify), templates Categories, Senders, Templates
Bundles /bundles/... Orchestrator: create Conversation App, assign test number, link apps, create subproject, register webhooks Bundles
Conversation /conversation/... Sender info for Instagram, Messenger, Telegram, Viber Conversation
Webhooks /webhooks/... Provisioning webhook registration and management Webhooks

Trigger Strategy (Webhook)

Use ALL unless the user explicitly asks for selective triggers. If ALL is used, do not combine it with other trigger values. For production, prefer selective triggers when broad audit coverage is not required.

When selective filtering is requested, choose by family:

Critical Gotchas

  1. Sender OTP flow order is strict (WhatsApp and KakaoTalk)
    • Register first, then verify
  2. WhatsApp templates are project-level
    • Do not route through sender-scoped template paths
  3. Template delete behavior
    • Language-specific delete defaults to draft-only unless deleteSubmitted=true (query flag)
  4. Webhook uniqueness constraint
    • Uniqueness is on target URL per project, not on trigger overlap
  5. Async completion
    • Sender/template/account transitions can be asynchronous; rely on status endpoints or webhooks
  6. Deprecated WhatsApp utility endpoints
    • longLivedAccessToken and wabaDetails are deprecated. Use only for legacy flows when explicitly requested.

Security

Use these pages instead of adding inline examples.

Skill frontmatter

metadata: {"author" => "Sinch", "version" => "1.0.4", "category" => "Messaging", "tags" => "provisioning, whatsapp, rcs, kakaotalk, channels, templates, bundles", "uses" => ["sinch-authentication"]}

Work with this as data

Every skill here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for agent skills

4 MCP tools reach this
  • find_skillsBrowse and filter every skill in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This skill
curl "https://apis.io/api/v1/skills/sinch-provisioning-api"
All agent skills
curl "https://apis.io/api/v1/skills?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.