Precheck an external action
Evaluate whether a supported external action can run and what it is expected to cost, without executing the action or charging credits.
Use precheck immediately before event-access, Visitor-access, contact-unlock, and other action-specific workflows. Inspect allowed, should_charge, credits, and reason_code to decide whether to continue, ask the user for confirmation, or explain why the action is unavailable.
Precheck is advisory and read-only: it does not reserve credits, create a task, or lock the target state. Send the same action type and identifiers to the execution endpoint promptly, and still handle state or balance changes returned by that endpoint.
Authorizations
Send the full Business API key from Settings -> API Keys, for example Authorization: Bearer sk_your_api_key.
Body
Read-only action eligibility and expected-credit evaluation request.
Action to evaluate. The listed examples are handled explicitly. Other 1–100 character strings are accepted and return allowed: false with reason_code: unsupported_action.
1 - 100"query_event_personnel"
"unlock_event_contacts"
"unlock_event_visitors"
"unlock_event_full_access"
"unlock_contact_emails"
"unlock_contact_phones"
"search_exhibitor_events"
"search_personnel_events_by_name"
"integration_status"
"integration_export_contacts"
"integration_export_exhibitors"
"others"
Action-specific identifiers and inputs, such as an event_id.
Caller source label, typically api or agent.
1 - 100"api"
Optional locale used for localized guidance or messages.
1 - 20"en-US"
Optional caller-provided trace identifier for support correlation.
1 - 200"trace_123"
Optional conversation identifier for agent workflows.
1 - 200"conversation_123"
Optional channel message identifier for agent workflows.
1 - 200"message_123"
Response
Precheck decision envelope
Action eligibility, expected charging, reason, and action-specific detail.
Whether the precheck itself completed successfully.
Action evaluated by the precheck.
Whether the action is currently allowed to proceed.
Whether executing the action is expected to consume credits.
Credits expected for the action under the current state.
Stable reason explaining the eligibility and charging decision.
ok, already_unlocked, unlock_in_progress, state_conflict, insufficient_balance, no_contacts_available, exceed_max_unlock_limit, invalid_subject, unsupported_action, not_found, forbidden, system_error Business code associated with the precheck decision.
Action-specific eligibility, cost, or state detail.