Create a new project within an organization.
import requests url = "https://api.mem0.ai/api/v1/orgs/organizations/{org_id}/projects/" payload = {"name": "<string>"} headers = { "Authorization": "<api-key>", "Content-Type": "application/json" } response = requests.request("POST", url, json=payload, headers=headers) print(response.text)
{ "message": "Project created successfully.", "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'
Unique identifier of the organization
Project created successfully
The response is of type object.
object
Was this page helpful?