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: README.md
+9-66Lines changed: 9 additions & 66 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,80 +10,23 @@ API documentation is available at https://docs.ravenapp.dev/.
10
10
11
11
## Usage
12
12
13
-
[](https://stackblitz.com/edit/raven-typescript-example?file=app.ts&view=editor)
13
+
[](https://stackblitz.com/edit/raven-typescript-example-yrzyda?file=app.ts&view=editor)
whatsapp_mobile: "+919876543210", // if empty, `mobile` is considered for whatsapp
31
-
},
32
-
data: {
33
-
name: "John Doe",
34
-
date: "01 December 2020",
35
-
},
36
-
},
37
-
});
38
-
39
-
if (sendEventResponse.ok) {
40
-
console.log(`The id of the event is ${sendEventResponse.body.id}`);
41
-
} else {
42
-
console.error("Failed to send event", sendEventResponse.error);
43
-
}
44
-
```
45
-
46
-
## Examples
47
-
48
-
Below are a few examples of how to use the SDK to hit different endpoints. Check out our [API Reference](https://docs.ravenapp.dev/) to see all of our endpoints.
0 commit comments