Get organization
curl --request GET \
--url https://api.bundle.social/api/v1/organization/ \
--header 'x-api-key: <api-key>'import requests
url = "https://api.bundle.social/api/v1/organization/"
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://api.bundle.social/api/v1/organization/', 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.bundle.social/api/v1/organization/",
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://api.bundle.social/api/v1/organization/"
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://api.bundle.social/api/v1/organization/")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bundle.social/api/v1/organization/")
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>",
"createdById": "<string>",
"apiAccess": true,
"analyticsDisabled": true,
"analyticsPostsDisabled": true,
"uploadsCompressionEnabled": true,
"showVerboseErrors": true,
"disconnectCheckEnabled": true,
"deleteAccountAfter": 84,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": {
"id": "<string>",
"externalId": "<string>",
"email": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"emailVerified": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"avatarUrl": "<string>",
"timezone": "<string>",
"deletedAt": "2023-11-07T05:31:56Z"
},
"teams": [
{
"id": "<string>",
"name": "<string>",
"organizationId": "<string>",
"createdById": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"avatarUrl": "<string>",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"promotionCodeId": "<string>",
"name": "<string>",
"avatarUrl": "<string>",
"ref": "<string>",
"dailyPostLimit": {
"TWITTER": 123,
"FACEBOOK": 123,
"INSTAGRAM": 123,
"LINKEDIN": 123,
"YOUTUBE": 123,
"TIKTOK": 123,
"THREADS": 123,
"PINTEREST": 123,
"REDDIT": 123,
"DISCORD": 123,
"SLACK": 123,
"MASTODON": 123,
"BLUESKY": 123,
"GOOGLE_BUSINESS": 123,
"SNAPCHAT": 123
},
"dailyCommentLimit": {
"TWITTER": 123,
"FACEBOOK": 123,
"INSTAGRAM": 123,
"LINKEDIN": 123,
"YOUTUBE": 123,
"TIKTOK": 123,
"THREADS": 123,
"PINTEREST": 123,
"REDDIT": 123,
"DISCORD": 123,
"SLACK": 123,
"MASTODON": 123,
"BLUESKY": 123,
"GOOGLE_BUSINESS": 123,
"SNAPCHAT": 123
},
"monthlyImportLimitPerAccount": 123,
"commentImportLimitPerPost": 123,
"monthlyReviewImportLimitPerAccount": 123,
"analyticsInterval": 123,
"analyticsPostsInterval": 123,
"deletedAt": "2023-11-07T05:31:56Z",
"suspended": true,
"subscription": {
"id": "<string>",
"organizationId": "<string>",
"stripeSubscriptionId": "<string>",
"stripePriceId": "<string>",
"isCustomPrice": true,
"cancelAtPeriodEnd": true,
"created": "2023-11-07T05:31:56Z",
"currentPeriodStart": "2023-11-07T05:31:56Z",
"currentPeriodEnd": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"couponId": "<string>",
"promotionCodeId": "<string>",
"stripeSubscriptionItems": [
{
"id": "<string>",
"price": "<string>",
"quantity": 123
}
],
"metadata": {},
"customPriceLabel": "<string>",
"customUnitAmount": 123,
"customCurrency": "<string>",
"endedAt": "2023-11-07T05:31:56Z",
"cancelAt": "2023-11-07T05:31:56Z",
"canceledAt": "2023-11-07T05:31:56Z",
"trialStart": "2023-11-07T05:31:56Z",
"trialEnd": "2023-11-07T05:31:56Z",
"maxMonthlyPosts": 123,
"maxMonthlyComments": 123,
"maxMonthlyUploads": 123,
"maxMonthlyImportedPosts": 123,
"pendingPriceId": "<string>",
"pendingEffectiveAt": "2023-11-07T05:31:56Z",
"pendingScheduleId": "<string>",
"discountStart": "2023-11-07T05:31:56Z",
"discountEnd": "2023-11-07T05:31:56Z",
"coupon": {
"id": "<string>",
"valid": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"amountOff": 123,
"percentOff": 123,
"durationInMonths": 123,
"maxRedemptions": 123
},
"promotionCode": {
"code": "<string>",
"coupon": {
"percentOff": 123,
"valid": true,
"durationInMonths": 123
}
}
},
"promotionCode": {
"code": "<string>",
"coupon": {
"percentOff": 123,
"valid": true,
"durationInMonths": 123
}
}
}{
"message": "<string>",
"statusCode": 123,
"issues": [
{
"message": "<string>",
"path": [
"<string>"
]
}
]
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>"
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}organization
Get organization
GET
/
api
/
v1
/
organization
/
Get organization
curl --request GET \
--url https://api.bundle.social/api/v1/organization/ \
--header 'x-api-key: <api-key>'import requests
url = "https://api.bundle.social/api/v1/organization/"
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://api.bundle.social/api/v1/organization/', 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.bundle.social/api/v1/organization/",
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://api.bundle.social/api/v1/organization/"
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://api.bundle.social/api/v1/organization/")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bundle.social/api/v1/organization/")
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>",
"createdById": "<string>",
"apiAccess": true,
"analyticsDisabled": true,
"analyticsPostsDisabled": true,
"uploadsCompressionEnabled": true,
"showVerboseErrors": true,
"disconnectCheckEnabled": true,
"deleteAccountAfter": 84,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": {
"id": "<string>",
"externalId": "<string>",
"email": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"emailVerified": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"avatarUrl": "<string>",
"timezone": "<string>",
"deletedAt": "2023-11-07T05:31:56Z"
},
"teams": [
{
"id": "<string>",
"name": "<string>",
"organizationId": "<string>",
"createdById": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"avatarUrl": "<string>",
"deletedAt": "2023-11-07T05:31:56Z"
}
],
"promotionCodeId": "<string>",
"name": "<string>",
"avatarUrl": "<string>",
"ref": "<string>",
"dailyPostLimit": {
"TWITTER": 123,
"FACEBOOK": 123,
"INSTAGRAM": 123,
"LINKEDIN": 123,
"YOUTUBE": 123,
"TIKTOK": 123,
"THREADS": 123,
"PINTEREST": 123,
"REDDIT": 123,
"DISCORD": 123,
"SLACK": 123,
"MASTODON": 123,
"BLUESKY": 123,
"GOOGLE_BUSINESS": 123,
"SNAPCHAT": 123
},
"dailyCommentLimit": {
"TWITTER": 123,
"FACEBOOK": 123,
"INSTAGRAM": 123,
"LINKEDIN": 123,
"YOUTUBE": 123,
"TIKTOK": 123,
"THREADS": 123,
"PINTEREST": 123,
"REDDIT": 123,
"DISCORD": 123,
"SLACK": 123,
"MASTODON": 123,
"BLUESKY": 123,
"GOOGLE_BUSINESS": 123,
"SNAPCHAT": 123
},
"monthlyImportLimitPerAccount": 123,
"commentImportLimitPerPost": 123,
"monthlyReviewImportLimitPerAccount": 123,
"analyticsInterval": 123,
"analyticsPostsInterval": 123,
"deletedAt": "2023-11-07T05:31:56Z",
"suspended": true,
"subscription": {
"id": "<string>",
"organizationId": "<string>",
"stripeSubscriptionId": "<string>",
"stripePriceId": "<string>",
"isCustomPrice": true,
"cancelAtPeriodEnd": true,
"created": "2023-11-07T05:31:56Z",
"currentPeriodStart": "2023-11-07T05:31:56Z",
"currentPeriodEnd": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"couponId": "<string>",
"promotionCodeId": "<string>",
"stripeSubscriptionItems": [
{
"id": "<string>",
"price": "<string>",
"quantity": 123
}
],
"metadata": {},
"customPriceLabel": "<string>",
"customUnitAmount": 123,
"customCurrency": "<string>",
"endedAt": "2023-11-07T05:31:56Z",
"cancelAt": "2023-11-07T05:31:56Z",
"canceledAt": "2023-11-07T05:31:56Z",
"trialStart": "2023-11-07T05:31:56Z",
"trialEnd": "2023-11-07T05:31:56Z",
"maxMonthlyPosts": 123,
"maxMonthlyComments": 123,
"maxMonthlyUploads": 123,
"maxMonthlyImportedPosts": 123,
"pendingPriceId": "<string>",
"pendingEffectiveAt": "2023-11-07T05:31:56Z",
"pendingScheduleId": "<string>",
"discountStart": "2023-11-07T05:31:56Z",
"discountEnd": "2023-11-07T05:31:56Z",
"coupon": {
"id": "<string>",
"valid": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"amountOff": 123,
"percentOff": 123,
"durationInMonths": 123,
"maxRedemptions": 123
},
"promotionCode": {
"code": "<string>",
"coupon": {
"percentOff": 123,
"valid": true,
"durationInMonths": 123
}
}
},
"promotionCode": {
"code": "<string>",
"coupon": {
"percentOff": 123,
"valid": true,
"durationInMonths": 123
}
}
}{
"message": "<string>",
"statusCode": 123,
"issues": [
{
"message": "<string>",
"path": [
"<string>"
]
}
]
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>"
}{
"message": "<string>",
"statusCode": 123
}{
"message": "<string>",
"statusCode": 123
}Authorizations
Response
200
Required range:
0 <= x <= 168Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?
⌘I