sending stories to specific contacts #1794
Unanswered
suzukiahmed
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Rather than sending the status to all contacts, I should be able to send the status(stories) to specific contacts. I am able to see a contacts key in the API, but it is not working. It is always sending to all contacts instead.
curl -X 'POST'
'http://localhost:3000/api/default/status/text'
-H 'accept: /'
-H 'X-Api-Key: api-key'
-H 'Content-Type: application/json'
-d '{
"id": null,
"contacts": {"id" :"918593807701@c.us"},
"text": "Have a look! https://github.com/",
"backgroundColor": "#38b42f",
"font": 0,
"linkPreview": true,
"linkPreviewHighQuality": false
}'
Beta Was this translation helpful? Give feedback.
All reactions