Lookup affiliations
Look up a citizen document in Comfachocó through an active organization connection. Returns found only for an exact source identity and not_found only for an explicit source negative. Provider failures are never evidence of non-affiliation. This does not verify the identity of the person presenting the document or determine eligibility. Set agentMode to true to receive the same observation as one concise Spanish text in the text field instead of structured fields; failures are unchanged.
- Scope:
comfachoco:affiliations: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 32 KB
- CLI:
arbol comfachoco affiliations lookup· MCP tool:comfachoco_affiliations_lookup
POST
https://api.getarbol.com/v1/comfachoco/affiliations/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.
409
CONNECTION_REQUIRED: Select an active connection.
413
REQUEST_TOO_LARGE: The request exceeds the allowed size.
415
UNSUPPORTED_MEDIA_TYPE: The request content type is not supported.
422
PROVIDER_ACCOUNT_INACTIVE: The provider account is inactive. Reactivate it before verification.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.
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.PROVIDER_PROTOCOL_CHANGED: The provider returned an unrecognized response.MEMBER_IDENTITY_MISMATCH: The provider record did not match the requested document.
503
UPSTREAM_UNAVAILABLE: The upstream service could not complete the request.PROVIDER_UNAVAILABLE: The provider could not complete the request.PROVIDER_SESSION_EXPIRED: The provider session expired.