Skip to main content
This guide uses a personal API key to list published public raffles.
1

Create an API key

Create a personal API key from CollabOS developer settings.Personal keys start with co_u_. Workspace keys start with co_w_.Copy the plaintext key when it is created. CollabOS does not return the full key again later.
2

Choose the right scope

For this example, the key needs raffles:read.See Scopes for the full list.
3

Store the key in your environment

Keep API keys on a trusted server. Do not expose them in browser bundles or public source code.
4

Make your first request

You can also authenticate with X-API-Key:
5

Read the response

When hasMore is true, send nextCursor as the next request’s cursor value. Treat cursors as opaque strings.

Next steps

Authentication

Understand key types and authentication headers.

Pagination

Continue through larger result sets safely.

Webhooks

Receive changes instead of polling.