Add Attachment

Allow customer to add attachment that is under personal docs.

  • unique_identifier: Choose either email/staff_id as unique identifier

  • access_type: Both/Company

  • file_type: file resource/url

post

Authentication: required

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
customer_idinteger · int64Required
unique_identifierstringRequired
emailstring · nullableRequired
staff_idstring · nullableOptional
access_typestringOptionalDefault: Both
file_typestringOptional
file_urlstringOptional
filestring · binary · nullableOptional
Responses
chevron-right
200

Success!

application/json
idinteger · int64OptionalDefault: 74706
file_urlstringOptionalDefault: https://marcopayroll-production.s3.ap-southeast-1.amazonaws.com/doc/915eeb2c-a520-4a4d-918f-5332443e24a7-1763023798501.pdf?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAR7OVYMK3MWXZDBXJ%2F20251113%2Fap-southeast-1%2Fs3%2Faws4_request&X-Amz-Date=20251113T084958Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1800&X-Amz-Signature=a5f8e107af91140641160f53c33463f899f21fc255b71488c7d55de9c0fcf44b
file_namestringOptionalDefault: Passport .pdf
file_typestringOptionalDefault: pdf
post
/add-ee-attachment

Last updated