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: doc/EXAMPLES.md
+8
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
- Register a number (with SMS verification)
5
5
6
6
`curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/register/<number>'`
7
+
> `number` is your cell phone number which you want to link to the docker container.
7
8
8
9
e.g:
9
10
@@ -75,11 +76,18 @@ e.g:
75
76
Fetch all new messages in the inbox of the specified number.
76
77
77
78
`curl -X GET -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/receive/<number>'`
79
+
> `number` is the registered phone number for which you want to retrieve incoming messages.
80
+
81
+
> This is a WebSocket connection that remains subscribed to live events. Through this connection, you can observe real-time actions, such as when someone is typing or sending a message.
78
82
79
83
e.g:
80
84
81
85
`curl -X GET -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/receive/+431212131491291'`
0 commit comments