- Home
- Developers
- Workspaces
Workspaces
How workspaces and organizations scope your API access
Overview
Maeve Social organizes API resources in a hierarchy:
Organization
Workspace
Integrations
Content
Media
Analytics
InboxAn organization is your top-level account. A workspace contains connected social accounts, scheduled content, media, labels, campaigns, and collaboration workflows.
Discovering workspaces
The workspaces endpoint is the starting point for API usage:
curl https://api.maevesocial.com/v1/workspaces \
-H "Authorization: Bearer $MAEVE_API_KEY"{
"data": [
{
"id": "workspace-uuid",
"name": "Main Workspace",
"slug": "main-workspace",
"organizationId": "organization-uuid",
"role": "manager"
}
],
"meta": null
}With API key authentication, this endpoint only returns workspaces explicitly granted to the key.
Workspace-scoped routes
After you have a workspace ID, pass it in the route path:
curl https://api.maevesocial.com/v1/workspaces/WORKSPACE_ID/content \
-H "Authorization: Bearer $MAEVE_API_KEY"The main workspace-scoped route groups are:
| Resource | Base path |
|---|---|
| Content | /v1/workspaces/{workspaceId}/content |
| Media | /v1/workspaces/{workspaceId}/media |
| Integrations | /v1/workspaces/{workspaceId}/integrations |
| Analytics | /v1/workspaces/{workspaceId}/analytics |
| Inbox | /v1/workspaces/{workspaceId}/inbox |
| API keys | /v1/workspaces/{workspaceId}/api-keys |
API key workspace grants
Maeve API keys are workspace-granted. A key can access only the workspace IDs it was granted when it was created. A key cannot be used to create another key.
To grant access to additional workspaces, create a new key with the desired workspaceIds.
Roles
Workspace roles determine what a user or session-authenticated request can do. API keys inherit their creator's allowed workspace grants at creation time and are still checked against workspace access.
| Role | Summary |
|---|---|
manager | Manage workspace settings, integrations, members, API keys, media, and publishing workflows |
editor | Create, schedule, publish, and update content; upload media |
creator | Create drafts, upload media, and request review without direct publishing authority |
viewer | Read-only workspace access |
Organization owners and admins resolve to manager-level workspace access for many workspace APIs.