Organizations
Organizations are a powerful feature in Straddle that allow you to manage multiple accounts under a single umbrella. This hierarchical structure is particularly useful for businesses with complex operations, multiple departments, or legally related entities.
Create an organization
client.Embed.Organizations.New(ctx, params) (*OrganizationV1, error)
POST/v1/organizations
List organizations
client.Embed.Organizations.List(ctx, params) (*PageNumberSchema[OrganizationPagedV1Data], error)
GET/v1/organizations
Retrieve organization details
client.Embed.Organizations.Get(ctx, organizationID, query) (*OrganizationV1, error)
GET/v1/organizations/{organization_id}