Asset Upload
Overview
This endpoint allows you to upload required documents, such as government IDs, business registration documents, and bank statements, as part of the verification process. Successful uploads return a filename that you must include in your subsequent verification request.
Host: https://api.bive.ai
Steps
1. Prepare Document
Ensure the document is in an accepted format (e.g., PDF, JPG, PNG)
Verify the file size is within the allowed (5MB) limit
2. Make Upload Request
Send a POST request to the upload endpoint (
https://api.bive.ai/identity/upload
)Set the enctype to
form/multipart-data
Include any other required parameters (see "Request Body")
Request Body
gov_id
File (image/png, image/jpeg)
Note: International passport, Drivers license, and State government ID are the only acceptable government IDs.
selfie
File (image/png, image/jpeg)
Note: The photo must only show one person with their face clearly visible. It is required that you only submit a trusted photo. Results will be inaccurate if you submit a fraudulent photo.
account_statement
File (application/pdf)
Note: The expected document is a business bank account statement.
biz_reg
File (application/pdf)
Note: The expected document is a business registration document that shows the business name, tax ID and business address.
Example Request (using curl)
Receive Filename
Upon successful upload, the API will return a JSON response containing the generated filename.
Sample Response Body
3. Save Filename
Save the returned filename
4. Use Filename in Verification Request
Include the saved filename in the appropriate field of your verification request
Sample Usage in Person Verification
Response Details
Successful Response (200 OK):
JSON object with a filename field
Error Response:
JSON object with an error field containing an error message and/or code
File Type and Size Limits
Accepted file types: PDF, JPG, PNG
Maximum file size: 5MB
Error Handling
400 Bad Request: Invalid file type or size
500 Internal Server Error: Server-side error during upload
Security Considerations
Uploaded documents are stored securely
Sensitive information is handled with appropriate security measures
Documents and verifications are automatically deleted after 30 days
Last updated
Was this helpful?