POST
/
access-requests
curl --request POST \
  --url https://api.memoram.app/api/v1/access-requests \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "memoryKey": "user_provided_mem_key",
  "reason": "DemoBot would like to access your ai memories"
}'
{
  "id": "<string>",
  "status": "pending",
  "reason": "<string>",
  "memoryKey": "<string>",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "aiConnectorId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Initiate a request for access to a specific user’s memory store using their unique Memory Key. The user must approve this request via the Memoram dashboard before you can retrieve their credentials.

Authorization

Requires Bearer token authentication using your Developer JWT.

Authorizations

Authorization
string
header
required

JWT token obtained via /auth/token endpoint.

Body

application/json

Response

201
application/json

Access request created successfully. Status will be 'pending'.

The response is of type object.