Permission required:
member:invitePath Parameters
string
required
Identifier of the invitation
Response
object
Errors
Errors answer withsuccess: false, a message and an error_code. See Error Codes for every code.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/invitations/9d971b8b5813eb1ecceec31354c101b4' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"created_at": 1760000000,
"email": "alice@example.com",
"expires_at": 1760000000,
"id": "c079f4f4e529b9d687b3cce00eeb9644",
"role": "tenant_member",
"status": "pending",
"accepted_at": 1760000000,
"accepted_principal_id": "5a4863beca31b3b37f780badf1652511",
"last_invited_at": 1760000000
}
}
Returns one invitation, in the same shape as the list
curl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/invitations/9d971b8b5813eb1ecceec31354c101b4' \
-H 'Authorization: Bearer sk_xxxxxx'
{
"success": true,
"message": "Operation completed successfully",
"data": {
"created_at": 1760000000,
"email": "alice@example.com",
"expires_at": 1760000000,
"id": "c079f4f4e529b9d687b3cce00eeb9644",
"role": "tenant_member",
"status": "pending",
"accepted_at": 1760000000,
"accepted_principal_id": "5a4863beca31b3b37f780badf1652511",
"last_invited_at": 1760000000
}
}
GET /openapi/memorylake/admin/v1/invitations/{id}
member:invitecurl -X GET 'https://app.memorylake.ai/openapi/memorylake/admin/v1/invitations/9d971b8b5813eb1ecceec31354c101b4' \
-H 'Authorization: Bearer sk_xxxxxx'
Show Invitation object
pending, accepted, rejected, expired, revoked.{
"success": true,
"message": "Operation completed successfully",
"data": {
"created_at": 1760000000,
"email": "alice@example.com",
"expires_at": 1760000000,
"id": "c079f4f4e529b9d687b3cce00eeb9644",
"role": "tenant_member",
"status": "pending",
"accepted_at": 1760000000,
"accepted_principal_id": "5a4863beca31b3b37f780badf1652511",
"last_invited_at": 1760000000
}
}
success: false, a message and an error_code. See Error Codes for every code.
| Status | Meaning |
|---|---|
401 | The API key is missing, invalid, disabled or expired |
403 | The key is not allowed to do this |
404 | The resource does not exist |
422 | The body or a parameter failed validation |
429 | Too many requests. Wait for the time in Retry-After |
500 | Server-side error |