Persona Developer Hub

Welcome to the Persona developer hub. You'll find comprehensive guides and documentation to help you start working with personaidentities as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Mobile SDKs

Verify individuals with a native iOS and Android experience.

Integrate the Persona Inquiry flow directly into your Android or iOS app with our native SDKs. Get up and running with a theme-able Inquiry flow with a few lines of code. If you're ready to get started, check out our technical documentation for Android, iOS, and React Native . See below for an example.

Example Native Android and iOS usage

// to launch the Inquiry flow
Inquiry.Builder("tmpl_JAZjHuAT738Q63BdgCuEJQre")
  .environment(Environment.SANDBOX)
  .build()
  .start(this, VERIFY_REQUEST_CODE)

// overwriting the Activity#onActivityResult
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
  super.onActivityResult(requestCode, resultCode, data)
  if (requestCode == VERIFY_REQUEST_CODE) {
    when(Inquiry.onActivityResult(data)) {
      is Inquiry.Response.Success -> {
        // ✅ Inquiry succeeded
      }
      Inquiry.Response.Cancel -> {
        // ⏏️ Inquiry cancelled by user
      }
      is Inquiry.Response.Failure -> {
        // ❌ Inquiry failed
      }
      is Inquiry.Response.Error -> {
        // ⚠️ Inquiry errored
      }
    }
  }
}
class ViewController: UIViewController, InquiryDelegate {

    // This is hooked up to a button which starts the flow
    @IBAction func buttonTapped(_ sender: UIButton) {
        let config = InquiryConfiguration(templateId: "tmpl_JAZjHuAT738Q63BdgCuEJQre")

        // Create the inquiry with the view controller 
        // as the delegate and presenter.
        Inquiry(config: config, delegate: self).start(from: self)
    }

    // MARK: - Inquiry Delegate Methods
    func inquirySuccess(inquiryId: String, attributes: Attributes, relationships: Relationships) {
        // ✅ Inquiry succeeded
    }

    func inquiryCancelled() {
        // ⏏️ Inquiry cancelled by user
    }

    func inquiryFailed(inquiryId: String, attributes: Attributes, relationships: Relationships) {
        // ❌ Inquiry failed
    }

    func inquiryError(_ error: Error) {
        // ⚠️ Inquiry errored
    }
}

Updated 6 months ago


Mobile SDKs


Verify individuals with a native iOS and Android experience.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.