Retrieve the organization
get
/v1/organizationThe organization the private key belongs to: its name and the timezone its analytics days are counted in.
Private keyapi.v1.organization.retrieveNo demo
Response
200The organization.
Organizationrequired
An organization.
organizationIdstring (uuid)required
The organization's id.
namestringrequired
The name members see in the dashboard.
creatorIdstring (uuid)
The user who made the organization. Returned by updates only.
reportingTimezonestringrequired
The IANA timezone analytics days are counted in. UTC until it is set.
createdAtstring (date-time)
When it was made.
updatedAtstring (date-time)
When it last changed.
Errors
20Every error is JSON with a single error string unless noted. Match on the status code; the message is for humans.
404
Organization not found.The organization encoded in the API key no longer exists.
curl -X GET "https://stylor.ai/api/v1/organization" \
-H "Authorization: Bearer $STYLOR_API_KEY"Response · 200
{
"organization": {
"organizationId": "0a2c1f4e-5b6d-7e8f-9012-3456789abcde",
"name": "Lovlei Ranch",
"reportingTimezone": "America/Denver",
"createdAt": "2026-09-12T16:02:11.000Z",
"updatedAt": "2026-10-04T18:20:03.001Z"
}
}