Mendloop Docs Request access

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#

GET/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
Shell
curl "https://app.getmendloop.com/api/v1/orgs/ORG_ID" \
  -H "Authorization: Bearer sk_test_…"
Response 200JSON
{
  "id": "0193a2c4-5e1f-7b20-8c4d-2f6a9e1b3c70",
  "name": "Acme",
  "slug": "acme",
  "status": "active",
  "settings": {},
  "created_at": "2026-09-14T10:00:00Z",
  "role": "admin"
}

List projects#

GET/api/v1/orgs/{org_id}/projects

Projects 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.

Shell
curl "https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects" \
  -H "Authorization: Bearer sk_test_…"
Response 200JSON
{
  "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#

POST/api/v1/orgs/{org_id}/projects

Creates 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.

Shell
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"
  }'
Response 201JSON
{
  "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#

PATCH/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
Shell
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"
  }'
Response 200JSON
{
  "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#

POST/api/v1/orgs/{org_id}/projects/{project_id}/test-event

Sends 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
Shell
curl -X POST "https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects/PROJECT_ID/test-event" \
  -H "Authorization: Bearer sk_test_…"
Response 202JSON
{
  "status": "accepted",
  "event_id": "c07e4b1a9d2f4e6083b5a7c9d1e3f5a7"
}