Download custom terms PDF

Parameters


CampaignId required

The unique identifier of the program (formerly known as campaigns) that you have partnered with.


TermsId required

The Termsid can be found in the TermsPdfUri result when Retrieving a contract.

Returns


Returns the specified custom terms of a contract as a downloaded file in PDF format.

Example Request


curl 'https://api.impact.com/Mediapartners/<AccountSID>/Campaigns/<CampaignId>/CustomTerms/<TermsId>/Download' \
  -X GET \
  -u '<AccountSID>:<AuthToken>' \
  -H 'Accept: application/pdf' \
  -o 'CustomTerms.pdf'