AptlyStar

Persona

Verify identities with Persona

Instructions d'utilisation

Integrate Persona identity verification into the workflow. Manage the full inquiry lifecycle (create, update, approve, decline, review, resume, expire, redact), generate one-time verification links and PDF summaries, manage accounts including CSV bulk import, run watchlist and adverse media reports, review cases, retrieve verifications and documents, and discover inquiry templates.

Outils

persona_create_inquiry

Create a new identity verification inquiry from an inquiry template. Returns the created inquiry, which can then be completed by the individual via a one-time link.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
inquiryTemplateIdstringOuiInquiry template ID (starts with itmpl_), inquiry template version ID (starts with itmplv_), or legacy template ID (starts with tmpl_)
accountIdstringNonAccount ID (starts with act_) to associate with this inquiry
referenceIdstringNonReference ID that refers to an entity in your user model. An account is auto-created for it if one does not exist.
fieldsjsonNonJSON object of field name to field value pairs to pre-fill, as defined by the inquiry template (e.g. {"name-first": "Jane"})
notestringNonFree-form note to attach to the inquiry
redirectUristringNonURI to redirect the individual to after completing the inquiry flow

Sortie

ParamètreTypeDescription
inquiryobjectThe created inquiry

persona_get_inquiry

Retrieve a single identity verification inquiry by ID, including its status, collected fields, and decision timestamps.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
inquiryIdstringOuiInquiry ID to retrieve (starts with inq_)

Sortie

ParamètreTypeDescription
inquiryobjectThe retrieved inquiry

persona_list_inquiries

List identity verification inquiries, optionally filtered by status, account ID, reference ID, or creation date range. Results are cursor-paginated.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
statusstringNonFilter by inquiry status (created, pending, completed, failed, expired, needs_review, approved, declined)
accountIdstringNonFilter by account ID (starts with act_); comma-separate multiple IDs
referenceIdstringNonFilter by reference ID
createdAtStartstringNonFilter to inquiries created at or after this ISO 8601 timestamp
createdAtEndstringNonFilter to inquiries created at or before this ISO 8601 timestamp
pageSizenumberNonNumber of inquiries to return per page (1-100, default 10)
pageAfterstringNonPagination cursor: return inquiries after this inquiry ID

Sortie

ParamètreTypeDescription
inquiriesarrayInquiries matching the filters
nextCursorstringCursor for the next page (pass as pageAfter), or null on the last page

persona_update_inquiry

Update an inquiry’s note, fields, tags, or redirect URI. Only the provided values are changed.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
inquiryIdstringOuiInquiry ID to update (starts with inq_)
notestringNonFree-form note to set on the inquiry
fieldsjsonNonJSON object of field name to field value pairs to set, as defined by the inquiry template (e.g. {"name-first": "Jane"})
tagsarrayNonJSON array of tag names to set on the inquiry (e.g. ["vip"])
redirectUristringNonURI to redirect the individual to after completing the inquiry flow

Sortie

ParamètreTypeDescription
inquiryobjectThe updated inquiry

persona_approve_inquiry

Approve an identity verification inquiry. Approving prevents further progress on the inquiry and triggers any associated workflows and webhooks.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
inquiryIdstringOuiInquiry ID to approve (starts with inq_)

Sortie

ParamètreTypeDescription
inquiryobjectThe approved inquiry

persona_decline_inquiry

Decline an identity verification inquiry. Declining prevents further progress on the inquiry and triggers any associated workflows and webhooks.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
inquiryIdstringOuiInquiry ID to decline (starts with inq_)

Sortie

ParamètreTypeDescription
inquiryobjectThe declined inquiry

persona_mark_inquiry_for_review

Mark an identity verification inquiry for manual review, moving it to the needs_review status.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
inquiryIdstringOuiInquiry ID to mark for review (starts with inq_)

Sortie

ParamètreTypeDescription
inquiryobjectThe inquiry marked for review

