cURL
curl --request GET \ --url https://sandbox.finhub.cloud/api/v2.1/organization/documents/getByPurpose/{purpose}/{organizationId} \ --header 'X-Forwarded-For: <x-forwarded-for>'
{ "success": true, "message": "<string>", "data": [ { "id": "<string>", "documentType": "<string>", "documentNumber": "<string>", "issuingCountry": "<string>", "issueDate": "2022-03-10T00:00:00.000Z", "expiryDate": "2022-03-10T00:00:00.000Z", "purpose": "<string>", "status": "<string>", "fileUrl": "<string>", "fileName": "<string>", "fileType": "<string>", "fileSize": "<string>", "uploadedAt": "2022-03-10T00:00:00.000Z" } ] }
Get organization documents by purpose and organization ID
Forwarded client IP address
Client user agent information
Tenant identifier for multi-tenant operations
OK
The response is of type object.
object