Common Paper

App · 19 actions

Find agreements, templates, agreement history and account details in Common Paper.

Actions

ActionWhat it does
Get agreementRead detailed terms and status for an agreement.
Get current userRead the user associated with the API key.
Get custom templateRead a custom agreement template in the organization.
Get custom termRead a reusable custom agreement term.
Get invitationRead one invitation.
Get organizationRead one Common Paper organization.
Get templateRead one agreement template and its terms.
Get userRead one user in the organization.
List agreement historyRead the history of one agreement.
List agreement statusesRead the available agreement statuses.
List agreement typesRead the available agreement types.
List agreementsFind agreements by date, type, status or recipient.
List custom templatesRead custom agreement templates in the organization.
List custom termsRead the reusable custom agreement terms.
List invitationsFind invitations by status or recipient email.
List organization agreement historyRead recent agreement events across the organization.
List organizationsRead organizations accessible to this API key.
List templatesRead the agreement templates available to the organization.
List usersRead users in the organization and filter by email.

Get agreement

Read detailed terms and status for an agreement.

Inputs

IdidtextRequired
The UUID of the resource.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": {
      "attributes": {
        "confidentiality_period": 1,
        "recipient_email": "example",
        "recipient_name": "example",
        "recipient_organization": "example",
        "sender_organization": "example",
        "sender_signer_email": "example",
        "sender_signer_name": "example",
        "term": 1
      }
    }
  }
}

Get current user

Read the user associated with the API key.

Inputs

None.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": {
      "attributes": {
        "created_at": "example",
        "email": "example",
        "email_verified": false,
        "id": "example",
        "name": "example",
        "organization_id": "example",
        "organization_name": "example",
        "role": "example",
        "title": "example",
        "updated_at": "example"
      },
      "id": "example",
      "type": "example"
    }
  }
}

Get custom template

Read a custom agreement template in the organization.

Inputs

IdidtextRequired
The UUID of the custom template.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": {
      "attributes": {
        "created_at": "example",
        "current_definition": "example",
        "current_version_number": 1,
        "custom_term_id": "example",
        "name": "example",
        "organization_id": "example",
        "updated_at": "example"
      },
      "id": "example",
      "type": "example"
    }
  }
}

Get custom term

Read a reusable custom agreement term.

Inputs

IdidtextRequired
The UUID of the custom terms.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": {
      "attributes": {
        "body": "example",
        "created_at": "example",
        "current_version_number": 1,
        "name": "example",
        "organization_id": "example",
        "term_type": "example",
        "updated_at": "example"
      },
      "id": "example",
      "type": "example"
    }
  }
}

Get invitation

Read one invitation.

Inputs

IdidtextRequired
The UUID of the invitation.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": {
      "attributes": {
        "access": "example",
        "created_at": "example",
        "email": "example",
        "organization_id": "example",
        "source_email": "example",
        "status": "example",
        "updated_at": "example",
        "user_id": "example"
      },
      "id": "example",
      "type": "example"
    }
  }
}

Get organization

Read one Common Paper organization.

Inputs

IdidtextRequired
The UUID of the resource.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": {
      "attributes": {
        "created_at": "example",
        "id": "example",
        "name": "example",
        "updated_at": "example"
      },
      "id": "example",
      "type": "example"
    }
  }
}

Get template

Read one agreement template and its terms.

Inputs

IdidtextRequired
The UUID of the resource.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": {
      "attributes": {
        "agreement_type": "example",
        "confidentiality_period": 1,
        "created_at": "example",
        "name": "example",
        "term": 1,
        "updated_at": "example"
      },
      "id": "example",
      "links": {
        "template_url": "example"
      },
      "standard_version": "example",
      "type": "example"
    }
  }
}

Get user

Read one user in the organization.

Inputs

IdidtextRequired
The UUID of the resource.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": {
      "attributes": {
        "created_at": "example",
        "email": "example",
        "email_verified": false,
        "id": "example",
        "name": "example",
        "role": "example",
        "title": "example",
        "updated_at": "example"
      },
      "id": "example",
      "type": "example"
    }
  }
}

List agreement history

Read the history of one agreement.

Inputs

IdidtextRequired
The UUID of the resource.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": []
  }
}

List agreement statuses

Read the available agreement statuses.

Inputs

None.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": []
  }
}

List agreement types

Read the available agreement types.

Inputs

None.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": []
  }
}

List agreements

Find agreements by date, type, status or recipient.

Inputs

