Send sticker
POST
/api/stickers/send
const url = 'http://localhost:3001/api/stickers/send';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"channel_id":"example","recipient_address":"example","sticker_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3001/api/stickers/send \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "channel_id": "example", "recipient_address": "example", "sticker_id": "example" }'Send a sticker as a message to a recipient or channel
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Send sticker request
Media typeapplication/json
object
channel_id
Optional: send in channel
string
recipient_address
Recipient address
string
sticker_id
Sticker ID to send
string
Examplegenerated
{ "channel_id": "example", "recipient_address": "example", "sticker_id": "example"}Responses
Section titled “Responses”OK
Media typeapplication/json
object
message
string
message_id
string
success
boolean
timestamp
integer
Examplegenerated
{ "message": "example", "message_id": "example", "success": true, "timestamp": 1}Bad Request
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}Unauthorized
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}Not Found
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}Internal Server Error
Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{ "error": "example", "success": true}