Actions508
- Activities Actions
- Approval Policies Actions
- Approval Policy Assignments Actions
- Approval Workflows Actions
- Attachments Actions
- Automatic Invoicing Rules Actions
- Bankaccounts Actions
- Bills Actions
- Boards Actions
- Bookings Actions
- Comments Actions
- Companies Actions
- Contact Entries Actions
- Contracts Actions
- Custom Domain Actions
- Custom Fields Actions
- Custom Field Options Actions
- Custom Field Sections Actions
- Dashboards Actions
- Deal Cost Rates Actions
- Deal Statuses Actions
- Deals Actions
- Deleted Items Actions
- Discussions Actions
- Document Styles Actions
- Document Types Actions
- Emails Actions
- Entitlements Actions
- Events Actions
- Exchange Rates Actions
- Expenses Actions
- Filters Actions
- Holiday Calendars Actions
- Holidays Actions
- Integrations Actions
- Invitations Actions
- Invoice Attributions Actions
- Invoice Templates Actions
- Invoices Actions
- Line Items Actions
- Lost Reasons Actions
- Memberships Actions
- Notifications Actions
- Organization Memberships Actions
- Organization Subscriptions Actions
- Organizations Actions
- Overheads Actions
- Pages Actions
- Pageversions Actions
- Passwords Actions
- Payment Reminder Sequences Actions
- Payments Actions
- People Actions
- Permission Sets Actions
- Pipelines Actions
- Placeholder Usages Actions
- Placeholders Actions
- Prices Actions
- Project Assignments Actions
- Projects Actions
- Pulses Actions
- Purchase Orders Actions
- Rate Cards Actions
- Report Categories Actions
- Reports Actions
- Revenue Distributions Actions
- Salaries Actions
- Sections Actions
- Service Assignments Actions
- Service Types Actions
- Service Type Assignments Actions
- Services Actions
- Sessions Actions
- Subsidiaries Actions
- Survey Fields Actions
- Survey Field Options Actions
- Survey Responses Actions
- Surveys Actions
- Tags Actions
- Task Lists Actions
- Taskdependency Actions
- Tasks Actions
- Taxrates Actions
- Team Memberships Actions
- Teams Actions
- Time Entries Actions
- Time Entries - Bulk Actions
- Time Entry Versions Actions
- Time Tracking Policies Actions
- Timers Actions
- Timesheet Reports Actions
- Timesheets Actions
- Todos Actions
- Users Actions
- Webhook Logs Actions
- Webhooks Actions
- Widgets Actions
- Workflow Statuses Actions
- Workflows Actions
Contracts → Get contracts
AI-generatedSummary
Retrieve a list of contracts from Productive, optionally applying pagination and filter criteria.
Inputs
- Return All — Choose whether to return all contract records or limit to a specific number and page.
- Limit — Specify the maximum number of contract records to return when not returning all.
- Page Number — Specify the page number to fetch when limiting results.
- Page Size — Set how many contracts to include per page (between 1 and 200).
- Filter Query String — Provide a raw filter query string to override individual filters and filter the contract results.
- Filters — Add one or more field filters (such as by contract interval ID, ends on date, ID, next occurrence on, or starts on date) with operations like equals, contains, greater than, etc. Ignored if a raw filter query string is provided.
Output shape
a list of contract records as JSON objects
If Return All is true, all matching contracts are returned. Otherwise, results are paginated according to Limit, Page Number, and Page Size. Filtering is applied based on either the Filter Query String or the specified Filters. Errors for individual items can be returned in the output if Continue On Fail is enabled.
Examples
Example 1: Get first page with up to 50 contracts containing a specific contract interval ID
Return All disabled, Limit 50, Page Number 1, Filter on Contract Interval ID equals a given value
Example 2: Retrieve all contracts starting after a certain date
Return All enabled, Filter Query String or Filters set to 'starts_on' greater than the date value