Process a Business Card
POST/api/v7/partner/business-cards
Veryfi's Process a Business Card endpoint allows you to submit and extract data from unstructured documents into valuable business insights. The Process a Business Card endpoint enables you to submit supported file formats and retrieve extracted data in JSON format.
See Business Card FAQ for more information such as common business card fields, and how Veryfi handles them.
Request
- application/json
- multipart/form-data
Body
Used to upload a document via base64 encoded string, could be raw or data URI scheme. This is the least effective way to upload a document for processing. See file_urls
or uploading zip files.
A URL to a publicly accessible document to be sent to Veryfi for processing.
An array of URLs to publicly accessible documents to be sent to Veryfi for processing.
A path to a file in an S3 bucket, e.g. 'some/receipt.jpg
An S3 bucket for 'package_path', e.g. 'documents'.
An optional filename. Useful to determine file type.
Default value: false
Delete this business_card from Veryfi after data has been extracted
Body
Used to upload a document via base64 encoded string, could be raw or data URI scheme. This is the least effective way to upload a document for processing. See file_urls
or uploading zip files.
A URL to a publicly accessible document to be sent to Veryfi for processing.
An array of URLs to publicly accessible documents to be sent to Veryfi for processing.
A path to a file in an S3 bucket, e.g. 'some/receipt.jpg
An S3 bucket for 'package_path', e.g. 'documents'.
An optional filename. Useful to determine file type.
A binary file. Submitting zipped documents through this parameter is the fastest way to process any document.
Default value: false
Delete this business_card from Veryfi after data has been extracted
Responses
- 201
- 400
- 404
- 429
- 499
- 503
- default
Processed Business Card response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty
and <= 2083 characters
A signed URL to access the auto-generated PDF created from the submitted document. This URL expires 15 minutes after the response object is returned and is resigned during every GET request.
The unique number created to identify the document.
The text returned from converting the document into a machine-readable text format.
The name of the business found on the document.
Possible values: non-empty
and <= 2083 characters
A signed URL to the logo for the organization found on the document. The URL expires 15 minutes after the Document Response is returned and is re-assigned on every GET request.
The full name of the individual found on the document.
parsed_name object
The last name or found on the document.
The first name found on the document.
The job title of the person found on the document.
The email address found on the document.
The address found on the document.
parsed_address object
The settlement including cities, towns, villages, hamlets, localities, etc.
The sovereign nations and their dependent territories, anything with an ISO-3166 code.
The detected ISO 3166-1 alpha-2 code for a given country.
The postal code used for mail sorting
A first-level administrative division. Scotland, Northern Ireland, Wales, and England in the UK are mapped to "state" as well
A sum of house_number
road, building, unit.
The venue name e.g. "Brooklyn Academy of Music", and building names e.g. "Empire State Building".
Usually refers to the external (street-facing) building number. In some countries this may be a compound, hyphenated number, which also includes an apartment number, or a block number (a la Japan).
Street name(s)
An apartment, unit, office, lot, or other secondary unit designator.
The expressions indicating a floor number e.g. "3rd Floor", "Ground Floor", etc.
Numbered/lettered staircase
Numbered/lettered entrance
The post office box, typically found in non-physical (mail-only) addresses.
An unofficial neighborhood name like "Harlem", "South Bronx", or "Crown Heights".
The boroughs or districts within a city that serve some official purpose e.g. "Brooklyn" or "Hackney" or "Bratislava IV".
Named islands e.g. "Maui"
Usually a second-level administrative division or county.
Informal subdivision of a country without any political status.
Only used for appending "West Indies" after the country name, a pattern frequently used in the English-speaking Caribbean e.g. "Jamaica, West Indies".
The mobile number found on the document.
The phone number found on the document.
The fax number found on the document.
The web page found on the document.
{
"pdf_url": "string",
"id": 0,
"text": "string",
"organization": "string",
"logo_url": "string",
"person": "string",
"parsed_name": {
"family_name": "string",
"given_name": "string"
},
"title": "string",
"email": "string",
"address": "string",
"parsed_address": {
"city": "string",
"country": "string",
"country_alpha_2": "string",
"postcode": "string",
"state": "string",
"street_address": "string",
"house": "string",
"house_number": "string",
"road": "string",
"unit": "string",
"level": "string",
"staircase": "string",
"entrance": "string",
"po_box": "string",
"suburb": "string",
"city_district": "string",
"island": "string",
"state_district": "string",
"country_region": "string",
"world_region": "string"
},
"mobile": "string",
"phone": "string",
"fax": "string",
"web": "string"
}
User error
- application/json
- Schema
- Example (from schema)
Schema
- COULDNT_DOWNLOAD_FILE_FROM_PROVIDED_URL
- RECEIVED_EMPTY_OR_MISSING_DATA
Default value: fail
Default value: Couldn't download file from provided url.
Default value: [object Object]
Default value: fail
Default value: Received empty or missing data
{}
Not found
- application/json
- Schema
- Example (from schema)
Schema
- NOT_FOUND
- DOCUMENT_NOT_FOUND
Default value: fail
Default value: Not found.
Default value: fail
Default value: Document Not Found
{}
Rate limit
- application/json
- Schema
- Example (from schema)
Schema
- YOU_HAVE_BEEN_RATE_LIMITED
Default value: fail
Default value: You have been rate limited
Default value: [object Object]
{}
User error
- application/json
- Schema
- Example (from schema)
Schema
- CLIENT_CLOSED_REQUEST_OR_LOST_CONNECTION
Default value: fail
Default value: Client closed request or lost connection
{}
Service is temporaly unavailable
- application/json
- Schema
- Example (from schema)
Schema
- SERVICE_IS_TEMPORALY_UNAVAILABLE_PLEASE_TRY_AGAIN_LATER
Default value: fail
Default value: Service is temporaly unavailable. Please try again later
{}
OperationStatus
- application/json
- Schema
- Example (from schema)
Schema
Default value: fail
{
"error": "string",
"details": [
{}
],
"status": "fail"
}