Endpoints/V1/Organizations
List Organizations
List all organizations
Authorization
Authorization
RequiredBearer <token>The Recal API token
In: header
Response Body
TypeScript Definitions
Use the response body type in TypeScript.
response
Requiredarray<object>curl -X GET "https://api.recal.dev/v1/organizations" \
-H "Authorization: Bearer <token>"
fetch("https://api.recal.dev/v1/organizations", {
headers: {
"Authorization": "Bearer <token>"
}
})
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.recal.dev/v1/organizations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.recal.dev/v1/organizations"
response = requests.request("GET", url, headers = {
"Authorization": "Bearer <token>"
})
print(response.text)
[
{
"name": "Recal",
"slug": "recal",
"createdAt": "2025-04-24T00:00:00.000Z",
"members": [
{
"id": "user_1234567890",
"createdAt": "2025-05-03T13:50:25.000Z"
}
]
}
]