GET
/
api
/
v1
/
orgs
/
organizations
/
{org_id}
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
  ]
}

Authorizations

Authorization
string
header
required

API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'

Path Parameters

org_id
string
required

The unique identifier of the organization

Response

200
application/json
Successful response
id
integer

Unique identifier for the organization

org_id
string

Unique organization ID

name
string

Name of the organization

description
string

Description of the organization

address
string

Address of the organization

contact_email
string

Contact email for the organization

phone_number
string

Phone number of the organization

website
string

Website of the organization

on_paid_plan
boolean

Indicates if the organization is on a paid plan

created_at
string

Timestamp of when the organization was created

updated_at
string

Timestamp of when the organization was last updated

owner
integer

Identifier of the organization's owner

members
integer[]

List of member identifiers belonging to the organization