persona_resume_inquiry

Resume a pending or expired inquiry, creating a new session so the individual can continue verification. Returns a session token.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
inquiryIdstringOuiInquiry ID to resume (starts with inq_)

Sortie

ParamètreTypeDescription
inquiryobjectThe resumed inquiry
sessionTokenstringSession token for the new inquiry session, used to continue the flow in embedded SDKs

persona_expire_inquiry

Expire an in-progress inquiry, invalidating its sessions and one-time links so the individual can no longer continue it.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
inquiryIdstringOuiInquiry ID to expire (starts with inq_)

Sortie

ParamètreTypeDescription
inquiryobjectThe expired inquiry

Generate a one-time link for an inquiry that the individual can open to complete their identity verification.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
inquiryIdstringOuiInquiry ID to generate a one-time link for (starts with inq_)
expiresInSecondsnumberNonNumber of seconds from now until the link expires (must be greater than 0; defaults to the inquiry template setting, typically 24 hours)

Sortie

ParamètreTypeDescription
inquiryobjectThe inquiry the link was generated for
oneTimeLinkstringOne-time link the individual can open to complete the inquiry
oneTimeLinkShortstringShortened version of the one-time link

persona_print_inquiry_pdf

Download a PDF summary of an inquiry, including its collected information and verification results.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
inquiryIdstringOuiInquiry ID to print (starts with inq_)

Sortie

ParamètreTypeDescription
filefilePDF summary of the inquiry, stored in execution files

persona_redact_inquiry

Permanently delete all personally identifiable information collected by an inquiry, for example to honor a data deletion request. This cannot be undone.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
inquiryIdstringOuiInquiry ID to redact (starts with inq_)

Sortie

ParamètreTypeDescription
inquiryobjectThe redacted inquiry (PII fields are removed)

persona_create_account

Create an account that represents an individual in Persona. Accounts consolidate inquiries, verifications, and reports for the same person.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
accountTypeIdstringNonAccount type ID to create the account for (starts with acttp_); defaults to your organization default
referenceIdstringNonReference ID that refers to an entity in your user model
countryCodestringNonISO 3166-1 alpha-2 country code (e.g. US)
fieldsjsonNonJSON object of field name to field value pairs, as defined by the account type (e.g. {"name-first": "Jane"})
tagsarrayNonJSON array of tag names to associate with the account (e.g. ["vip"])

Sortie

ParamètreTypeDescription
accountobjectThe created account

persona_get_account

Retrieve a single account by ID, including its reference ID, fields, tags, and status.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
accountIdstringOuiAccount ID to retrieve (starts with act_)

Sortie

ParamètreTypeDescription
accountobjectThe retrieved account

persona_list_accounts

List accounts in your Persona organization, optionally filtered by reference ID. Results are cursor-paginated.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
referenceIdstringNonFilter by reference ID
pageSizenumberNonNumber of accounts to return per page (1-100, default 10)
pageAfterstringNonPagination cursor: return accounts after this account ID

Sortie

ParamètreTypeDescription
accountsarrayAccounts matching the filters
nextCursorstringCursor for the next page (pass as pageAfter), or null on the last page

persona_update_account

Update an account’s reference ID, country code, fields, or tags. Only the provided values are changed.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
accountIdstringOuiAccount ID to update (starts with act_)
referenceIdstringNonReference ID that refers to an entity in your user model
countryCodestringNonISO 3166-1 alpha-2 country code (e.g. US)
fieldsjsonNonJSON object of field name to field value pairs to set, as defined by the account type (e.g. {"name-first": "Jane"})
tagsarrayNonJSON array of tag names to set on the account (e.g. ["vip"])

Sortie

ParamètreTypeDescription
accountobjectThe updated account

persona_import_accounts

Bulk-import accounts into Persona from a CSV file. Returns an importer whose status can be polled until processing completes.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
filefileOuiCSV file of accounts to import

