Get user's docs
This interface is used to get worker's documents, include general docs, passport copy, resume copy, company required docs and country specific docs.
Get user's docs
GET /get-ee-docs
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Required
Description
email
string
Account email of the user
customer_id
number
The unique Marco identifier for your company
Parameter Example
{
"customer_id": "1",
"email": "[email protected]"
}Response
[
{
"id": 16745,
"file_name": "marco logo.png",
"file_type": "png",
"file_url": "https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/img/4ba753a7-ed25-48e6-8046-d4439031699f-1724308656862.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20240924%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240924T085130Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Signature=04a71d5bc2ab38282f6c995e39072e294390bebeb293ac46721d871d4851eab7",
"type": "General Doc"
},
{
"id": 16746,
"file_name": "4zH9eZSCQ4_vm8b3_UGsQ_x3cdt.png",
"file_type": "png",
"file_url": "https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/img/57a5f5c1-3cdb-48fe-8c51-56ac0552f7ee-1724308848057.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20240924%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240924T085130Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Signature=372c56dcf1e464f25e6232cad381c82ba3ae5579d351207d7418b119de396e5e",
"type": "General Doc"
},
{
"id": 16854,
"file_name": "MARCO.png",
"file_type": "png",
"file_url": "https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/img/b6d3f1ff-ffce-43ed-83d7-2be6bf3666fb-1724404647584.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20240924%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240924T085130Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Signature=32f2e981dd0d2e43f5c2269029e7d82ccaf2b84db1e06808cac7b03b68b5399f",
"type": "General Doc"
},
{
"id": 18405,
"file_name": "New Microsoft Word Document.docx",
"file_type": "docx",
"file_url": "https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/doc/46c039d1-1059-4470-839e-bb8494f4ab7b-1725605592858.docx?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20240924%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240924T085130Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Signature=7ba5f41e29692be9e12fb918ddba0fdc258582866213dcf62813c781fdc5fb62",
"type": "General Doc"
},
{
"id": 18406,
"file_name": "New Microsoft Word Document.docx",
"file_type": "docx",
"file_url": "https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/doc/2358677f-703d-4904-8715-845de32ee728-1725605705383.docx?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20240924%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240924T085130Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Signature=2410261b493000f2bca3a164b7363a4ef7d217503875e122398b8693f9cab4d9",
"type": "General Doc"
},
{
"id": 18795,
"file_name": "qrcode_for_gh_d210e8409f6d_860.jpg",
"file_type": "jpg",
"file_url": "https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/img/11dd6cdc-92a3-41c2-88e2-65565c346b7c-1726214431953.jpg?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20240924%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240924T085130Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Signature=d031ec0e87b2c55ad31bb519afac8d6cf3c5ed8a87933942ddfa06cffa371547",
"type": "Passport Doc"
},
{
"id": 19280,
"file_name": "New Microsoft Word Document.docx",
"file_type": "docx",
"file_url": "https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/doc/fcd0d365-ea96-4b61-8e76-52706cbb6adb-1727167888103.docx?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20240924%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20240924T085130Z&X-Amz-SignedHeaders=host&X-Amz-Expires=600&X-Amz-Signature=30eb59dbdfecbe2f468a498a3b62263713b6563ee1223fceb1987c92d54b7a86",
"type": "Resume Doc"
}
]{
"error": "Invalid request"
}Last updated