AptlyStar

Persona

Verify identities with Persona

使用方法

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.

ツール

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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
inquiryTemplateIdstringはいInquiry template ID (starts with itmpl_), inquiry template version ID (starts with itmplv_), or legacy template ID (starts with tmpl_)
accountIdstringいいえAccount ID (starts with act_) to associate with this inquiry
referenceIdstringいいえReference ID that refers to an entity in your user model. An account is auto-created for it if one does not exist.
fieldsjsonいいえJSON object of field name to field value pairs to pre-fill, as defined by the inquiry template (e.g. {"name-first": "Jane"})
notestringいいえFree-form note to attach to the inquiry
redirectUristringいいえURI to redirect the individual to after completing the inquiry flow

出力

パラメータ型説明
inquiryobjectThe created inquiry

persona_get_inquiry

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

入力

パラメータ型必須説明
apiKeystringはいPersona API key
inquiryIdstringはいInquiry ID to retrieve (starts with inq_)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
statusstringいいえFilter by inquiry status (created, pending, completed, failed, expired, needs_review, approved, declined)
accountIdstringいいえFilter by account ID (starts with act_); comma-separate multiple IDs
referenceIdstringいいえFilter by reference ID
createdAtStartstringいいえFilter to inquiries created at or after this ISO 8601 timestamp
createdAtEndstringいいえFilter to inquiries created at or before this ISO 8601 timestamp
pageSizenumberいいえNumber of inquiries to return per page (1-100, default 10)
pageAfterstringいいえPagination cursor: return inquiries after this inquiry ID

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
inquiryIdstringはいInquiry ID to update (starts with inq_)
notestringいいえFree-form note to set on the inquiry
fieldsjsonいいえJSON object of field name to field value pairs to set, as defined by the inquiry template (e.g. {"name-first": "Jane"})
tagsarrayいいえJSON array of tag names to set on the inquiry (e.g. ["vip"])
redirectUristringいいえURI to redirect the individual to after completing the inquiry flow

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
inquiryIdstringはいInquiry ID to approve (starts with inq_)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
inquiryIdstringはいInquiry ID to decline (starts with inq_)

出力

パラメータ型説明
inquiryobjectThe declined inquiry

persona_mark_inquiry_for_review

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

入力

パラメータ型必須説明
apiKeystringはいPersona API key
inquiryIdstringはいInquiry ID to mark for review (starts with inq_)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
inquiryIdstringはいInquiry ID to resume (starts with inq_)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
inquiryIdstringはいInquiry ID to expire (starts with inq_)

出力

パラメータ型説明
inquiryobjectThe expired inquiry

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

入力

パラメータ型必須説明
apiKeystringはいPersona API key
inquiryIdstringはいInquiry ID to generate a one-time link for (starts with inq_)
expiresInSecondsnumberいいえNumber of seconds from now until the link expires (must be greater than 0; defaults to the inquiry template setting, typically 24 hours)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
inquiryIdstringはいInquiry ID to print (starts with inq_)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
inquiryIdstringはいInquiry ID to redact (starts with inq_)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
accountTypeIdstringいいえAccount type ID to create the account for (starts with acttp_); defaults to your organization default
referenceIdstringいいえReference ID that refers to an entity in your user model
countryCodestringいいえISO 3166-1 alpha-2 country code (e.g. US)
fieldsjsonいいえJSON object of field name to field value pairs, as defined by the account type (e.g. {"name-first": "Jane"})
tagsarrayいいえJSON array of tag names to associate with the account (e.g. ["vip"])

出力

パラメータ型説明
accountobjectThe created account

persona_get_account

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

入力

パラメータ型必須説明
apiKeystringはいPersona API key
accountIdstringはいAccount ID to retrieve (starts with act_)

出力

パラメータ型説明
accountobjectThe retrieved account

persona_list_accounts

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

入力

パラメータ型必須説明
apiKeystringはいPersona API key
referenceIdstringいいえFilter by reference ID
pageSizenumberいいえNumber of accounts to return per page (1-100, default 10)
pageAfterstringいいえPagination cursor: return accounts after this account ID

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
accountIdstringはいAccount ID to update (starts with act_)
referenceIdstringいいえReference ID that refers to an entity in your user model
countryCodestringいいえISO 3166-1 alpha-2 country code (e.g. US)
fieldsjsonいいえJSON object of field name to field value pairs to set, as defined by the account type (e.g. {"name-first": "Jane"})
tagsarrayいいえJSON array of tag names to set on the account (e.g. ["vip"])

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
filefileはいCSV file of accounts to import

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
accountIdstringはいAccount ID to redact (starts with act_)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
statusstringいいえFilter by case status (e.g. Open, Resolved)
accountIdstringいいえFilter by account ID (starts with act_)
referenceIdstringいいえFilter by reference ID
pageSizenumberいいえNumber of cases to return per page (1-100, default 10)
pageAfterstringいいえPagination cursor: return cases after this case ID

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
caseIdstringはいCase ID to retrieve (starts with case_)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
reportTypestringはいType of report to run: watchlist, adverse-media, or politically-exposed-person
reportTemplateIdstringはいReport template ID to run (starts with rptp_)
termstringいいえFull-name search term (e.g. "Jane Q Doe"). Provide this or the separate name parts.
nameFirststringいいえFirst name of the individual to search
nameMiddlestringいいえMiddle name of the individual to search
nameLaststringいいえLast name of the individual to search
birthdatestringいいえBirthdate of the individual, formatted as YYYY-MM-DD
countryCodestringいいえISO 3166-1 alpha-2 country code (e.g. US)
accountIdstringいいえAccount ID (starts with act_) to associate with this report

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
reportIdstringはいReport ID to retrieve (starts with rep_)

出力

パラメータ型説明
reportobjectThe retrieved report

persona_list_reports

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

入力

パラメータ型必須説明
apiKeystringはいPersona API key
accountIdstringいいえFilter by account ID (starts with act_)
referenceIdstringいいえFilter by reference ID
pageSizenumberいいえNumber of reports to return per page (1-100, default 10)
pageAfterstringいいえPagination cursor: return reports after this report ID

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
verificationIdstringはいVerification ID to retrieve (starts with ver_)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
documentIdstringはいDocument ID to retrieve (starts with doc_)

出力

パラメータ型説明
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.

入力

パラメータ型必須説明
apiKeystringはいPersona API key
pageSizenumberいいえNumber of templates to return per page (1-100, default 10)
pageAfterstringいいえPagination cursor: return templates after this template ID

出力

パラメータ型説明
inquiryTemplatesarrayInquiry templates in the organization
nextCursorstringCursor for the next page (pass as pageAfter), or null on the last page

On this page