/voterRegistrationBatches/{batchId}/people

Add Registrants to a Voter Registration Batch

Description

Use this endpoint to submit up to 25 registrants to a Voter Registration Batch. Fields published via POST /voterRegistrationBatches should be specified in CustomProperties.

Response

PropertyTypeDescription
alternateIdstringA Unique Identifier, for your reference only. Value is not stored in the database.
vanIdstringIf result is Success, the vanId of the registrant’s record.
resultstringSuccess or Failure
errorsobjectIf result is Failure, an array of Error objects.

Note

The code generated by the sidebar will cause an error. This endpoint requires the JSON body to consist only of the array of registrant objects, without a key, so the request body should look like the following example.

[
    {
        "person": {
            "firstName": "john",
            "lastName": "doe"
        },
        "customProperties": [
            {
                "key": "VR:HasCat", 
                "value": "true"
            }
        ]
    }
]
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!