---
schema_version: "1"
id: 4fc3cbe89b0022d307033faa5d1d3709c90fcc9236b6186c11d1783ab719854a
title: Serialize Identity Verification Context Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/hc_actions_serialize_identity_verification_context.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/hc_actions_serialize_identity_verification_context.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 57ba9096534542021e7a4ca8d735493cd4b1b7ec1bca66a73f5eed37fbf43df4
description: Returns a JSON array of identity verification field descriptors that an Agentforce agent uses to collect caller answers.
---
# Serialize Identity Verification Context Action

Returns a JSON array of identity verification field descriptors that an Agentforce agent uses to collect caller answers.

This action is available in API version 68.0 and later.

## Supported REST HTTP Methods

**URI**: /services/data/vXX.X/actions/standard/serializeVerificationContext

Where XX.X is the latest API version.

**Formats**: JSON, XML

**HTTP Methods**: POST

**Authentication**: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

## Inputs

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d331196e100">Input</th>

              <th class="featureTableHeader  " id="d331196e103">Type</th>

              <th class="featureTableHeader  " id="d331196e106">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d331196e100" data-title="Input">
                <span class="keyword parmname">verificationContext</span>
              </td>

              <td class="entry" headers="d331196e103" data-title="Type">Reference</td>

              <td class="entry" headers="d331196e106" data-title="Description">Required<p class="p">An Apex <samp class="codeph nolang">id_verification__VerificationContext</samp> record that represents the
                  active identity verification session.</p>
              </td>

            </tr>

          </tbody>

        </table>

## Outputs

| Output | Type | Description |
| --- | --- | --- |
| verificationFields | Array | A JSON array of verification field descriptors with empty answer placeholders. For example, \[{"label":"Date of Birth","answer":"","developerName":"Birthdate\_Field"}\]. The agent populates each answer and passes the array as callerAnswers to the Identity Verification flow. |

## Example

**Sample Request**

{
        "inputs": \[
        {
        "verificationContext": {
        "processDefinition": {
        "developerName": "StandardIdentityVerification"
        }
        }
        }
        \]
        }

**Sample Response**

\[
        {
        "verificationFields": \[
        {
        "label": "Date of Birth",
        "answer": "",
        "developerName": "Birthdate\_Field"
        },
        {
        "label": "ZIP Code",
        "answer": "",
        "developerName": "ZipCode\_Field"
        }
        \]
        }
        \]