openapi: 3.0.1 info: title: Address Validation 5103 Waiver Status API description: "The Address Validation API accepts and validates an address and standardizes it for mailing. It can also help you process an address by:\n* Inferring missing or incorrect address components\n* Supplementing an address with additional information, such as geocode, latitude and longitude, and postal service metadata (when available)\n## Technical Overview\nThe Address Validation API returns validated addresses as they appear in the USPS database for domestic addresses. It validates by separating the address into individual components and then providing component-level validation checks.\n\nThis API is certified by the United States Postal Service (USPS) Coding Accuracy Support System (CASS) and adheres to [United States Postal Service (USPS) Publication 28 standards](https://pe.usps.com/text/pub28/welcome.htm) for domestic, military, and US territory addresses.\n\nFor international addresses, validation relies on Universal Postal Union (UPU) standards. \n\n## Validation\nIf an address is found, it is considered valid based on metadata returned by the Address Validation service, such as the confidence score and the [Delivery Point Validation (DPV)](https://postalpro.usps.com/address-quality/dpv).\n\nIf an address is found, there are multiple checks performed on the validated address. The address can fail validation for a variety of reasons, such as the inability to deliver (for domestic mailing addresses) or the format. For specific reasons why an address failed, refer to the error messages returned.\n\nIf an address is not found, it automatically fails validation.\n\n## Address override indicator\nSometimes an entered address is accurate for a Veteran but does not pass validation rules. These instances can occur when an address is newer than what is in the CASS software or in regions where address data is less accurate.\n\nSystems can accept these addresses despite the lack of address validation by submitting an \"accepted address\" (usually confirmed by the Veteran) to the Contact Information API (see Requirements below). An address is considered accepted after the address has been sent to the validation API and has failed validation, but the Veteran has confirmed the address is correct as entered. The accepted address can then be passed to the Contact Information API using an address override indicator set to show that the validation was overridden. To set an override indicator, the original address and the `overrideValidationKey` returned in the validation API response must be provided to the Contact Information API, in order to prove that a validation attempt has been made before overriding.\n\n## Version Interoperability\n\nTo ensure interoperability between APIs and eliminate the need for transforming data as one API feeds into the other, we strongly recommend using versions of the following APIs that are compatible.\n\n|

If Using

|

Then Use...

|\n| :------------------------------:|:----------------------------------------------:|\n| Address Validation API v1/v2 | Contact Information API v1

Profile Service API v1/v2 |\n| Address Validation API v3 | Contact Information API v2

