Get Space Conversation
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversationimport requests
url = "https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation', 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://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"currentMember": {},
"memberCount": 123
}Space — Chat
Get Space Conversation
Get or create the chat conversation for a space
GET
/
:projectId
/
api
/
v7
/
spaces
/
:spaceId
/
conversation
Get Space Conversation
curl --request GET \
--url https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversationimport requests
url = "https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation', 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://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId/conversation")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"currentMember": {},
"memberCount": 123
}Returns the chat conversation associated with a space. If no conversation exists yet, one is created automatically. Requires authentication. The caller must have a space membership record that is not
See also: useFetchSpaceConversation hook
"banned" (pending members are allowed).
Path Parameters
string
required
UUID of the space.
Response
Returns a Conversation object with two additional fields:object | null
The caller’s
ConversationMember record for this conversation. Created or re-activated on first call.number
Number of currently active members in the conversation.
Each space has at most one associated conversation. This endpoint is idempotent — calling it multiple times returns the same conversation.
Error Responses
Not a Member — 403
Not a Member — 403
{ "error": "You are not a member of this space.", "code": "chat/not-a-member" }
Banned — 403
Banned — 403
{ "error": "You are banned from this space.", "code": "chat/banned" }

