forms

Create Opportunity Form

Create a new form instance in an opportunity.

Notes:

  • templateId is required.
  • name is optional; defaults to the template's name.
  • Opportunities cannot be assigned to a phase, so there is no phaseInstanceId field on this endpoint.
post/opportunities/{opportunity_id}/forms

Request

  • Base URL: https://api.coperniq.io/v1
  • URL: https://api.coperniq.io/v1/opportunities/{opportunity_id}/forms
  • Auth: API key in header x-api-key

Path parameters

opportunity_idinteger required

Opportunity identifier

Request body

templateIdinteger required

Template to use for the form

namestring

Optional. Name for the created form. Defaults to the template's name.

Response

Form created successfully

idinteger

Created form identifier

templateIdinteger
opportunityIdinteger
typestring
statusstring
namestring
createdAtstring date-time
updatedAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.