Proofs access using API.

Using API, https://api.smartsheet.com/2.0/sheets/{sheetid}/proofs I get error

    "errorCode": 4000,

    "message": "An unexpected error has occurred. Please contact the Support team at https://help.smartsheet.com/contact for assistance.",

    "refId": "qtifuqjgvlkz"


However, i can get list of attachments using

https://api.smartsheet.com/2.0/sheets/{sheetid}/attachments and loop for "parentType": "PROOF" and based on the partenid, i can get the proofs detials using https://api.smartsheet.com/2.0/sheets/{sheetid}/proofs/{proofid} & download the file using proofRequestUrl.

However, I am unable to find the RowID to tie it back. We need to downloads to local app and appreciate any help.

Is this the approach? Any guidance will be helpful.

Answers

  • Genevieve P.
    Genevieve P. Employee Admin

    Hi @Shan Ramachandran

    You're correct, currently getting Proof data from sheets/{sheetid}/proofs  or sheets/{sheetid}/proofs/{proofid} won't contain the RowID as part of the Proof Object.

    However you can gather this information by using GET Sheet and adding ?include=proofs to return proofs for each row:

    https://api.smartsheet.com/2.0/sheets/{sheetid}?include=proofs

    Let me know if this works for you!

    Cheers,

    Genevieve