PREVIEW: This API is in preview and under active development. Endpoints and schemas are subject to breaking changes, and backward compatibility is not guaranteed until the API is promoted to a stable version.
REST API of the Lobster Platform for headless clients. Every operation, schema and member of this document carries a description, and the create operations carry complete examples. Each tag links the page of the Lobster documentation that explains its resources.
Authentication
Four authentication flows are available. All of them produce a bearer token that must be sent as Authorization: Bearer <token> on every request.
- Authorization code with PKCE (acting as a user; works with Microsoft and other SSO): the steps are in the
OAuth2AuthorizationCodesecurity scheme. - OAuth2 Client Credentials (machine-to-machine): exchange a client id/secret provisioned in the Lobster administration UI at
POST /dw/register/oauth/tokenwithgrant_type=client_credentials&client_id=<id>&client_secret=<secret>. - UI Session Bearer Token: log in via the Lobster web UI, then exchange the session cookie for a token at
GET /auth/sessionBearerToken. - Guest User Login Token: append a GuestUser
loginTokenas a URL query parameter (<host>?loginToken=<token>) to establish a session without a password, then retrieve the bearer token the same way.
|
Servers
|
|---|
| https://platform-beta-test.lobster-cloud.com |