Saltar al contenido

Get a project inbox

Módulo Platform

GET/project-inboxes/{id}projectInboxes.get

A project inbox address (0550, 1411): mail forwarded to `<local_part>@<receiving domain>` lands as inbound mail of the project for a coordinator to file. One live address per project; it is never edited, only replaced or disabled. Returns one project inbox with its `ETag`. A project inbox the caller may not see returns 404.

  • Requiere la capacidad projects.project.read.
  • Alcances de OAuth: projects.
  • Estados de error: 400, 401, 404, 429. Los errores son detalles de problema RFC 9457.

Parámetros de ruta y de consulta

projectInboxes.get: Parámetros de ruta y de consulta
CampoTipoObligatorioDescripción
idstring (uuid)SíIdentifier of the project inbox.
fieldsFieldsNoSparse fieldset: a comma-separated list of top-level fields to return. `id` is always returned.Restricciones: pattern ^[a-z_][a-z0-9_]*(,[a-z_][a-z0-9_]*)*$

Respuesta 200: ProjectInbox

projectInboxes.get: ProjectInbox
CampoTipoObligatorioDescripción
idstring (uuid)SíIdentifier of the project inbox.
org_idstring (uuid)SíIdentifier of the owning organization, derived from the parent row and never accepted from the caller.
created_atstring (date-time)SíWhen the row was created.
created_bystring (uuid) | nullSíIdentifier of the person who created the row.
updated_atstring (date-time)SíWhen the row was last updated.
updated_bystring (uuid) | nullSíIdentifier of the person who last updated the row.
project_idstring (uuid)SíIdentifier of the project the inbox belongs to.
local_partstringSíPart before the @ of the receiving domain: the project key and a random suffix.Restricciones: length 1 to 63
disabled_atstring (date-time) | nullSíWhen the address stopped accepting mail.
{
  "id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "org_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "created_at": "2026-10-08T14:30:00Z",
  "created_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "updated_at": "2026-10-08T14:30:00Z",
  "updated_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "project_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "local_part": "nwl-0a1b2c3d4e",
  "disabled_at": "2026-10-08T14:30:00Z"
}

Ejemplos de código

curl -X GET "$XOS_BASE_URL/project-inboxes/0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f" \
  -H "Authorization: Bearer $XOS_API_KEY"
const { data, etag } = await xos.projectInboxes.get("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f");
response = xos.project_inboxes.get("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f")
xos project-inboxes get 0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f