API docs

List workspaces

Returns the workspaces this token can access. A token is scoped to one workspace, so usually there's one result. It's a good first call to check that the connection is set up correctly.

Version: v1

01 List workspaces

1.1 Description

GET/workspaces

Ordered by creation.

1.2 Parameters

List workspaces parameters
NameCategoryDescription
pageOptionalPage number. Defaults to 1
limitOptionalPage size. Defaults to 20, up to 100
offsetOptionalSpecify the start offset directly instead of page

1.3 Request

Terminal — bash
curl "https://moacast.com/api/moacast/v1/workspaces?page=1" \
  -H 'Authorization: Bearer <ACCESS_TOKEN>'

1.4 Success response

Response — JSON
{
    "result": "SUCCESS",
    "result_code": 0,
    "data": {
        "workspaces": [
            {
                "code": "a1b2c3d4",
                "name": "My Workspace",
                "timezone": "Asia/Seoul",
                "status": "ACTIVE",
                "created_at": "2026-09-25 23:13:51"
            }
        ],
        "pagination": {
            "mode": "page",
            "page": 1,
            "limit": 20,
            "total": 1,
            "total_pages": 1,
            "has_more": false
        }
    }
}

1.5 Field

List workspaces fields
FieldTypeDescription
workspacesarrayWorkspace list. Each entry has the shape below
paginationobjectPaging info. If has_more is true, there's a next page

workspaces entry

List workspaces fields
FieldTypeDescription
codestringPublic identifier for the workspace. Other endpoints take this value
namestringName
timezonestringThe time zone scheduled publishing is based on
statusstringACTIVE or SUSPENDED. SUSPENDED means visible but publishing is blocked
created_atstringCreation time. UTC, YYYY-MM-DD HH:MM:SS

1.6 Failed

List workspaces failures
CodeHTTPWhen
1001401Header is missing or the token is invalid (expired is 4013 · revoked key is 4014)

If the workspace is deleted or transferred to someone else after the token was issued, it silently drops out of the list. No error is reported.