Skip to content

List projects

GET
/orgs/{org}/projects
curl --request GET \
--url https://api.sloose.com/orgs/org_9f3c/projects \
--header 'Authorization: Bearer <token>'

Everything the caller can see: projects shared with the org, plus their own private ones. Configurations are omitted — fetch one project to get its config.

org
required

The org id the session was issued for. A token for one org can never read another.

string
Example
org_9f3c

The org id the session was issued for. A token for one org can never read another.

Visible projects, without their configurations.

Media typeapplication/json
object
projects
required
Array<object>

A project without its configuration blob.

object
id
required
string
orgId
required
string
connectorId
required

The destination this project imports into. Null means the org’s default CRM: a project from before connectors were named, or one saved by an API token or an older session, which name no connector.

string | null
name
required
string
description
required
string | null
createdByUserId
required
string
visibility
required
string
Allowed values: private org
schemaVersion
required
number
enabledModules
required
Array<string>
libraryVersions
required
object | null
registryVersion
required
number | null
sourceRef
required

bundle:<file> when pushed from a config repo; null when built by a person.

string | null
createdAt
required
string
updatedAt
required
string
Example
{
"projects": [
{
"visibility": "private"
}
]
}

No bearer, or one that is expired, revoked or no longer resolves to a member.

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}

The bearer’s role is too low, or it was issued for a different org.

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}