You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: certified-connectors/tyntec-WA/README.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
-
## Tyntec Conversation API - Send template WhatsApp message
1
+
## Tyntec Conversations API - Send template WhatsApp message
2
2
3
-
Tyntec Conversation API allows you to send template WhatsApp messages.
3
+
Tyntec Conversations API allows you to send template WhatsApp messages.
4
4
5
-
### User Cases of this connector
5
+
Create conversational experiences with your customers right on the world’s number one messaging app (over 2 billion monthly active users). Leveraging WhatsApp’s end-to-end encryption and rich features (images, videos, audios, documents, interactive buttons, etc.), you can remove friction from customer onboarding, notifications and support communication.
6
+
7
+
### Use Cases of this connector
6
8
- Use this connector in PowerApps Workflows (great for Marketing, CRM or Sales)
7
9
- Send SMS messages using Azure Logic Apps
8
10
- Build SMS support in your Microsoft Power Automate automatizations
@@ -19,23 +21,19 @@ You will need the following to proceed:
19
21
20
22
21
23
## Supported requests
22
-
-**Send_WhatsApp** using tyntec Conversation API [reference](https://api.tyntec.com/reference/#conversations-send-messages-send-a-message)
24
+
-**Send WhatsApp** using tyntec Conversations API [reference](https://api.tyntec.com/reference/#conversations-send-messages-send-a-message)
23
25
- To make a successful request, please, populate the followings fields:
24
-
-**apikey** - your tyntec API key
25
26
-**to** - receiver's phone number in _international_ form without leading 00 (_E.g. 4989202451100_)
26
27
-**from** - your WhatsApp Business account number number
27
28
-**templateId** - the name of your approved template
28
-
-**contentType** - content type of your message, use **body**
29
29
-**language-policy** - language policy of your template
30
30
-**language-code** - language code of your template
31
-
-**channels key item** - used tyntec Conversation API channel, use **whatsapp**
32
31
-**parameter-type** - use **text**
33
32
-**parameter-text** - input your parameter
34
33
-_if your template uses more parameters, repeat **parameter-type** and **parameter-text** for each parameter your template requires_
35
-
36
-
-**Status_Check**
34
+
35
+
-**Status Check**
37
36
- To make a successful status check, please, provide the connector with the following values
38
-
-**apikey** - your tyntec API key
39
37
-**id** - messageID of your message (_returned after each request_)
Copy file name to clipboardExpand all lines: certified-connectors/tyntec-WA/apiDefinition.swagger.json
+64-52Lines changed: 64 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
{
2
2
"swagger": "2.0",
3
3
"info": {
4
-
"title": "tyntec-wa",
5
-
"description": "Send a WhatsApp template message using the tyntec conversation API. You can also use Status_check to check status (accepted/delivered/failed)",
4
+
"title": "tyntec WhatsApp Business",
5
+
"description": "Enables WhatsApp communication channel using the tyntec Conversations APIto improve your communication ability",
6
6
"contact": {
7
7
"name": "tyntec support",
8
8
"url": "https://www.tyntec.com/get-help-support",
9
9
"email": "support@tyntec.com"
10
10
},
11
-
"version": "1.0"
11
+
"version": "1.1"
12
12
},
13
13
"host": "api.tyntec.com",
14
14
"basePath": "/",
@@ -18,87 +18,90 @@
18
18
"consumes": [],
19
19
"produces": [],
20
20
"paths": {
21
-
"/chat-api/v2/messages/": {},
22
21
"/chat-api/v2/messages/{id}/status": {
23
22
"get": {
24
-
"responses": {
25
-
"default": {
26
-
"description": "default",
23
+
"responses": {
24
+
"202": {
25
+
"description": "Returned when the operation successfully connects to Conversations API",
"description": "Check for status of your Message on given MessageID. Returned response holds the status (delivered/accepted/failed) in the status field.",
52
-
"operationId": "Status_Check",
59
+
"summary": "Status Check",
60
+
"description": "Check for status of your message",
61
+
"operationId": "StatusCheck",
53
62
"parameters": [
54
63
{
55
64
"name": "id",
56
65
"in": "path",
57
66
"required": true,
58
67
"type": "string",
59
-
"description": "To check status of your message, you need to provide tyntec Conversation API with ID",
60
-
"x-ms-summary": "ID of your message"
61
-
},
62
-
{
63
-
"name": "apikey",
64
-
"in": "header",
65
-
"required": true,
66
-
"type": "string",
67
-
"description": "Your tyntec Conversation API key received from https://my.tyntec.com/api-settings.",
68
-
"x-ms-summary": "Your tyntec API key"
68
+
"description": "messageId",
69
+
"x-ms-summary": "message ID",
70
+
"x-ms-url-encoding": "single"
69
71
}
70
72
]
71
73
}
72
74
},
73
-
"/api.tyntec.com/chat-api/v2/messages": {},
74
75
"/chat-api/v2/messages": {
75
76
"post": {
76
77
"responses": {
77
-
"default": {
78
-
"description": "default",
78
+
"2O2": {
79
+
"description": "Returned when the operation successfully connects to Conversations API",
79
80
"schema": {
80
81
"type": "object",
81
82
"properties": {
82
83
"messageId": {
83
84
"type": "string",
84
-
"description": "messageId"
85
+
"description": "messageId",
86
+
"x-ms-visibility": "important"
85
87
}
86
88
}
87
89
}
90
+
},
91
+
"400": {
92
+
"description": "There was an issue with your channel."
93
+
},
94
+
"401": {
95
+
"description": "The Viber Service ID or WhatsApp Business Account Number is not authorized with used API key."
96
+
},
97
+
"403":{
98
+
"description": "You attempting to use a number that is not assigned to your account"
88
99
}
89
100
},
90
101
"summary": "Send WhatsApp Template message",
91
102
"description": "Send WhatsApp Template message",
92
-
"operationId": "Send_WhatsApp",
103
+
"operationId": "SendWhatsApp",
93
104
"parameters": [
94
-
{
95
-
"name": "apikey",
96
-
"in": "header",
97
-
"required": true,
98
-
"type": "string",
99
-
"description": "Your tyntec Conversation API key received from https://my.tyntec.com/api-settings.",
0 commit comments