POST
/
v1
/
person
/
{personId}
/
document
curl --request POST \
  --url https://qa-api.sbx.solidfi.com/v1/person/{personId}/document \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "CA license",
  "docType": "drivingLicense",
  "documentNumber": "D123456789",
  "expirationDate": "2025-09-08",
  "issuingCountry": "US",
  "issuingState": "CA",
  "name": "Drivers License"
}'
{
  "createdAt": "2023-11-20T07:07:11Z",
  "description": "CA license",
  "docType": "drivingLicense",
  "documentNumber": "D123456789",
  "expirationDate": "2025-09-08",
  "id": "doc-dcb02cc2-84e0-442e-bba8-180c831de552",
  "issuingCountry": "US",
  "issuingState": "CA",
  "modifiedAt": "2023-11-20T07:07:11Z",
  "name": "Drivers License",
  "personId": "per-e6553324-1db8-49a8-a0d3-29132280b838",
  "status": "active",
  "url": "https://v2-qa-solidfi-documents.s3.us-west-2.amazonaws.com/person/e6553324-1db8-49a8-a0d3-29132280b838/dcb02cc2-84e0-442e-bba8-180c831de552?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAVA4MDSJL2TP7AWQL%2F20231120%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20231120T070711Z&X-Amz-Expires=900&X-Amz-Security-Token=FwoGZXIvYXdzELH%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDFswj0%2FaO%2Broi%2BWYWSLIAVrQLNLBcD0JSo3ciro0VfGIsXoYfk8LPg8Q2PQRbpSji1BfncoADSAN5yD3NSyzMX4EP5MOH8xhisxPqSpDL7h3bPRCAzMU2itt46%2BJkpfxcC1gU6uit0uMW5H0m1cvRH3HLvTZ7x6nr5UVmUTsER0kEoczTbLN7o%2FfkyJGXzYv%2BKGOQdk%2BjcccJjd0SALUd7KFOj2MeR8yXDEWma339UT69gDmYSsT84b%2BVz6f4WrINVxkr6%2ByhnCrCfBH8tApJGGj3uggtBDjKIeL7KoGMi0i9UpNJB059u0wGGJT8QU7H8HNYwcKVFf3NekwpCiVMcUfzLuiIeTdE3SS1YA%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=cbfd4604ce58b2888285828b5ee0eea0328856c65e0656312b6bd19f8219a977"
}

Headers

sd-api-key
string
Example:

"{{sd-api-key}}"

sd-person-id
string
Example:

"{{sd-person-id}}"

Path Parameters

personId
string
required

Body

application/json
description
string
Example:

"CA license"

docType
string
Example:

"drivingLicense"

documentNumber
string
Example:

"D123456789"

expirationDate
string
Example:

"2025-09-08"

issuingCountry
string
Example:

"US"

issuingState
string
Example:

"CA"

name
string
Example:

"Drivers License"

Response

201 - application/json
Create a Document
createdAt
string
Example:

"2023-11-20T07:07:11Z"

description
string
Example:

"CA license"

docType
string
Example:

"drivingLicense"

documentNumber
string
Example:

"D123456789"

expirationDate
string
Example:

"2025-09-08"

id
string
Example:

"doc-dcb02cc2-84e0-442e-bba8-180c831de552"

issuingCountry
string
Example:

"US"

issuingState
string
Example:

"CA"

modifiedAt
string
Example:

"2023-11-20T07:07:11Z"

name
string
Example:

"Drivers License"

personId
string
Example:

"per-e6553324-1db8-49a8-a0d3-29132280b838"

status
string
Example:

"active"

url
string
Example:

"https://v2-qa-solidfi-documents.s3.us-west-2.amazonaws.com/person/e6553324-1db8-49a8-a0d3-29132280b838/dcb02cc2-84e0-442e-bba8-180c831de552?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAVA4MDSJL2TP7AWQL%2F20231120%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20231120T070711Z&X-Amz-Expires=900&X-Amz-Security-Token=FwoGZXIvYXdzELH%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaDFswj0%2FaO%2Broi%2BWYWSLIAVrQLNLBcD0JSo3ciro0VfGIsXoYfk8LPg8Q2PQRbpSji1BfncoADSAN5yD3NSyzMX4EP5MOH8xhisxPqSpDL7h3bPRCAzMU2itt46%2BJkpfxcC1gU6uit0uMW5H0m1cvRH3HLvTZ7x6nr5UVmUTsER0kEoczTbLN7o%2FfkyJGXzYv%2BKGOQdk%2BjcccJjd0SALUd7KFOj2MeR8yXDEWma339UT69gDmYSsT84b%2BVz6f4WrINVxkr6%2ByhnCrCfBH8tApJGGj3uggtBDjKIeL7KoGMi0i9UpNJB059u0wGGJT8QU7H8HNYwcKVFf3NekwpCiVMcUfzLuiIeTdE3SS1YA%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=cbfd4604ce58b2888285828b5ee0eea0328856c65e0656312b6bd19f8219a977"