Agreements

Accept an agreement via clickwrap

Record clickwrap acceptance for the active agreement version and apply downstream gating.

post/agreements/{agreement_key}/accept

Request

  • Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.presscart.com/agreements/{agreement_key}/accept
  • Auth: HTTP bearer

Path parameters

agreement_keystring required
Example:client_nda

Request body

team_idstring uuid required
authority_confirmedboolean
sourcestring

Example request

{
  "team_id": "91b624db-7976-4133-a045-2ce56aca9fae",
  "authority_confirmed": true,
  "source": "media_list_gate"
}

Response

Agreement accepted successfully

is_acceptedboolean required
pdf_urlstring nullable required

Example response

{
  "template": {
    "key": "client_nda",
    "name": "Presscart Mutual NDA",
    "title": "Presscart Mutual Non-Disclosure Agreement",
    "content_markdown": "## Electronic Acceptance Notice\n\nFull agreement text goes here.",
    "acceptance_label": "I have authority to bind my company and agree to the Presscart Mutual NDA.",
    "scope": "CLIENT",
    "version": 1,
    "is_active": true,
    "requires_authority_confirmation": true
  },
  "acceptance": {
    "signer_name": "Jane Doe",
    "signer_email": "jane@example.com",
    "signer_ip": "203.0.113.25",
    "signer_user_agent": "Mozilla/5.0",
    "authority_confirmed": true,
    "metadata": {
      "agreement_key": "client_nda",
      "source": "media_list_gate"
    }
  },
  "is_accepted": true,
  "pdf_url": "https://files.example.com/Presscart_NDA.pdf?signature=abc"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.