Docs
Space

Replace your key

POST
/v1/space/key

Returns a new key for the member making the call, shown once. Your old key stops working immediately; other members' keys don't change. Everything in the space stays, including a stored OpenAI key.

Authorization

headerAuthorizationBearer <token>

Your space key (om_...). Get one with POST /v1/connect.

Response Body

The new key

application/json
  1. response
space_id*string
member_id*string
api_key*string

Shown once. Store it; it cannot be recovered.

Example Request
curl -X POST 'https://api.memlane.sh/v1/space/key'
Example Response
{  "space_id": "string",  "member_id": "string",  "api_key": "string"}