Projects
Read the organization, list, create and rename projects, and send a test error.
A project is one app or service. Each project exists in both modes as two copies with their own ids, ingest ids and keys. Use one project with several environments rather than a project per environment.
The project object#
| Field | Type | Description |
|---|---|---|
id |
uuid | Project id (differs between live and test) |
name |
string | Display name |
slug |
string | Used in issue short ids, e.g. RIDER-12 |
created_at |
datetime | When it was created |
ingest_id |
integer | The project number in the DSN, unique per instance |
dsn |
string or null | Sentry-compatible DSN with the project's first publishable key in the current mode; null when there is none |
Get the organization#
/api/v1/orgs/{org_id}The organization the key belongs to, with your role in it. Handy for checking that a key works.
Auth: any secret key of this organization, or a session. No scope is needed.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
org_id |
uuid | required | Organization id |
Response
| Field | Type | Description |
|---|---|---|
id |
uuid | Organization id |
name |
string | Name |
slug |
string | Slug |
status |
string | e.g. active |
settings |
object | Organization settings |
created_at |
datetime | When it was created |
role |
string or null | The effective role of the caller (for a key, its creator) |
Errors
| Status | Code | When |
|---|---|---|
| 404 | org_not_found |
Wrong id, or the key belongs to another organization |
curl "https://app.getmendloop.com/api/v1/orgs/ORG_ID" \
-H "Authorization: Bearer sk_test_…"const res = await fetch("https://app.getmendloop.com/api/v1/orgs/ORG_ID", {
headers: { Authorization: "Bearer sk_test_…" },
});
if (!res.ok) throw new Error((await res.json()).error.message);
const data = await res.json();import requests
resp = requests.get(
"https://app.getmendloop.com/api/v1/orgs/ORG_ID",
headers={"Authorization": "Bearer sk_test_…"},
timeout=30,
)
resp.raise_for_status()
data = resp.json(){
"id": "0193a2c4-5e1f-7b20-8c4d-2f6a9e1b3c70",
"name": "Acme",
"slug": "acme",
"status": "active",
"settings": {},
"created_at": "2026-09-14T10:00:00Z",
"role": "admin"
}List projects#
/api/v1/orgs/{org_id}/projectsProjects in the current mode. Members limited to some projects see only those.
Auth: secret key with the projects:read scope, or a session of any member.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
org_id |
uuid | required | Organization id |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit |
integer | optional | 1 to 200, default 50 |
cursor |
string | optional | next_cursor from the previous page |
Response
A page of project objects.
curl "https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects" \
-H "Authorization: Bearer sk_test_…"const res = await fetch("https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects", {
headers: { Authorization: "Bearer sk_test_…" },
});
if (!res.ok) throw new Error((await res.json()).error.message);
const data = await res.json();import requests
resp = requests.get(
"https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects",
headers={"Authorization": "Bearer sk_test_…"},
timeout=30,
)
resp.raise_for_status()
data = resp.json(){
"items": [
{
"id": "0193a2c4-61b0-7d3e-9a15-7c2e4f8b1d02",
"name": "Rider web",
"slug": "rider",
"created_at": "2026-09-14T10:02:00Z",
"ingest_id": 42,
"dsn": "https://pk_test_…@ingest.getmendloop.com/42"
}
],
"next_cursor": null
}Create a project#
/api/v1/orgs/{org_id}/projectsCreates a project in the current mode. Audit logged.
Auth: secret key with the projects:write scope, or a session. Either way the role behind it needs projects.manage.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
org_id |
uuid | required | Organization id |
Body (JSON)
| Parameter | Type | Required | Description |
|---|---|---|---|
name |
string | required | 1 to 200 characters |
Response
The new project object. dsn is null until the project has a publishable key.
curl -X POST "https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects" \
-H "Authorization: Bearer sk_test_…" \
-H "Content-Type: application/json" \
-d '{
"name": "Rider API"
}'const res = await fetch("https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects", {
method: "POST",
headers: { Authorization: "Bearer sk_test_…", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Rider API"
}),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const data = await res.json();import requests
resp = requests.post(
"https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects",
headers={"Authorization": "Bearer sk_test_…"},
json={
"name": "Rider API"
},
timeout=30,
)
resp.raise_for_status()
data = resp.json(){
"id": "0193a2c4-61b0-7d3e-9a15-7c2e4f8b1d03",
"name": "Rider API",
"slug": "rider-api",
"created_at": "2026-09-14T10:02:00Z",
"ingest_id": 43,
"dsn": null
}Rename a project#
/api/v1/orgs/{org_id}/projects/{project_id}Changes a project's name. Audit logged.
Auth: secret key with the projects:write scope, or a session. Either way the role behind it needs projects.manage.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
org_id |
uuid | required | Organization id |
project_id |
uuid | required | Project id |
Body (JSON)
| Parameter | Type | Required | Description |
|---|---|---|---|
name |
string | required | 1 to 200 characters |
Response
The updated project object.
Errors
| Status | Code | When |
|---|---|---|
| 404 | project_not_found |
No such project in this mode |
curl -X PATCH "https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects/PROJECT_ID" \
-H "Authorization: Bearer sk_test_…" \
-H "Content-Type: application/json" \
-d '{
"name": "Rider web app"
}'const res = await fetch("https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects/PROJECT_ID", {
method: "PATCH",
headers: { Authorization: "Bearer sk_test_…", "Content-Type": "application/json" },
body: JSON.stringify({
"name": "Rider web app"
}),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const data = await res.json();import requests
resp = requests.patch(
"https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects/PROJECT_ID",
headers={"Authorization": "Bearer sk_test_…"},
json={
"name": "Rider web app"
},
timeout=30,
)
resp.raise_for_status()
data = resp.json(){
"id": "0193a2c4-61b0-7d3e-9a15-7c2e4f8b1d02",
"name": "Rider web app",
"slug": "rider",
"created_at": "2026-09-14T10:02:00Z",
"ingest_id": 42,
"dsn": "https://pk_test_…@ingest.getmendloop.com/42"
}Send a test error#
/api/v1/orgs/{org_id}/projects/{project_id}/test-eventSends a realistic sample error through ingest for this project and mode, the same as the app's "Send test event" button. Audit logged.
Auth: secret key with the issues:write scope, or a session. Either way the role behind it needs issues.triage.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
org_id |
uuid | required | Organization id |
project_id |
uuid | required | Project id |
Response
| Field | Type | Description |
|---|---|---|
status |
string | accepted |
event_id |
string | The event id (32 hex) |
Errors
| Status | Code | When |
|---|---|---|
| 404 | project_not_found |
No such project in this mode |
| 403 | org_inactive |
The organization can't receive events |
curl -X POST "https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects/PROJECT_ID/test-event" \
-H "Authorization: Bearer sk_test_…"const res = await fetch("https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects/PROJECT_ID/test-event", {
method: "POST",
headers: { Authorization: "Bearer sk_test_…" },
});
if (!res.ok) throw new Error((await res.json()).error.message);
const data = await res.json();import requests
resp = requests.post(
"https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects/PROJECT_ID/test-event",
headers={"Authorization": "Bearer sk_test_…"},
timeout=30,
)
resp.raise_for_status()
data = resp.json(){
"status": "accepted",
"event_id": "c07e4b1a9d2f4e6083b5a7c9d1e3f5a7"
}