curl --request GET \
--url https://api.rownd.io/applications/{app}/groups/{group} \
--header 'x-rownd-app-key: <api-key>' \
--header 'x-rownd-app-secret: <api-key>'import requests
url = "https://api.rownd.io/applications/{app}/groups/{group}"
headers = {
"x-rownd-app-key": "<api-key>",
"x-rownd-app-secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-rownd-app-key': '<api-key>', 'x-rownd-app-secret': '<api-key>'}
};
fetch('https://api.rownd.io/applications/{app}/groups/{group}', 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.rownd.io/applications/{app}/groups/{group}",
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-rownd-app-key: <api-key>",
"x-rownd-app-secret: <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://api.rownd.io/applications/{app}/groups/{group}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-rownd-app-key", "<api-key>")
req.Header.Add("x-rownd-app-secret", "<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://api.rownd.io/applications/{app}/groups/{group}")
.header("x-rownd-app-key", "<api-key>")
.header("x-rownd-app-secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rownd.io/applications/{app}/groups/{group}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-rownd-app-key"] = '<api-key>'
request["x-rownd-app-secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "group_a3l1n2lsnb3q0xbul9enjnh7",
"name": "My Teammates",
"member_count": 0,
"app_id": "327677849595019856",
"admission_policy": "invite_only",
"meta": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": "user_t6ftnnmw55pamuhfo9xvw0yl",
"created_by": "user_t6ftnnmw55pamuhfo9xvw0yl"
}Retrieve a group
Platform API for retrieving a group
curl --request GET \
--url https://api.rownd.io/applications/{app}/groups/{group} \
--header 'x-rownd-app-key: <api-key>' \
--header 'x-rownd-app-secret: <api-key>'import requests
url = "https://api.rownd.io/applications/{app}/groups/{group}"
headers = {
"x-rownd-app-key": "<api-key>",
"x-rownd-app-secret": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'x-rownd-app-key': '<api-key>', 'x-rownd-app-secret': '<api-key>'}
};
fetch('https://api.rownd.io/applications/{app}/groups/{group}', 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.rownd.io/applications/{app}/groups/{group}",
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-rownd-app-key: <api-key>",
"x-rownd-app-secret: <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://api.rownd.io/applications/{app}/groups/{group}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-rownd-app-key", "<api-key>")
req.Header.Add("x-rownd-app-secret", "<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://api.rownd.io/applications/{app}/groups/{group}")
.header("x-rownd-app-key", "<api-key>")
.header("x-rownd-app-secret", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.rownd.io/applications/{app}/groups/{group}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-rownd-app-key"] = '<api-key>'
request["x-rownd-app-secret"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "group_a3l1n2lsnb3q0xbul9enjnh7",
"name": "My Teammates",
"member_count": 0,
"app_id": "327677849595019856",
"admission_policy": "invite_only",
"meta": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": "user_t6ftnnmw55pamuhfo9xvw0yl",
"created_by": "user_t6ftnnmw55pamuhfo9xvw0yl"
}Authorizations
The publishable key of your application credentials. (more details)
The private secret of your application credentials. (more details)
Response
Group created successfully
The group ID
"group_a3l1n2lsnb3q0xbul9enjnh7"
The group name
"My Teammates"
This value is no longer provided by the API. The default value of 0 will always be returned
Rownd application ID
"327677849595019856"
Set whether the group be open for anyone to join or by invite only
invite_only, open "invite_only"
An object containing additional metadata for the group
The ISO 8601 date-time that the resource was created
The ISO 8601 date-time that the resource was updated
The ID of the user that created the resource
"user_t6ftnnmw55pamuhfo9xvw0yl"
The ID of the user that most recently updated the resource
"user_t6ftnnmw55pamuhfo9xvw0yl"