Get a organization.
Python
import requests url = "https://api.mem0.ai/api/v1/orgs/organizations/{org_id}/" headers = {"Authorization": "Token <api-key>"} response = requests.request("GET", url, headers=headers) print(response.text)
{ "id": 123, "org_id": "<string>", "name": "<string>", "description": "<string>", "address": "<string>", "contact_email": "[email protected]", "phone_number": "<string>", "website": "<string>", "on_paid_plan": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "owner": 123, "members": [ 123 ] }
API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'
The unique identifier of the organization
Successful response
The response is of type object.
object
Was this page helpful?