curl --request GET \
--url https://api.example.com/api/profiles/{id}{
"message": "<string>",
"data": {
"id": "<string>",
"user_id": "<string>",
"nombre": "<string>",
"rfc": "<string>",
"tipo_persona": "<string>",
"regimenes_fiscales": [
{}
],
"validaciones_habilitadas": {},
"frozen": true,
"frozen_reason": "<string>",
"frozen_at": "<string>",
"fiel_cer_encrypted": "<string>",
"fiel_key_encrypted": "<string>",
"fiel_password_encrypted": "<string>",
"sat_download_last_sync_at": "<string>",
"sat_download_sync_enabled": true,
"created_at": "<string>",
"updated_at": "<string>"
}
}curl --request GET \
--url https://api.example.com/api/profiles/{id}{
"message": "<string>",
"data": {
"id": "<string>",
"user_id": "<string>",
"nombre": "<string>",
"rfc": "<string>",
"tipo_persona": "<string>",
"regimenes_fiscales": [
{}
],
"validaciones_habilitadas": {},
"frozen": true,
"frozen_reason": "<string>",
"frozen_at": "<string>",
"fiel_cer_encrypted": "<string>",
"fiel_key_encrypted": "<string>",
"fiel_password_encrypted": "<string>",
"sat_download_last_sync_at": "<string>",
"sat_download_sync_enabled": true,
"created_at": "<string>",
"updated_at": "<string>"
}
}Authorization: Bearer <your_token>
FISICA (individual) or MORAL (company)plan_limit, user_suspension, payment_issue, or nullcurl -X GET https://api.contafy.com/api/profiles/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json"
{
"message": "Perfil obtenido exitosamente",
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"nombre": "Mi Empresa S.A. de C.V.",
"rfc": "EMP840101ABC",
"tipo_persona": "MORAL",
"regimenes_fiscales": ["601", "603"],
"validaciones_habilitadas": {},
"frozen": false,
"frozen_reason": null,
"frozen_at": null,
"fiel_cer_encrypted": null,
"fiel_key_encrypted": null,
"fiel_password_encrypted": null,
"sat_download_last_sync_at": null,
"sat_download_sync_enabled": false,
"created_at": "2024-03-07T12:00:00.000Z",
"updated_at": "2024-03-07T12:00:00.000Z"
}
}
{
"errors": [
{
"field": "id",
"message": "ID de perfil inválido"
}
]
}
{
"error": "Usuario no autenticado"
}
{
"error": "Perfil no encontrado"
}
{
"error": "Error al obtener perfil"
}