> For the complete documentation index, see [llms.txt](https://doc.youverify.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.youverify.co/webhooks/know-your-customer-webhooks/address-verification.md).

# Address Verification

{% tabs %}
{% tab title="Address Completed Payload(individual) v2" %}

```json
{
    "event": "address.completed",
    "apiVersion": "v2",
    "data": {
        "candidate": {
            "candidateId": "620861ac0972f71ec8caf07d",
            "firstName": "Famous",
            "middleName": "Prior",
            "lastName": "Ehichioya",
            "photo": "https://youverify-api-bucket.nyc3.digitaloceanspaces.com/reports/live_photos/2022-02-13/photo_620845a0edc7b3471.jpg",
            "email": "famous@youverify.co",
            "mobile": "08030000000"
        },
        "agent": {
            "firstName": "Famous",
            "middleName": null,
            "lastName": "Ehichioya",
            "signature": "data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQE",
            "photo": "https://api.staging.youverify.co/uploads/agents/images/c0806491bf8e74bf1fc06d9e2949408e6f957249.jpg"
        },
        "address": {
            "latlong": {
                "lat": "6.5009833",
                "lon": "3.376612"
            },
            "flatNumber": "1st floor",
            "buildingName": "Sum house",
            "buildingNumber": "350",
            "subStreet": "Hughes avenue",
            "street": "Borno way",
            "landmark": "Police Station",
            "state": "Lagos",
            "city": "Yaba",
            "country": "Nigeria",
            "lga": "Lagos Mainland"
        },
        "referenceId": "620865a2cae6f",
        "parentId": null,
        "status": "awaiting_qa",
        "taskStatus": "VERIFIED",
        "subjectConsent": "true",
        "startDate": "2022-02-13T00:00:00.000Z",
        "endDate": "2022-02-13T00:00:00.000Z",
        "submittedAt": "2022-02-13T02:20:03.000Z",
        "executionDate": "2022-02-13T02:20:03.000Z",
        "completedAt": "2022-02-13T02:20:03.000Z",
        "acceptedAt": "2022-01-06T07:47:27.000Z",
        "revalidationDate": "2022-05-13T00:00:00.000Z",
        "notes": [
            {
                "createdAt": "2022-02-13 03:20:02",
                "note": "Candidate resides at Flat Number 1st Floor, Sum House, 350, Sub Street Hughes Avenue, Borno Way Street, Police Station, Yaba, Lagos, Nigeria, . It is a Terraced house painted black with a yellow gate. Address and candidate was confirmed by the Nearby retailer"
            }
        ],
        "isFlagged": true,
        "agentSubmittedLongitude": "3.3808834",
        "agentSubmittedLatitude": "6.490806",
        "reportGeolocationUrl": "https://www.google.com/maps/search/?api=1&query=6.490806, 3.3808834",
        "mapAddressUrl": "https://www.google.com/maps/search/?api=1&query=350+Borno+Way%2C+Yaba+%2C+Lagos%2C+Nigeria",
        "submissionDistanceInMeters": 1226,
        "reasons": null,
        "signature": "data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQE",
        "images": [
            {
                "filePath": "https://youverify-api-bucket.nyc3.digitaloceanspaces.com/reports/files/images/resize/2022-02-13/1644718659252.jpg",
                "fileType": "image/jpg",
                "height": 300,
                "width": 400
            }
        ],
        "buildingType": "Terraced house",
        "buildingColor": "black",
        "gatePresent": true,
        "gateColor": "yellow",
        "availabilityConfirmedBy": "Nearby retailer",
        "closestLandmark": "House",
        "additionalInfo": null,
        "reportAgentAccess": null,
        "incidentReport": null,
        "description": "Verify the candidate",
        "reportId": "reports_4768505a-f96b-42f0-a53e-310aada37a81",
        "downloadUrl": "https://api.staging.youverify.co/v1/reports/reports_4768505a-f961-42f0-a53e-310aada37a81/download/pdf",
        "apiVersion": "v2",
        "businessType": "admin",
        "businessId": "61d880f1e8e15aaf24558f1a",
        "userId": "61d880f2e8e15aaf24558f9b",
        "type": "individual",
        "metadata": {},
        "createdAt": "2022-02-13T01:58:07.159Z",
        "_createdAt": "2022-02-13T02:58:077+01:00",
        "verificationId": "620865a2cae6f",
        "id": "620865980972f71ec8caf080"
    }
}
```

{% endtab %}

{% tab title="Address Completed Payload(Guarantor) v2" %}

```json
{
    "event": "address.completed",
    "apiVersion": "v2",
    "data": {
        "candidate": {
            "candidateId": "61d88528e8e15aaf249fe191",
            "firstName": "Famous",
            "middleName": null,
            "lastName": "Ehichioya",
            "photo": "https://cdn.youverify.co/1640838946220-r6fvnt3g0YDgxYikH9e1y.png",
            "email": "08129xxxxxx@gmail.com",
            "mobile": "08129xxxxxx"
        },
        "guarantor": {
            "firstName": "Peter",
            "middleName": null,
            "lastName": "James",
            "photo": null,
            "email": "080xxxxxx@gmail.com",
            "mobile": "080xxxxxxxx"
        },
        "agent": {
            "firstName": null,
            "middleName": null,
            "lastName": null,
            "signature": null,
            "photo": null
        },
        "address": {
            "latlong": {
                "lat": "0",
                "lon": "0"
            },
            "flatNumber": null,
            "buildingName": null,
            "buildingNumber": null,
            "subStreet": null,
            "street": null,
            "landmark": null,
            "state": null,
            "city": null,
            "country": "Nigeria",
            "lga": null
        },
        "referenceId": "5b17c55a24328",
        "parentId": null,
        "status": "completed",
        "taskStatus": "VERIFIED",
        "subjectConsent": "true",
        "startDate": "2018-06-06T00:00:00.000Z",
        "endDate": "2018-06-06T00:00:00.000Z",
        "submittedAt": "2018-06-06T13:28:26.000Z",
        "executionDate": "2018-06-06T13:28:26.000Z",
        "completedAt": null,
        "acceptedAt": null,
        "revalidationDate": null,
        "notes": [
            {
                "note": "He leaves in 3rd room by the left, bungalow painted green but fading already,  there is a mosque beside the house, a female tailor who is a tenant sows females cloths at the front.",
                "createdAt": "2018-06-07T15:50:33.000Z"
            }
        ],
        "isFlagged": false,
        "agentSubmittedLongitude": "3.3196546",
        "agentSubmittedLatitude": "6.6053929",
        "reportGeolocationUrl": null,
        "mapAddressUrl": null,
        "submissionDistanceInMeters": null,
        "reasons": null,
        "signature": null,
        "images": [],
        "buildingType": null,
        "buildingColor": null,
        "gatePresent": false,
        "gateColor": null,
        "availabilityConfirmedBy": null,
        "closestLandmark": null,
        "additionalInfo": null,
        "reportAgentAccess": null,
        "incidentReport": null,
        "description": "",
        "reportId": "0d501eec-5f4d-4e14-a05b-173ce0dbb31e",
        "downloadUrl": "https://api.youverify.co/v1/reports/0d501eec-5f4d-4e12-a05b-173ce0dbb31e/download/pdf",
        "apiVersion": "v2",
        "mysqlId": 4621,
        "businessId": "61d880f1e8e15aaf24558f27",
        "businessType": "business",
        "userId": "61d880f2e8e15aaf24558f9c",
        "type": "guarantor",
        "createdAt": "2018-06-06T13:28:26.000Z",
        "lastModifiedAt": "2022-01-07T18:28:48.374Z",
        "metadata": {},
        "_createdAt": "2018-06-06T14:28:2626+01:00",
        "_lastModifiedAt": "2022-01-07T19:28:4848+01:00",
        "verificationId": "5b17c55a24328",
        "id": "61d88619e8e15aaf24a76d0f",
        "user": {
            "firstName": "Famous",
            "lastName": "Ehichioya",
            "middleName": "",
            "email": "famous@youid.com",
            "mobile": "23490xxxxxxx",
            "countryCode": "NGN",
            "id": "61d880f2e8e15aaf24558f9c"
        }
    }
}
```

{% endtab %}

{% tab title="Address Completed Payload(business) v2" %}

```json
{
    "event": "address.completed",
    "apiVersion": "v2",
    "data": {
        "candidate": {
            "candidateId": "61d8853be8e15aaf24a1759f",
            "firstName": "Kayode",
            "middleName": "",
            "lastName": "Oge",
            "photo": "https://cdn.youverify.co/1640838946220-r6fvnt3g0YDgxYikH9e1y.png",
            "email": "kaxxxxxxx@gmail.com",
            "mobile": "08068xxxxxx"
        },
        "business": {
            "name": "Conserveria Africana Limited(GBFOODS)",
            "registrationNumber": "510302",
            "email": "doluxxxx@thexxxxx.com",
            "mobile": "08026xxxxxxx"
        },
        "agent": {
            "firstName": "Fred",
            "middleName": null,
            "lastName": "Momoh",
            "signature": "data:image/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAAVQAAAGjCAYAAABzBe0",
            "photo": "https://api.youverify.co/uploads/agents/images/f3edc8af968af72ca19724c0ba8d91446a8a0220.jpg"
        },
        "address": {
            "latlong": {
                "lat": "6.54303",
                "lon": "3.3931607"
            },
            "flatNumber": "",
            "buildingName": "",
            "buildingNumber": "5A",
            "subStreet": "",
            "street": "14 hughes avenue",
            "landmark": "Bukka Hut",
            "state": "lagos",
            "city": "Lagos",
            "country": "Nigeria",
            "lga": null
        },
        "referenceId": "5db0385991396",
        "parentId": null,
        "status": "completed",
        "taskStatus": "VERIFIED",
        "subjectConsent": "true",
        "startDate": "2019-10-23T00:00:00.000Z",
        "endDate": "2019-10-23T00:00:00.000Z",
        "submittedAt": "2019-10-23T14:45:01.000Z",
        "executionDate": "2019-10-23T14:45:01.000Z",
        "completedAt": "2019-10-23T14:45:01.000Z",
        "acceptedAt": "2019-10-23T12:24:19.000Z",
        "revalidationDate": "2020-01-23T00:00:00.000Z",
        "notes": [
            {
                "createdAt": "2019-10-23 15:44:34",
                "note": "Verified"
            }
        ],
        "isFlagged": false,
        "agentSubmittedLongitude": "3.3929242",
        "agentSubmittedLatitude": "6.5416855",
        "reportGeolocationUrl": "https://www.google.com/maps/search/?api=1&query=6.5416855, 3.3929242",
        "mapAddressUrl": "https://www.google.com/maps/search/?api=1&query=5a+Olu+Osunkeye+Crescent+Gbagada%2C+Lagos+%2C+Lagos%2C+Nigeria",
        "submissionDistanceInMeters": 151,
        "reasons": null,
        "signature": "data:image/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAAVQAAAGjCAYAAABzBe0UAAAc4Ul",
        "images": [
            {
                "filePath": "https://youverify-api-bucket.nyc3.digitaloceanspaces.com/reports/files/images/resize/2019-10-23/1571838290509_91527.jpg",
                "fileType": "image/jpeg",
                "height": 300,
                "width": 400
            }
        ],
        "buildingType": null,
        "buildingColor": null,
        "gatePresent": false,
        "gateColor": null,
        "availabilityConfirmedBy": null,
        "closestLandmark": null,
        "additionalInfo": null,
        "reportAgentAccess": null,
        "incidentReport": null,
        "description": "",
        "reportId": "reports_6e002d9a-3f07-4978-8ef4-99510f8d4fdd",
        "downloadUrl": "https://api.youverify.co/v1/reports/reports_6e002d9a-3f07-4978-8ef1-99510f8d4fdd/download/pdf",
        "apiVersion": "v2",
        "mysqlId": 123771,
        "businessId": "61d880efe8e15aaf245582eb",
        "businessType": "business",
        "userId": "61d880f2e8e15aaf245591f8",
        "type": "business",
        "createdAt": "2019-10-23T13:24:09.000Z",
        "lastModifiedAt": "2022-02-24T00:58:41.722Z",
        "metadata": {},
        "_createdAt": "2019-10-23T14:24:099+01:00",
        "_lastModifiedAt": "2022-02-24T01:58:4141+01:00",
        "verificationId": "5db0385991396",
        "id": "61d88618e8e15aaf24a7624b",
        "user": {
            "firstName": "Famous",
            "lastName": "Ehichioya",
            "middleName": "",
            "email": "famous@youverify.co",
            "mobile": "2348036xxxxxx",
            "countryCode": "NGN",
            "id": "61d880f2e8e15aaf245591f8"
        }
    },
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.youverify.co/webhooks/know-your-customer-webhooks/address-verification.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
