cURL
curl --request GET \
--url https://platform.thena.ai/v1/reactions/emojis \
--header 'x-api-key: <api-key>'import requests
url = "https://platform.thena.ai/v1/reactions/emojis"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://platform.thena.ai/v1/reactions/emojis', 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://platform.thena.ai/v1/reactions/emojis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform.thena.ai/v1/reactions/emojis"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform.thena.ai/v1/reactions/emojis")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.thena.ai/v1/reactions/emojis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"unicode": "<string>",
"url": "<string>",
"aliases": "<string>",
"keywords": [
"<string>"
],
"createdAt": "<string>",
"updatedAt": "<string>"
}{
"statusCode": 401,
"message": "Unauthorized",
"error": "Unauthorized"
}{
"statusCode": 403,
"message": "This feature is only available for standard and enterprise tier organizations",
"error": "Forbidden"
}{
"statusCode": 429,
"message": "Too Many Requests",
"error": "Too Many Requests"
}{
"statusCode": 500,
"message": "Failed to fetch emojis",
"error": "Internal Server Error"
}{
"statusCode": 503,
"message": "Service Unavailable",
"error": "Service Unavailable"
}Reactions
Get v1reactionsemojis
Get all available emojis for reactions. This endpoint is only available for standard and enterprise tier organizations.
GET
/
v1
/
reactions
/
emojis
cURL
curl --request GET \
--url https://platform.thena.ai/v1/reactions/emojis \
--header 'x-api-key: <api-key>'import requests
url = "https://platform.thena.ai/v1/reactions/emojis"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://platform.thena.ai/v1/reactions/emojis', 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://platform.thena.ai/v1/reactions/emojis",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform.thena.ai/v1/reactions/emojis"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform.thena.ai/v1/reactions/emojis")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.thena.ai/v1/reactions/emojis")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"unicode": "<string>",
"url": "<string>",
"aliases": "<string>",
"keywords": [
"<string>"
],
"createdAt": "<string>",
"updatedAt": "<string>"
}{
"statusCode": 401,
"message": "Unauthorized",
"error": "Unauthorized"
}{
"statusCode": 403,
"message": "This feature is only available for standard and enterprise tier organizations",
"error": "Forbidden"
}{
"statusCode": 429,
"message": "Too Many Requests",
"error": "Too Many Requests"
}{
"statusCode": 500,
"message": "Failed to fetch emojis",
"error": "Internal Server Error"
}{
"statusCode": 503,
"message": "Service Unavailable",
"error": "Service Unavailable"
}Authorizations
Enter your API key
Response
Operation successful
The unique identifier of the emoji
The name of the emoji
The unicode of the emoji
The url of the emoji
The aliases of the emoji
The keywords of the emoji
The creation date of the comment
The update date of the comment
⌘I