Profile Service API v3 |\n\n## Authorization\nAPI requests are authorized through a symmetric API token provided in an HTTP header with name apikey.\n\n**Important**: To get production access, you must either work for VA or have specific VA agreements in place. If you have questions, [contact us](https://developer.va.gov/support/contact-us)." license: name: Creative Commons url: https://developer.va.gov/terms-of-service version: '3' servers: - url: https://sandbox-api.va.gov/services/address-validation/{version} description: Sandbox variables: version: default: v3 - url: https://api.va.gov/services/address-validation/{version} description: Production variables: version: default: v3 security: - apikey: [] tags: - name: Status paths: /status: get: tags: - Status summary: Confirms whether an individual is a Veteran description: The Veteran Confirmation API allows you to confirm Veteran status for a given person. This can be useful for offering Veterans discounts or other benefits. operationId: GET:/status responses: '200': description: Confirmation status successfully retrieved content: application/json: schema: $ref: '#/components/schemas/VeteranStatusResponseV1' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ServerSoapFaultApiError' '401': description: Not authorized content: application/json: schema: type: string example: message: Invalid authentication credentials '403': description: Forbidden content: application/json: schema: type: string example: message: You cannot consume this service '404': description: Not Found content: application/json: schema: $ref: '#/components/schemas/MissingIcn' '413': description: Payload too large content: application/json: schema: type: object properties: message: type: string example: message: Request size limit exceeded '429': description: Too many requests content: application/json: schema: type: object properties: message: type: string example: message: API rate limit exceeded '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/InternalServerApiError' '502': description: Bad Gateway content: application/json: schema: $ref: '#/components/schemas/InaccessibleServiceDefintionErrorApiError' '503': description: Service Unavailable content: application/json: schema: $ref: '#/components/schemas/BackendServiceApiError' deprecated: true security: - bearer_token: [] post: tags: - Status summary: Confirm whether an individual is a Title 38 Veteran using demographics description: "Confirm an individual's Title 38 Veteran status according to VA.\nThis endpoint accepts demographic information for the person to\nbe confirmed and matches it against VA records. If there are\ndifferences between the data entered and the data on file, a\nmatch to a person may not be found. If a successful match is\nidentified, Title 38 Veteran status is checked.\n\n- ```\"confirmed\"``` indicates Title 38 Veteran status.\n- ```\"not confirmed\"``` can mean several different things, depending on\nthe following not_confirmed_reason values:\n - ```PERSON_NOT_FOUND```: The person was not found in VA source systems\n with the provided information. Including more demographic data\n for a Veteran increases the likelihood of finding their records\n in VA source systems.\n - ```NOT_TITLE_38```: VA data sources indicate that the person does not\n have Title 38 status.\n - ```MORE_RESEARCH_REQUIRED```: VA cannot confirm the person's Title 38\n status with existing records.\n - ```ERROR```: One or more VA source systems is not available or returned\n an error response.\n\nRequired information:\n* First Name\n* Last Name\n* Date of Birth\n* Street Address\n* City\n* State\n* Country\n* Zipcode\n\nOptional information:\n* Middle Name\n* Gender\n* Mother's Maiden Name\n* Home Phone Number\n* Birth Place City\n* Birth Place State\n* Birth Place Country\n\nTips for finding a match:\n* First and Last Name, Address and DOB are often essential to uniquely identifying a\nVeteran.\n* To find a match, it can help to retry with different demographic information, such\nas alternate last names or addresses.\n* It can also help to remove special characters, hyphens, apostrophes, or spaces in\na name prior to matching.\n* If needed, Veterans may update their profile with the VA on VA.gov. The updated\ninformation will be available to this API immediately. Additional field-level\nguidance is provided in the schema section of this documentation.\n\nNOTE: In the Sandbox only DOB and ZIP are required to identify the test user.\n" operationId: POST:/status requestBody: content: application/json: schema: $ref: '#/components/schemas/VeteranAttributes' example: first_name: Alfredo last_name: Armstrong birth_date: '1993-06-08' middle_name: M gender: M street_address_line1: 17020 Tortoise St street_address_line2: '' street_address_line3: '' city: Round Rock zipcode: '78664' state: TX country: USA mothers_maiden_name: Smith birth_place_city: Johnson City birth_place_state: MS birth_place_country: USA home_phone_number: 555-555-5555 required: true responses: '200': description: "Confirmation status successfully retrieved.\n\nPossible return values if Veteran is \"NOT CONFIRMED\":\n - ERROR\n - MORE_RESEARCH_REQUIRED\n - NOT_TITLE_38\n - PERSON_NOT_FOUND" content: application/json: schema: $ref: '#/components/schemas/VeteranStatusResponseV2' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/BadRequest' example: title: Bad Request detail: Bad Request code: '400' status: '400' '401': description: Not Authorized content: application/json: schema: $ref: '#/components/schemas/AuthorizationError' example: status: '401' error: Invalid Token. path: /veteran_verification/v2/status '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ForbiddenServerError' example: status: '403' error: Token not granted requested scope. path: /veteran_verification/v2/status '413': description: Payload too large content: application/json: schema: type: object properties: message: type: string example: message: Request size limit exceeded '429': description: Too many requests content: application/json: schema: type: object properties: message: type: string example: message: API rate limit exceeded '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/InternalServerApiError' example: title: Internal server error detail: Internal server error code: '500' status: '500' '502': description: Bad Gateway content: application/json: schema: $ref: '#/components/schemas/InaccessibleServiceDefintionErrorApiError' '503': description: Service Unavailable content: application/json: schema: $ref: '#/components/schemas/BackendServiceApiError_2' '504': description: Gateway Timeout content: application/json: schema: type: object properties: message: type: string example: message: The server took too long to respond security: - sandboxOauth2: - veteran_status.read - productionOauth2: - veteran_status.read /restricted/status: post: tags: - Status summary: Confirm whether an individual is a Title 38 veteran using Social Security number and demographics. description: "Confirm an individual's Title 38 Veteran status according to VA.\nThis endpoint accepts a Social Security number and/or demographic\ninformation for the person to be confirmed and matches it against\nVA records. If there are differences between the data entered and\nthe data on file, a match to a person may not be found. If a\nsuccessful match is identified, Title 38 Veteran status is checked.\n\n- ```\"confirmed\"``` indicates Title 38 Veteran status.\n- ```\"not confirmed\"``` can mean several different things, depending on\nthe following not_confirmed_reason values:\n - ```PERSON_NOT_FOUND```: The person was not found in VA source systems\n with the provided information. Including more demographic data\n for a Veteran increases the likelihood of finding their records\n in VA source systems.\n - ```NOT_TITLE_38```: VA data sources indicate that the person does not\n have Title 38 status.\n - ```MORE_RESEARCH_REQUIRED```: VA cannot confirm the person's Title 38\n status with existing records.\n - ```ERROR```: One or more VA source systems is not available or returned\n an error response.\n\nIf using Social Security number, the following information is required:\n* Social Security number\n* First name\n* Last name\n* Birth date\n\nIf using demographic data, the following information is required:\n* First Name\n* Last Name\n* Birth date\n* Street Address\n* City\n* State\n* Country\n* Zip code\n\nThe following optional information may also be used with Social Security number or\ndemographic data:\n* Middle Name\n* Gender\n* Mother's Maiden Name\n* Home Phone Number\n* Birth Place City\n* Birth Place State\n* Birth Place Country\n\nTips for finding a match if using only demographic data:\n* First and Last Name, Address and Birth date are often essential to uniquely identify a\nVeteran.\n* Home address is recommended, but it may also help to retry the search with\nadditional available addresses when the first attempt is not confirmed.\n* To find a match, it can help to retry with different demographic information, such\nas alternate last names or addresses.\n* It may also help to remove special characters, hyphens, apostrophes, or spaces\nin a name prior to matching.\n\nNOTE: In the Sandbox only birth date and zip code are required to identify the\ntest user.\n" operationId: POST:/restricted/status requestBody: content: application/json: schema: $ref: '#/components/schemas/FederalVeteranAttributes' example: ssn: 796-01-2476 first_name: Alfredo last_name: Armstrong birth_date: '1993-06-08' middle_name: M gender: M street_address_line1: 17020 Tortoise St street_address_line2: '' street_address_line3: '' city: Round Rock zipcode: '78664' state: TX country: USA mothers_maiden_name: Smith birth_place_city: Johnson City birth_place_state: MS birth_place_country: USA home_phone_number: 555-555-5555 required: true responses: '200': description: "Confirmation status successfully retrieved.\n\nPossible return values if Veteran is \"NOT CONFIRMED\":\n - ERROR\n - MORE_RESEARCH_REQUIRED\n - NOT_TITLE_38\n - PERSON_NOT_FOUND" content: application/json: schema: $ref: '#/components/schemas/VeteranStatusResponseV2' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/BadRequest' example: title: Bad Request detail: Bad Request code: '400' status: '400' '401': description: Not Authorized content: application/json: schema: $ref: '#/components/schemas/AuthorizationError' example: status: '401' error: Invalid Token. path: /veteran_verification/v2/restricted/status '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ForbiddenServerError' example: status: '403' error: Token not granted requested scope. path: /veteran_verification/v2/restricted/status '413': description: Payload too large content: application/json: schema: type: object properties: message: type: string example: message: Request size limit exceeded '429': description: Too many requests content: application/json: schema: type: object properties: message: type: string example: message: API rate limit exceeded '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/InternalServerApiError' example: title: Internal server error detail: Internal server error code: '500' status: '500' '502': description: Bad Gateway content: application/json: schema: $ref: '#/components/schemas/InaccessibleServiceDefintionErrorApiError' '503': description: Service Unavailable content: application/json: schema: $ref: '#/components/schemas/BackendServiceApiError_2' '504': description: Gateway Timeout content: application/json: schema: type: object properties: message: type: string example: message: The server took too long to respond security: - sandboxOauth2: - status_restricted.read - productionOauth2: - status_restricted.read components: schemas: VeteranStatusDetails: type: object properties: id: type: string description: Confirmation ICN example: 1012667145V762142 type: type: string example: veteran_status_confirmations attributes: $ref: '#/components/schemas/VeteranStatusAttributes' description: Veteran status confirmation for an individual InternalServerApiError: type: object properties: errors: type: array items: $ref: '#/components/schemas/ApiErrorDetails' example: errors: - title: Internal server error detail: Internal server error code: '500' status: '500' ApiErrorDetails_2: type: object properties: title: type: string example: Error title detail: type: string example: Detailed error message code: type: string example: Error Code status: type: string example: Error Code VeteranStatusAttributes: type: object properties: veteran_status: type: string description: 'Whether the system could confirm the Veteran status of the authorized individual ' enum: - confirmed - not confirmed ServerSoapFaultApiError: type: object properties: errors: type: array items: $ref: '#/components/schemas/ApiErrorDetails' example: errors: - title: Bad Request detail: Bad Request code: '400' status: '400' MissingIcn: type: object properties: errors: type: array items: $ref: '#/components/schemas/ApiErrorDetails' example: errors: - title: Veteran not identifiable. detail: No data found for ID or demographics. code: '404' status: '404' AuthorizationError: type: object properties: status: type: string example: '401' error: type: string example: Invalid token. path: type: string example: /veteran_verification/v2/{endpoint} VeteranStatusResponseV2: required: - data type: object properties: data: $ref: '#/components/schemas/VeteranStatusDetails' BackendServiceApiError_2: type: object properties: errors: type: array items: $ref: '#/components/schemas/ApiErrorDetails_2' example: errors: - title: Service Unavailable detail: Backend Service Unavailable. code: '503' status: '503' BadRequest: type: object properties: errors: type: array items: $ref: '#/components/schemas/ApiErrorDetails_2' example: errors: - title: Bad Request detail: Bad Request code: '400' status: '400' FederalVeteranAttributes: required: - birth_date - first_name - last_name - ssn type: object properties: gender: type: string description: For gender, only 'm' or 'f' will help the search currently. ssn: type: string description: For use by restricted access endpoints only first_name: type: string description: '* Some names may require special handling if a Veteran is not found. * Try removing special characters, such as hyphens, apostrophes, and spaces prior to matching. For example, a submission of ''De''Anna'' can be matched as ''deanna''. * In addition, depending on the handling logic of the front end application updating the VA record, an inquiry with first name of ''Ann-Marie'' would be standardized to ''AnnMarie'' but could be matched against ''AnnMarie'' or ''Ann Marie'' or ''Ann'' or ''Marie''. * Therefore, if a Veteran with a hyphenated name is not found, it may be useful to retry the hyphenated name without the hyphen and together, then separated, then each individual part of the name as in the example with ''Ann-Marie''. * Capitalization does not impede match strength. ' middle_name: type: string last_name: type: string description: '* Some names may require special handling if a Veteran is not found. * Try removing special characters, such as hyphens, apostrophes, and spaces prior to matching. For example, a submission of ''O''leary'' can be matched as ''oleary''. * In addition, depending on the handling logic of the front end application updating the VA record, an inquiry with last name of ''Smith-Jones'' would be standardized to ''SmithJones'' but could be matched against ''SmithJones'' or ''Smith Jones'' or ''Smith'' or ''Jones''. * Therefore, if a Veteran with a hyphenated name is not found, it may be useful to retry the hyphenated name without the hyphen and together, then separated, then each individual part of the name as in the example with ''Smith-Jones''. * Capitalization does not impede match strength.' zipcode: type: string city: type: string state: type: string country: type: string birth_date: type: string format: date street_address_line1: type: string description: 'Address line 1 can accept one or more letters (uppercase or lowercase), digits, spaces, commas, hashes(#), apostrophes(''), periods(.), back slashes(\\), forward slashes(/), or hyphens(-). ' street_address_line2: type: string description: 'Address line 2 can accept one or more letters (uppercase or lowercase), digits, spaces, commas, hashes(#), apostrophes(''), periods(.), back slashes(\\), forward slashes(/), or hyphens(-). ' street_address_line3: type: string description: 'Address line 3 can accept one or more letters (uppercase or lowercase), digits, spaces, commas, hashes(#), apostrophes(''), periods(.), back slashes(\\), forward slashes(/), or hyphens(-). ' home_phone_number: type: string birth_place_city: type: string birth_place_state: type: string birth_place_country: type: string mothers_maiden_name: type: string description: '* This is the schema for the restricted access endpoints (status and disability_rating). * Use the current residence address of the Veteran. * Some unhoused Veterans can use a local USPS, support organization, or other location such as ''the corner of RTE512 and U.S.1''. * Aim to match the input against the Veteran''s demographic information in their VA.gov profile. * Data in the request and the VA record is standardized using the same algorithm prior to matching. If the data is close, and enough fields are provided, it will find the Veteran most of the time; however, some records will have data that is not in sync and may require trying the request again with different addresses, names, or formats. * Alternately, the Veteran may need to update their information with the VA if they are not found. ' BackendServiceApiError: type: object properties: errors: type: array items: $ref: '#/components/schemas/ApiErrorDetails' InaccessibleServiceDefintionErrorApiError: type: object properties: errors: type: array items: $ref: '#/components/schemas/ApiErrorDetails' example: errors: - title: Bad Gateway detail: Upstream Request Error. code: '502' status: '502' ForbiddenServerError: type: object properties: status: type: string example: '403' error: type: string example: Token not granted requested scope. path: type: string example: /veteran_verification/v2/{endpoint} VeteranStatusResponseV1: required: - data type: object properties: data: $ref: '#/components/schemas/VeteranStatusDetails' deprecated: true ApiErrorDetails: type: object properties: title: type: string example: Error title detail: type: string example: Detailed error message code: type: string example: '503' status: type: string example: '503' VeteranAttributes: required: - birth_date - city - country - first_name - last_name - street_address_line1 - zipcode type: object properties: gender: type: string description: For gender, only 'm' or 'f' will help the search currently. first_name: type: string description: '* Some names may require special handling if a Veteran is not found. * Try removing special characters, such as hyphens, apostrophes, and spaces prior to matching. For example, a submission of ''De''Anna'' can be matched as ''deanna''. * In addition, depending on the handling logic of the front end application updating the VA record, an inquiry with first name of ''Ann-Marie'' would be standardized to ''AnnMarie'' but could be matched against ''AnnMarie'' or ''Ann Marie'' or ''Ann'' or ''Marie''. * Therefore, if a Veteran with a hyphenated name is not found, it may be useful to retry the hyphenated name without the hyphen and together, then separated, then each individual part of the name as in the example with ''Ann-Marie''. * Capitalization does not impede match strength. ' middle_name: type: string last_name: type: string description: '* Some names may require special handling if a Veteran is not found. * Try removing special characters, such as hyphens, apostrophes, and spaces prior to matching. For example, a submission of ''O''leary'' can be matched as ''oleary''. * In addition, depending on the handling logic of the front end application updating the VA record, an inquiry with last name of ''Smith-Jones'' would be standardized to ''SmithJones'' but could be matched against ''SmithJones'' or ''Smith Jones'' or ''Smith'' or ''Jones''. * Therefore, if a Veteran with a hyphenated name is not found, it may be useful to retry the hyphenated name without the hyphen and together, then separated, then each individual part of the name as in the example with ''Smith-Jones''. * Capitalization does not impede match strength.' zipcode: type: string city: type: string state: type: string country: type: string birth_date: type: string format: date street_address_line1: type: string description: 'Address line 1 can accept one or more letters (uppercase or lowercase), digits, spaces, commas, hashes(#), apostrophes(''), periods(.), back slashes(\\), forward slashes(/), or hyphens(-). ' street_address_line2: type: string description: 'Address line 2 can accept one or more letters (uppercase or lowercase), digits, spaces, commas, hashes(#), apostrophes(''), periods(.), back slashes(\\), forward slashes(/), or hyphens(-). ' street_address_line3: type: string description: 'Address line 3 can accept one or more letters (uppercase or lowercase), digits, spaces, commas, hashes(#), apostrophes(''), periods(.), back slashes(\\), forward slashes(/), or hyphens(-). ' home_phone_number: type: string birth_place_city: type: string birth_place_state: type: string birth_place_country: type: string mothers_maiden_name: type: string description: '* Use the current residence address of the Veteran. * Some unhoused Veterans can use a local USPS, support organization, or other location such as ''the corner of RTE512 and U.S.1''. * Aim to match the input against the Veteran''s demographic information in their VA.gov profile. * Data in the request and the VA record is standardized using the same algorithm prior to matching. If the data is close, and enough fields are provided, it will find the Veteran most of the time; however, some records will have data that is not in sync and may require trying the request again with different addresses, names, or formats. * Alternately, the Veteran may need to update their information with the VA if they are not found. ' securitySchemes: apikey: type: apiKey name: apikey in: header