Contact Management
Manage contacts and their channel associations in Sinch Conversation API using the Conversation API specification. Note: MCP tools do not provide contact management tools, so this skill always uses the Conversation API endpoints. Contacts represent end-users and can span multiple messaging channels.
Instructions
Identify the operation from user request:
- Create contact: New contact with channel identity
- Update contact: Modify contact information or add channels
- List contacts: Retrieve contacts with optional filtering
- Get contact: Retrieve specific contact details
- Find contact: Search for contact by phone number, email, or ID
Extract contact information:
- Contact identifier: phone number, email, contact ID, or name
- Channel identities: WhatsApp, SMS, or other channels with identities
- Display name: Contact's display name
- Email: Contact's email address
- Language: Preferred language code (e.g., EN_US)
Use Conversation API endpoints to perform operations:
- Note: MCP Sinch does not provide contact management tools, so this skill always uses the Conversation API endpoints
- Create contact:
POST /v1/projects/{project_id}/contacts (Operation ID: Contact_CreateContact)
- Update contact:
PATCH /v1/projects/{project_id}/contacts/{contact_id} (Operation ID: Contact_UpdateContact)
- Get contact:
GET /v1/projects/{project_id}/contacts/{contact_id} (Operation ID: Contact_GetContact)
- List contacts:
GET /v1/projects/{project_id}/contacts (Operation ID: Contact_ListContacts)
- Authentication: Use Basic Auth or OAuth2 with credentials from environment variables
- Region: Use CONVERSATION_REGION environment variable (us, eu, or br)
- Base URL:
https://{region}.conversation.api.sinch.com
Response handling:
- Confirm successful operations with contact ID
- Display contact information clearly
- Show associated channels for contacts
- Report errors with actionable guidance
Examples
Natural language prompts that trigger this Skill:
- "Create a contact for John with WhatsApp number +1234567890"
- "Add SMS channel to contact abc123"
- "Show me contact details for +1234567890"
- "List all contacts"
- "Find contact by phone number +1234567890"
- "Update contact abc123 with email john@example.com"
- "What channels does contact xyz789 have?"
Conversation API Usage (Required - no MCP alternative):
- Note: MCP Sinch does not provide contact management tools, so this skill always uses the Conversation API
- Use the Conversation API endpoints for contact operations (see endpoints above)
- Authentication: Use Basic Auth with CONVERSATION_KEY_ID and CONVERSATION_KEY_SECRET, or OAuth2
- Include required headers:
Authorization, Content-Type: application/json
- For list contacts, use query parameters:
page_size, page_token, external_id, channel, identity
- For create/update, include request body with
channel_identities, display_name, email, language, metadata
Contact Operations
Create Contact
- Create with single channel identity
- Create with multiple channel identities
- Set display name, email, and language preferences
Update Contact
- Add new channel identities
- Update display name or email
- Modify language preferences
- Update metadata
Retrieve Contact
- Get contact by ID
- Get contact by channel identity (phone number, etc.)
- List contacts with pagination
- Filter contacts by criteria
Channel Identity Format
Channel identities are channel-specific:
- WHATSAPP: Phone number with country code (e.g., +1234567890)
- SMS: Phone number with country code (e.g., +1234567890)
- MESSENGER: Facebook Page Scoped ID (PSID)
- VIBERBM: Viber user ID
- INSTAGRAM: Instagram user ID
- TELEGRAM: Telegram user ID
- LINE: LINE user ID
- WECHAT: WeChat OpenID
- KAKAOTALK: KakaoTalk user ID
- APPLEBC: Apple user identifier
Notes
- MCP Note: MCP Sinch does not provide contact management tools, so this skill always uses the Conversation API endpoints
- Contacts can have multiple channel identities
- Channel identities must be unique per channel
- Use the Conversation API endpoints directly - reference the OpenAPI spec for exact parameter names and types
- Contact creation is automatic when sending messages to new recipients
- Contacts are scoped to apps
- List contacts supports filtering by
channel and identity query parameters
- Maximum page_size for list contacts is 20 (default is 10)
1---2name: manage-contact3description: Manage contacts in Sinch Conversation API. Use when the user wants to create a contact, update contact information, list contacts, find a contact, get contact details, add channels to a contact, or manage contact channels. Handles contact creation, updates, and channel associations.4---5
6# Contact Management
7
8Manage contacts and their channel associations in Sinch Conversation API using the Conversation API specification. Note: MCP tools do not provide contact management tools, so this skill always uses the Conversation API endpoints. Contacts represent end-users and can span multiple messaging channels.
9
10## Instructions
11
121. **Identify the operation from user request:**
13 - **Create contact**: New contact with channel identity
14 - **Update contact**: Modify contact information or add channels
15 - **List contacts**: Retrieve contacts with optional filtering
16 - **Get contact**: Retrieve specific contact details
17 - **Find contact**: Search for contact by phone number, email, or ID
18
192. **Extract contact information:**
20 - Contact identifier: phone number, email, contact ID, or name
21 - Channel identities: WhatsApp, SMS, or other channels with identities
22 - Display name: Contact's display name
23 - Email: Contact's email address
24 - Language: Preferred language code (e.g., EN_US)
25
263. **Use Conversation API endpoints to perform operations:**
27 - **Note**: MCP Sinch does not provide contact management tools, so this skill always uses the Conversation API endpoints
28 - **Create contact**: `POST /v1/projects/{project_id}/contacts` (Operation ID: `Contact_CreateContact`)
29 - **Update contact**: `PATCH /v1/projects/{project_id}/contacts/{contact_id}` (Operation ID: `Contact_UpdateContact`)
30 - **Get contact**: `GET /v1/projects/{project_id}/contacts/{contact_id}` (Operation ID: `Contact_GetContact`)
31 - **List contacts**: `GET /v1/projects/{project_id}/contacts` (Operation ID: `Contact_ListContacts`)
32 - Authentication: Use Basic Auth or OAuth2 with credentials from environment variables
33 - Region: Use CONVERSATION_REGION environment variable (us, eu, or br)
34 - Base URL: `https://{region}.conversation.api.sinch.com`
35
364. **Response handling:**
37 - Confirm successful operations with contact ID
38 - Display contact information clearly
39 - Show associated channels for contacts
40 - Report errors with actionable guidance
41
42## Examples
43
44**Natural language prompts that trigger this Skill:**
45- "Create a contact for John with WhatsApp number +1234567890"
46- "Add SMS channel to contact abc123"
47- "Show me contact details for +1234567890"
48- "List all contacts"
49- "Find contact by phone number +1234567890"
50- "Update contact abc123 with email john@example.com"
51- "What channels does contact xyz789 have?"
52
53**Conversation API Usage (Required - no MCP alternative):**
541. **Note**: MCP Sinch does not provide contact management tools, so this skill always uses the Conversation API
552. Use the Conversation API endpoints for contact operations (see endpoints above)
563. Authentication: Use Basic Auth with CONVERSATION_KEY_ID and CONVERSATION_KEY_SECRET, or OAuth2
574. Include required headers: `Authorization`, `Content-Type: application/json`
585. For list contacts, use query parameters: `page_size`, `page_token`, `external_id`, `channel`, `identity`
596. For create/update, include request body with `channel_identities`, `display_name`, `email`, `language`, `metadata`
60
61## Contact Operations
62
63### Create Contact
64- Create with single channel identity
65- Create with multiple channel identities
66- Set display name, email, and language preferences
67
68### Update Contact
69- Add new channel identities
70- Update display name or email
71- Modify language preferences
72- Update metadata
73
74### Retrieve Contact
75- Get contact by ID
76- Get contact by channel identity (phone number, etc.)
77- List contacts with pagination
78- Filter contacts by criteria
79
80## Channel Identity Format
81
82Channel identities are channel-specific:
83- **WHATSAPP**: Phone number with country code (e.g., +1234567890)
84- **SMS**: Phone number with country code (e.g., +1234567890)
85- **MESSENGER**: Facebook Page Scoped ID (PSID)
86- **VIBERBM**: Viber user ID
87- **INSTAGRAM**: Instagram user ID
88- **TELEGRAM**: Telegram user ID
89- **LINE**: LINE user ID
90- **WECHAT**: WeChat OpenID
91- **KAKAOTALK**: KakaoTalk user ID
92- **APPLEBC**: Apple user identifier
93
94## Notes
95
96- **MCP Note**: MCP Sinch does not provide contact management tools, so this skill always uses the Conversation API endpoints
97- Contacts can have multiple channel identities
98- Channel identities must be unique per channel
99- Use the Conversation API endpoints directly - reference the OpenAPI spec for exact parameter names and types
100- Contact creation is automatic when sending messages to new recipients
101- Contacts are scoped to apps
102- List contacts supports filtering by `channel` and `identity` query parameters
103- Maximum page_size for list contacts is 20 (default is 10)
104