Look up a patient by document
Look up one patient in e-Oficlinic by citizenship card (CC) number, sent in the body and never in a URL. found answers a deliberately projected record (provider id, names, birth date, sex, address, phones, email, municipality) only when the provider returned a record with the requested document; not_found answers only the provider explicit negative. Any failure is not evidence that the patient is absent. This does not verify payer rights or the identity of the person presenting the document. agentMode true answers concise Spanish text instead.
- Scope:
oficlinic:patients:read - Credentials: an API key, a client-credentials token or a person's access token
- Effect: read-only; safe to retry
- Limits: request body up to 4 KB, response up to 8 KB
- CLI:
arbol oficlinic patients lookup· MCP tool:oficlinic_patients_lookup
POST
https://api.getarbol.com/v1/oficlinic/patients/lookupAuthorization
Request body JSON required
Returns
200
Successful operation.
400
INVALID_INPUT: The request does not match the published schema.
401
UNAUTHORIZED: A valid access token is required.
403
FORBIDDEN: The token does not authorize this operation.
404
CONNECTION_NOT_FOUND: The connection does not exist in this organization.
409
CONNECTION_REQUIRED: The organization has several active connections: select one.CONNECTION_NOT_ACTIVE: The connection is not active.CONNECTION_BUSY: Another operation is using this connection or signing in for the organization.REAUTHENTICATION_REQUIRED: Provider sign-in is stopped for this connection. Verify the connection again.
413
REQUEST_TOO_LARGE: The request exceeds the allowed size.
415
UNSUPPORTED_MEDIA_TYPE: The request content type is not supported.
422
CREDENTIALS_REJECTED: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.CONTEXT_NOT_AVAILABLE: The selected company, site or IPS is not available to the provider account.PROVIDER_IDENTITY_MISMATCH: The provider session does not belong to the connection's user and selected context.
429
RATE_LIMITED: The request rate limit was exceeded. Try again later.LOGIN_COOLING_DOWN: The organization's connection to this integration couldn't complete the request. Don't retry it automatically; if it keeps happening, contact your Arbol team.
500
INTERNAL_ERROR: The service could not complete the operation.
502
OUTCOME_UNKNOWN: The operation may have been applied; check its result before repeating it.SIGN_IN_OUTCOME_UNKNOWN: The provider did not confirm a sign-in. It is not repeated automatically.PROVIDER_PROTOCOL_CHANGED: The provider returned an unrecognized response.PATIENT_RECORD_MISMATCH: The provider answered a record that does not match the request.
503
UPSTREAM_UNAVAILABLE: The upstream service could not complete the request.PROVIDER_UNAVAILABLE: The provider could not complete the request.