Ir al contenido

OrganizacionesLista los tenants de la organización

Lista los tenants de la organización

Ver como Markdown
GET
/api/v1/organizations/{id}/tenants
curl --request GET \
--url https://gateway.novafe.com.do/api/v1/organizations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/tenants \
--header 'X-API-Key: <X-API-Key>'

Los contribuyentes (tenants) de la organización. Self-service para cualquier miembro (o el operador).

Autenticación: requiere una API key válida (header X-API-Key).

id
obligatorio
string format: uuid
page
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
pageSize
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

OK

Tipo de contenidoapplication/json
object
items
obligatorio
Array<object>

Un contribuyente de la organización: sus datos básicos más lo que hace falta para mostrarlo de un vistazo en una lista, sin consultar el detalle uno por uno.

object
id
obligatorio
string format: uuid
rnc
obligatorio
string
legalName
obligatorio
string
status
obligatorio
string
defaultEnvironment
obligatorio
null | string
certificateExpiresAt
obligatorio
null | string format: date-time
lastEcfIssuedAt
obligatorio
null | string format: date-time
hasLogo
obligatorio

Si tiene logo — así la card no dispara un &lt;img&gt; a un 404 cuando no hay ninguno.

boolean
totalCount
obligatorio
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
page
obligatorio
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
pageSize
obligatorio
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
totalPages
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
hasNextPage
boolean
hasPreviousPage
boolean
Ejemplogenerado
{
"items": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"rnc": "example",
"legalName": "example",
"status": "example",
"defaultEnvironment": "example",
"certificateExpiresAt": "2026-04-15T12:00:00Z",
"lastEcfIssuedAt": "2026-04-15T12:00:00Z",
"hasLogo": true
}
],
"totalCount": 1,
"page": 1,
"pageSize": 1,
"totalPages": 1,
"hasNextPage": true,
"hasPreviousPage": true
}

Falta la API key o no es válida: no existe, fue revocada o venció (Auth.MissingApiKey, Auth.InvalidApiKey).

Tipo de contenidoapplication/problem+json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
code

Identificador estable del error, con la forma Grupo.Nombre. Es el que debes comparar en tu código.

string
traceId

Identificador de la petición. Inclúyelo al escribir a soporte.

string
Ejemplo
{
"code": "Ecf.IdempotencyKeyRequired"
}

Not Found

Tipo de contenidoapplication/problem+json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
code

Identificador estable del error, con la forma Grupo.Nombre. Es el que debes comparar en tu código.

string
traceId

Identificador de la petición. Inclúyelo al escribir a soporte.

string
Ejemplo
{
"code": "Ecf.IdempotencyKeyRequired"
}

Superaste el máximo de peticiones por minuto de tu organización (RateLimit.Exceeded). Espera los segundos del header Retry-After.

Tipo de contenidoapplication/problem+json
object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
code

Identificador estable del error, con la forma Grupo.Nombre. Es el que debes comparar en tu código.

string
traceId

Identificador de la petición. Inclúyelo al escribir a soporte.

string
Ejemplo
{
"code": "Ecf.IdempotencyKeyRequired"
}
Retry-After
integer

Segundos que debes esperar antes de repetir la petición.