Page numberpage_numbernumber
Page number to retrieve. Defaults to 1.
Page sizepage_sizenumber
Number of records per page. Defaults to 15.
Filter status eqfilter_status_eqtext
Filter by exact status (e.g. draft, sent, signed, voided_by_sender, expired, declined).
Filter agreement type eqfilter_agreement_type_eqtext
Filter by exact agreement type. Values are case-sensitive (e.g. "CSA", not "csa"); `list-agreement-types` returns the valid values.
Filter recipient email eqfilter_recipient_email_eqtext
Filter by the recipient's exact email address.
Filter recipient email contfilter_recipient_email_conttext
Filter agreements where the recipient email contains the given value.
Filter created at gteqfilter_created_at_gteqdate and time
Filter agreements created on or after this date (ISO 8601).
Filter created at lteqfilter_created_at_lteqdate and time
Filter agreements created on or before this date (ISO 8601).
Filter recipient organization contfilter_recipient_organization_conttext
Filter agreements where the recipient's company name contains the given value (case-insensitive).
Filter recipient name contfilter_recipient_name_conttext
Filter agreements where the recipient's name contains the given value (case-insensitive).
Filter sender organization contfilter_sender_organization_conttext
Filter agreements where the sender's company name contains the given value (case-insensitive).
Filter sent date gteqfilter_sent_date_gteqdate and time
Filter agreements sent on or after this date (ISO 8601).
Filter sent date lteqfilter_sent_date_lteqdate and time
Filter agreements sent on or before this date (ISO 8601).
Filter all signed date gteqfilter_all_signed_date_gteqdate and time
Filter agreements fully signed on or after this date (ISO 8601).
Filter all signed date lteqfilter_all_signed_date_lteqdate and time
Filter agreements fully signed on or before this date (ISO 8601).
Filter end date gteqfilter_end_date_gteqdate
Filter agreements that end on or after this date (YYYY-MM-DD).
Filter end date lteqfilter_end_date_lteqdate
Filter agreements that end on or before this date (YYYY-MM-DD).
Sortsorttext
Comma-separated agreement fields to sort by. Prefix a field with `-` for descending, e.g. `end_date` or `-all_signed_date`.
Fullfulltrue/false
When true, list responses include type-specific nested attributes (such as `csa`, `csa_order_form`, `dpa`, and other agreement-type sub-models) and the `additional_signers` co-signer list. Defaults to false. For CSA fees, check `standard_version` first - see the server instructions for which fee fields apply.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": []
  }
}

List custom templates

Read custom agreement templates in the organization.

Inputs

Page numberpage_numbernumber
Page number to retrieve. Defaults to 1.
Page sizepage_sizenumber
Number of records per page. Defaults to 15.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": []
  }
}

List custom terms

Read the reusable custom agreement terms.

Inputs

Page numberpage_numbernumber
Page number to retrieve. Defaults to 1.
Page sizepage_sizenumber
Number of records per page. Defaults to 15.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": []
  }
}

List invitations

Find invitations by status or recipient email.

Inputs

Filter status eqfilter_status_eqtext
Filter invitations by status.One of: pending, accepted, declined.
Filter access eqfilter_access_eqtext
Filter invitations by access level.One of: admin, standard.
Filter source email eqfilter_source_email_eqtext
Filter invitations by the inviter's email.
Page numberpage_numbernumber
Page number to retrieve. Defaults to 1.
Page sizepage_sizenumber
Number of records per page. Defaults to 30.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": []
  }
}

List organization agreement history

Read recent agreement events across the organization.

Inputs

Page numberpage_numbernumber
Page number to retrieve. Defaults to 1.
Page sizepage_sizenumber
Number of records per page. Defaults to 15.
Filter agreement id eqfilter_agreement_id_eqtext
Filter history events for a specific agreement by its UUID.
Filter created at gteqfilter_created_at_gteqdate and time
Filter history events on or after this date (ISO 8601).
Filter created at lteqfilter_created_at_lteqdate and time
Filter history events on or before this date (ISO 8601).

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": []
  }
}

List organizations

Read organizations accessible to this API key.

Inputs

Page numberpage_numbernumber
Page number to retrieve. Defaults to 1.
Page sizepage_sizenumber
Number of records per page. Defaults to 30.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": []
  }
}

List templates

Read the agreement templates available to the organization.

Inputs

Page numberpage_numbernumber
Page number to retrieve. Defaults to 1.
Page sizepage_sizenumber
Number of records per page. Defaults to 15.
Fullfulltrue/false
When true, list responses include type-specific attributes and nested objects (such as `governing_law_region` and `template_csa_order_form`). Defaults to false.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": []
  }
}

List users

Read users in the organization and filter by email.

Inputs

Filter email eqfilter_email_eqtext
Filter users by exact email address.
Filter email contfilter_email_conttext
Filter users where the email contains the given value.

Outputs

dataobject
The response from Common Paper.
Example output
{
  "data": {
    "data": []
  }
}

On this page