Get Organization Details
You can get organization data using this API.
Responses
- application/json
- 400
Bad Request
Request Example for get/org/data
import Gumlet from '@gumlet/nodejs-sdk';
const client = new Gumlet({
apiKey: process.env['API_KEY'], // defaults to the API_KEY env var
});
const organizationData = await client.organizationData.fetchOrg();
console.log(organizationData);
{
"id": "string",
"org_email": "string",
"unpaid": true,
"created_at": 1,
"plan": "string",
"plan_cycle": "monthly",
"plan_data": {
"image": {
"plan": "string",
"cycle": "monthly",
"trialing": true,
"display_name": "string"
},
"video": {
"plan": "string",
"cycle": "monthly",
"trialing": true,
"display_name": "string"
}
},
"stripe_account_loc": "ind",
"sso_enabled": true,
"got_free_trial": true,
"metadata": {
"firstImageSourceCreated": true,
"firstVideoUploaded": true,
"nsfw_blocked": true
}
}