Sortie

ParamètreTypeDescription
importerobjectThe created account importer

persona_redact_account

Permanently delete all personally identifiable information stored on an account, for example to honor a data deletion request. This cannot be undone.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
accountIdstringOuiAccount ID to redact (starts with act_)

Sortie

ParamètreTypeDescription
accountobjectThe redacted account (PII fields are removed)

persona_list_cases

List manual review cases, optionally filtered by status, account ID, or reference ID. Results are cursor-paginated.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
statusstringNonFilter by case status (e.g. Open, Resolved)
accountIdstringNonFilter by account ID (starts with act_)
referenceIdstringNonFilter by reference ID
pageSizenumberNonNumber of cases to return per page (1-100, default 10)
pageAfterstringNonPagination cursor: return cases after this case ID

Sortie

ParamètreTypeDescription
casesarrayCases matching the filters
nextCursorstringCursor for the next page (pass as pageAfter), or null on the last page

persona_get_case

Retrieve a single manual review case by ID, including its status, resolution, and assignee.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
caseIdstringOuiCase ID to retrieve (starts with case_)

Sortie

ParamètreTypeDescription
caseobjectThe retrieved case

persona_create_report

Run a screening report (watchlist, adverse media, or politically exposed person) against an individual by name or search term.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
reportTypestringOuiType of report to run: watchlist, adverse-media, or politically-exposed-person
reportTemplateIdstringOuiReport template ID to run (starts with rptp_)
termstringNonFull-name search term (e.g. "Jane Q Doe"). Provide this or the separate name parts.
nameFirststringNonFirst name of the individual to search
nameMiddlestringNonMiddle name of the individual to search
nameLaststringNonLast name of the individual to search
birthdatestringNonBirthdate of the individual, formatted as YYYY-MM-DD
countryCodestringNonISO 3166-1 alpha-2 country code (e.g. US)
accountIdstringNonAccount ID (starts with act_) to associate with this report

Sortie

ParamètreTypeDescription
reportobjectThe created report. Reports run asynchronously; poll until status is ready.

persona_get_report

Retrieve a single screening report by ID, including its status, match results, and full type-specific attributes.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
reportIdstringOuiReport ID to retrieve (starts with rep_)

Sortie

ParamètreTypeDescription
reportobjectThe retrieved report

persona_list_reports

List screening reports, optionally filtered by account ID or reference ID. Results are cursor-paginated.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
accountIdstringNonFilter by account ID (starts with act_)
referenceIdstringNonFilter by reference ID
pageSizenumberNonNumber of reports to return per page (1-100, default 10)
pageAfterstringNonPagination cursor: return reports after this report ID

Sortie

ParamètreTypeDescription
reportsarrayReports matching the filters
nextCursorstringCursor for the next page (pass as pageAfter), or null on the last page

persona_get_verification

Retrieve a single verification by ID (government ID, selfie, document, database, and more), including its status and the checks that ran.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
verificationIdstringOuiVerification ID to retrieve (starts with ver_)

Sortie

ParamètreTypeDescription
verificationobjectThe retrieved verification

persona_get_document

Retrieve a single document by ID (government ID, generic document, and more), including its processing status and uploaded files.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
documentIdstringOuiDocument ID to retrieve (starts with doc_)

Sortie

ParamètreTypeDescription
documentobjectThe retrieved document

persona_list_inquiry_templates

List the inquiry templates in your Persona organization, to discover template IDs for creating inquiries. Results are cursor-paginated.

Entrée

ParamètreTypeObligatoireDescription
apiKeystringOuiPersona API key
pageSizenumberNonNumber of templates to return per page (1-100, default 10)
pageAfterstringNonPagination cursor: return templates after this template ID

Sortie

ParamètreTypeDescription
inquiryTemplatesarrayInquiry templates in the organization
nextCursorstringCursor for the next page (pass as pageAfter), or null on the last page

On this page