curl --request GET \
--url https://api.example.com/api/profiles{
"data": [
{
"id": "<string>",
"user_id": "<string>",
"nombre": "<string>",
"rfc": "<string>",
"tipo_persona": {},
"regimenes_fiscales": [
"<string>"
],
"validaciones_habilitadas": {},
"created_at": "<string>",
"updated_at": "<string>",
"frozen": true,
"frozen_reason": {},
"frozen_at": {}
}
],
"count": 123
}Retrieve all profiles associated with the authenticated user
curl --request GET \
--url https://api.example.com/api/profiles{
"data": [
{
"id": "<string>",
"user_id": "<string>",
"nombre": "<string>",
"rfc": "<string>",
"tipo_persona": {},
"regimenes_fiscales": [
"<string>"
],
"validaciones_habilitadas": {},
"created_at": "<string>",
"updated_at": "<string>",
"frozen": true,
"frozen_reason": {},
"frozen_at": {}
}
],
"count": 123
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pakomercado0517/tresa-contafy-web/llms.txt
Use this file to discover all available pages before exploring further.
FISICA (individual) or MORAL (corporation)plan_limit, user_suspension, payment_issue, or nullcurl -X GET https://api.contafy.com/api/profiles \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json"
{
"data": [
{
"id": "prof_1234567890",
"user_id": "user_0987654321",
"nombre": "Mi Empresa SA de CV",
"rfc": "XAXX010101000",
"tipo_persona": "MORAL",
"regimenes_fiscales": ["601", "603"],
"validaciones_habilitadas": {
"validarRFCIngresos": true,
"validarRFCGastos": true,
"validarRegimenFiscal": false,
"validarUUIDDuplicado": true,
"bloquearSiRFCNoCoincide": false,
"bloquearSiRegimenNoCoincide": false
},
"created_at": "2024-01-15T10:30:00.000Z",
"updated_at": "2024-02-20T14:45:00.000Z",
"frozen": false
},
{
"id": "prof_9876543210",
"user_id": "user_0987654321",
"nombre": "Juan Pérez",
"rfc": "PERJ850101ABC",
"tipo_persona": "FISICA",
"regimenes_fiscales": ["605"],
"validaciones_habilitadas": {
"validarRFCIngresos": true,
"validarRFCGastos": false
},
"created_at": "2024-03-01T08:00:00.000Z",
"updated_at": "2024-03-01T08:00:00.000Z",
"frozen": true,
"frozen_reason": "plan_limit",
"frozen_at": "2024-03-15T12:00:00.000Z"
}
],
"count": 2
}
{
"error": "Unauthorized",
"message": "Invalid or missing authentication token"
}
{
"error": "Internal Server Error",
"message": "An error occurred while retrieving profiles"
}