React to a chat message
curl --request POST \
--url https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react \
--header 'API-KEY: <api-key>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"emoji": "🔥"
}'import requests
url = "https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react"
payload = { "emoji": "🔥" }
headers = {
"API-KEY": "<api-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'API-KEY': '<api-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({emoji: '🔥'})
};
fetch('https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'emoji' => '🔥'
]),
CURLOPT_HTTPHEADER => [
"API-KEY: <api-key>",
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react"
payload := strings.NewReader("{\n \"emoji\": \"🔥\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("API-KEY", "<api-key>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react")
.header("API-KEY", "<api-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"emoji\": \"🔥\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["API-KEY"] = '<api-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"emoji\": \"🔥\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"message": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"_id": "<string>",
"contractAddress": "0x1111111111111111111111111111111111111111",
"chainId": 123,
"message": "<string>",
"ownerAddress": "0x1111111111111111111111111111111111111111",
"tokenId": 123,
"rarity": 2,
"transactionHash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"user": {
"id": "<string>",
"username": "<string>",
"displayName": "<string>",
"profileImage": "<string>",
"address": "0x1111111111111111111111111111111111111111"
},
"reactions": [
{
"emoji": "<string>",
"count": 1,
"reactedByCurrentUser": true
}
]
}
}
}{
"success": false,
"message": "Invalid contract address"
}{
"success": false,
"message": "Unauthorized - No token provided"
}{
"success": false,
"message": "Resource not found"
}{
"success": false,
"message": "Too many requests or invalid API key! See docs.vibechain.com for more info."
}{
"success": false,
"message": "Failed to complete request"
}Social
React to a chat message
POST
/
chat-messages
/
{messageId}
/
react
React to a chat message
curl --request POST \
--url https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react \
--header 'API-KEY: <api-key>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"emoji": "🔥"
}'import requests
url = "https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react"
payload = { "emoji": "🔥" }
headers = {
"API-KEY": "<api-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'API-KEY': '<api-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({emoji: '🔥'})
};
fetch('https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'emoji' => '🔥'
]),
CURLOPT_HTTPHEADER => [
"API-KEY: <api-key>",
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react"
payload := strings.NewReader("{\n \"emoji\": \"🔥\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("API-KEY", "<api-key>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react")
.header("API-KEY", "<api-key>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"emoji\": \"🔥\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://build.vibechain.com/vibe/boosterbox/chat-messages/{messageId}/react")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["API-KEY"] = '<api-key>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"emoji\": \"🔥\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"message": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"_id": "<string>",
"contractAddress": "0x1111111111111111111111111111111111111111",
"chainId": 123,
"message": "<string>",
"ownerAddress": "0x1111111111111111111111111111111111111111",
"tokenId": 123,
"rarity": 2,
"transactionHash": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"user": {
"id": "<string>",
"username": "<string>",
"displayName": "<string>",
"profileImage": "<string>",
"address": "0x1111111111111111111111111111111111111111"
},
"reactions": [
{
"emoji": "<string>",
"count": 1,
"reactedByCurrentUser": true
}
]
}
}
}{
"success": false,
"message": "Invalid contract address"
}{
"success": false,
"message": "Unauthorized - No token provided"
}{
"success": false,
"message": "Resource not found"
}{
"success": false,
"message": "Too many requests or invalid API key! See docs.vibechain.com for more info."
}{
"success": false,
"message": "Failed to complete request"
}Authorizations
Caller-specific VibeChain API key used for quota and abuse control.
Signed-in vibe.market session token. The account's linked wallets determine creator ownership.
Path Parameters
Pattern:
^[a-fA-F0-9]{24}$Example:
"66b1234567890abcdef12345"
Body
application/json
Required string length:
1 - 4Example:
"🔥"
⌘I