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
The MessageMedia Webhooks allows you to subscribe to one or several events and when one of those events is triggered, an HTTP request is sent to the URL of your choice along with the message or payload. In simpler terms, it allows applications to "speak" to one another and get notified automatically when something new happens.
Authentication is done via API keys. Sign up at https://developers.messagemedia.com/register/ to get your API keys.
26
+
27
+
Requests are authenticated using HTTP Basic Auth or HMAC. Provide your API key as the auth_user_name and API secret as the auth_password.
28
+
29
+
## :interrobang: Errors
30
+
31
+
Our API returns standard HTTP success or error status codes. For errors, we will also include extra information about what went wrong encoded in the response as JSON. The most common status codes are listed below.
32
+
33
+
#### HTTP Status Codes
34
+
35
+
| Code | Title | Description |
36
+
|-----------|-------------|-------------|
37
+
| 400 | Invalid Request | The request was invalid |
38
+
| 401 | Unauthorized | Your API credentials are invalid |
39
+
| 403 | Disabled feature | Feature not enabled |
40
+
| 404 | Not Found | The resource does not exist |
41
+
| 50X | Internal Server Error | An error occurred with our API |
42
+
43
+
## :newspaper: Information
44
+
45
+
#### Slack and Mailing List
46
+
47
+
If you have any questions, comments, or concerns, please join our Slack channel:
If you discover a problem with the SDK, we would like to know about it. You can raise an [issue](https://github.com/messagemedia/signingkeys-nodejs-sdk/issues) or send an email to: developers@messagemedia.com
56
+
57
+
#### Contributing
58
+
59
+
We welcome your thoughts on how we could best provide you with SDKs that would simplify how you consume our services in your application. You can fork and create pull requests for any features you would like to see or raise an [issue](https://github.com/messagemedia/signingkeys-nodejs-sdk/issues)
@@ -14,10 +68,10 @@ Alternatively, right-click on your solution and click "Manage NuGet Packages..."
14
68
Visual Studio Mac:
15
69
Project -> Add NuGet Packages -> Search for 'MessageMedia'
16
70
17
-
## π¬ Get Started
71
+
## :clapper: Get Started
18
72
It's easy to get started. Simply enter the API Key and secret you obtained from the [MessageMedia Developers Portal](https://developers.messagemedia.com) into the code snippet below.
19
73
20
-
### π Create a webhook
74
+
### Create a webhook
21
75
```csharp
22
76
usingSystem;
23
77
usingMessageMedia.Webhooks;
@@ -58,7 +112,7 @@ namespace TestApp
58
112
59
113
```
60
114
61
-
### π₯ Retrieve all webhooks
115
+
### Retrieve all webhooks
62
116
```csharp
63
117
usingSystem;
64
118
usingMessageMedia.Webhooks;
@@ -93,7 +147,7 @@ namespace TestApp
93
147
94
148
```
95
149
96
-
### π Update a webhook
150
+
### Update a webhook
97
151
You can get a webhook ID by looking at the `id` of each webhook created from the response of the above example.
98
152
```csharp
99
153
usingSystem;
@@ -138,7 +192,7 @@ namespace TestApp
138
192
139
193
```
140
194
141
-
### β Delete a webhook
195
+
### Delete a webhook
142
196
You can get a webhook ID by looking at the `id` of each webhook created from the response of the retrieve webhooks example.
143
197
```csharp
144
198
usingSystem;
@@ -170,11 +224,11 @@ namespace TestApp
170
224
171
225
```
172
226
173
-
## π Documentation
174
-
Check out the [full API documentation](DOCUMENTATION.md) for more detailed information.
227
+
## :closed_book: API Reference Documentation
228
+
Check out the [full API documentation](https://developers.messagemedia.com/code/webhooks-api-documentation/) for more detailed information.
175
229
176
-
## π Need help?
230
+
## :confused: Need help?
177
231
Please contact developer support at developers@messagemedia.com or check out the developer portal at [developers.messagemedia.com](https://developers.messagemedia.com/)
0 commit comments