Menu
POST connector-pages/delete User APIService tier

Delete a connector page, one side or the whole row.

Body: {slug, page: "mcp" | "doc" | "all"}. - "mcp"/"doc": unpublish and clear that side's content. If the other side still has content, the row survives; otherwise it is removed. - "all": remove the row outright. Returns what happened; 404 when the slug has no row at all.

This read is not paginated. It returns at most 254 rows and does not report a total, so a result of exactly 254 may be truncated.

URL

  • User APIhttps://www.mattering.io/api/user/v1/connector-pages/delete
  • Service tierhttps://www.mattering.io/api/internal/v1/connector-pages/delete

Body keys (JSON)

KeyRequiredDefault
pageoptional or conditionalall
slugrequirednone

Keys the view reads. A key not in this list is ignored by the view. Where a key is required only for some actions (for example the action dispatch), the description above says which.

Responses

200 data and meta envelope

{
  "data": {
    "slug": "...",
    "deleted": "...",
    "row_kept": false
  }
}

Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).

Errors

StatusCode
400invalid_json
400invalid_page
400invalid_slug
400missing_field
401unauthorized
404page_not_found
500server_misconfigured

Example

curl -X POST "https://www.mattering.io/api/user/v1/connector-pages/delete" \
  -H "Authorization: Bearer $MATTERING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "slug": "...",
  "page": "all"
}'

Source: connector_pages/api_views.py (api_views.delete_page)

POST connector-pages/doc User APIService tier

POST to connector-pages/doc. derived from route

This read is not paginated. It returns at most 60 rows and does not report a total, so a result of exactly 60 may be truncated.

URL

  • User APIhttps://www.mattering.io/api/user/v1/connector-pages/doc
  • Service tierhttps://www.mattering.io/api/internal/v1/connector-pages/doc

Body keys (JSON)

KeyRequiredDefault
app_labeloptional or conditionalnone
contentoptional or conditionalnone
nodesoptional or conditionalnone
publishedoptional or conditionaltrue
slugrequirednone

Keys the view reads. A key not in this list is ignored by the view. Where a key is required only for some actions (for example the action dispatch), the description above says which.

Responses

200 data and meta envelope

{
  "data": {
    "slug": "...",
    "kind": "mcp",
    "published": true,
    "url": "...",
    "has_nodes": true,
    "created": true
  },
  "meta": {}
}

Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).

Errors

StatusCode
400invalid_content
400invalid_json
400invalid_slug
400missing_field
401unauthorized
500server_misconfigured

Example

curl -X POST "https://www.mattering.io/api/user/v1/connector-pages/doc" \
  -H "Authorization: Bearer $MATTERING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "slug": "...",
  "app_label": "...",
  "content": "...",
  "nodes": "...",
  "published": true
}'

Source: connector_pages/api_views.py (api_views.upsert_doc_page)

POST connector-pages/mcp User APIService tier

POST to connector-pages/mcp. derived from route

This read is not paginated. It returns at most 60 rows and does not report a total, so a result of exactly 60 may be truncated.

URL

  • User APIhttps://www.mattering.io/api/user/v1/connector-pages/mcp
  • Service tierhttps://www.mattering.io/api/internal/v1/connector-pages/mcp

Body keys (JSON)

KeyRequiredDefault
app_labeloptional or conditionalnone
contentoptional or conditionalnone
nodesoptional or conditionalnone
publishedoptional or conditionaltrue
slugrequirednone

Keys the view reads. A key not in this list is ignored by the view. Where a key is required only for some actions (for example the action dispatch), the description above says which.

Responses

200 data and meta envelope

{
  "data": {
    "slug": "...",
    "kind": "mcp",
    "published": true,
    "url": "...",
    "has_nodes": true,
    "created": true
  },
  "meta": {}
}

Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).

Errors

StatusCode
400invalid_content
400invalid_json
400invalid_slug
400missing_field
401unauthorized
500server_misconfigured

Example

curl -X POST "https://www.mattering.io/api/user/v1/connector-pages/mcp" \
  -H "Authorization: Bearer $MATTERING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "slug": "...",
  "app_label": "...",
  "content": "...",
  "nodes": "...",
  "published": true
}'

Source: connector_pages/api_views.py (api_views.upsert_mcp_page)

GET connector-pages/{slug} User APIService tier

Idempotency helper: report what is live for a slug.

URL

  • User APIhttps://www.mattering.io/api/user/v1/connector-pages/{slug}
  • Service tierhttps://www.mattering.io/api/internal/v1/connector-pages/{slug}

Path parameters

NameType
slugslug

Responses

200 data and meta envelope

{
  "data": {
    "slug": "...",
    "exists": true,
    "mcp_published": "...",
    "doc_published": "...",
    "has_nodes": true,
    "doc_app_label": "...",
    "updated_at": "2026-01-01T00:00:00Z",
    "mcp_content_sha256": "...",
    "doc_content_sha256": "...",
    "nodes_sha256": "..."
  },
  "meta": {}
}

Field names come from the code; values are placeholders (... is a string, 0 a number, dates are ISO 8601).

Errors

StatusCode
401unauthorized
500server_misconfigured

Example

curl -X GET "https://www.mattering.io/api/user/v1/connector-pages/SLUG" \
  -H "Authorization: Bearer $MATTERING_API_KEY"

Source: connector_pages/api_views.py (api_views.page_status)

All Website resources
Start Free Explore our Products