Retrieve a list of members for a specific organization.
import requests url = "https://api.mem0.ai/api/v1/orgs/organizations/{org_id}/members/" headers = {"Authorization": "<api-key>"} response = requests.request("GET", url, headers=headers) print(response.text)
{ "members": [ { "user_id": "<string>", "role": "<string>" } ] }
API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'
Unique identifier of the organization
Successful response
The response is of type object.
object
Was this page helpful?