Developers
Set your API contextPick a region and space ID once. Every sample fills in your base URL.
Where do I find these?

In Coevera: open your space's API application and choose Show Access. It shows the space ID and the base URL, whose host starts with your region.

From the API: if you know the space ID, the discovery endpoint GET /api/discovery/spaces/{space_id} returns its region and base URLs, without credentials.

Only the region and space ID are kept, in this browser. Never paste a key or password here.

More in the quickstart

GraphQLRepositoriesonlineForm

entities.onlineForm

Read online form records with the onlineForm repository, and change them with the online form mutations. Same records as the REST OnlineForms entity.

Queries

Fields of entities { onlineForm { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
OnlineFormEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[OnlineFormEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: OnlineFormFilterInput, orderBy: [OnlineFormOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[OnlineFormEntity!]!
QUERYgetByCriteria(filter: OnlineFormFilterInput, orderBy: [OnlineFormOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
OnlineFormEntityConnection
QUERYgetChangedFieldsSinceRevision(id: UUID!, revision: Int!)
Returns the ids of the fields of a record that changed after the given revision. Returns an empty list for entities without change tracking.
[UUID!]!
QUERYgetBySession(includedIds: [UUID!]!, excludedIds: [UUID!]!, sessionId: String!, before: String, after: String, first: Int, last: Int)
Returns a page of records selected in a list or report: all records of the given result plus the explicitly included ids, minus the excluded ids.
OnlineFormEntityConnection
QUERYgetByIdFormatted(id: UUID!, fieldIds: [UUID!])
Returns the values of a record's fields formatted for display, keyed by field id.
JSONString
QUERYgetDownloadUrl(onlineFormType: UUID!, name: String!, filter: OnlineFormFilterInput, days: Int)
Exports the submission log of an online form to a zipped text file and returns a URL to download it.
String!

Mutations

KindMutationDoesReturns
MUTATIONcreateOnlineForm(input: CreateOnlineFormInput!, validationLevel: [ValidationLevel!])Create one recordCreateOnlineFormPayload
MUTATIONupdateOnlineForm(input: UpdateOnlineFormInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateOnlineFormPayload
MUTATIONbulkUpdateOnlineForm(input: [CreateOrUpdateOnlineFormInput!]!, deleteInput: [DeleteOnlineFormInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateOnlineFormPayload
MUTATIONdeleteOnlineForm(input: DeleteOnlineFormInput!)Soft-deleteDeleteOnlineFormPayload

Types

The types this repository uses, each with its fields and their descriptions. Types several repositories share, such as PageInfo and the filter fields, are in the types index.

OnlineFormEntity object 43 fields: customFields, isDeleteProtected, id, …

Submission (response) of an online form, with the answers and the records it created or updated.

FieldTypeDescription
customFieldsJSONString! (1 args)Values of the record's custom fields as a JSON object keyed by custom field apiName (camelCase).
isDeleteProtectedBoolean!True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only.
idID!Unique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
currencyExchangeRatesListCurrencyExchangeRatesListEntityCurrency exchange rate list applied to product line-items at submission time.
emailEmailEntityEmail submitted with the response, used for identification or response notifications.
onlineFormTypeOnlineFormTypeEntityOnline form definition this submission belongs to.
productCurrencyCurrencyEntityCurrency selected by the respondent for product line-items, when the form contains products.
productPriceListProductPriceListEntityProduct price list selected by the respondent, when the form contains products.
currencyExchangeRatesListIdIDId of the currency exchange rate list applied to product line items at submission time.
emailIdIDId of the linked email record, when available.
fieldIdsJSONString!Ids of the fields included in the form when this submission was captured, as a JSON array of field ids (UUIDs).
onlineFormTypeIdID!Id of the online form definition.
productCurrencyIdIDId of the selected currency.
productPriceListIdIDId of the selected price list.
statusProcessStatusEnumOverall result of processing the submission: the most severe status among its activity log lines, Error when a step failed.
revisionIntRevision when entity was lastly changed.
accountRelationsOnlineFormRelationEntityConnection (8 args)Accounts the submission was linked to.
contactRelationsOnlineFormRelationEntityConnection (8 args)Contacts the submission was linked to.
leadRelationsOnlineFormRelationEntityConnection (8 args)Leads the submission was linked to.
opportunityRelationsOnlineFormRelationEntityConnection (8 args)Opportunities the submission was linked to.
quoteRelationsOnlineFormRelationEntityConnection (8 args)Quotes the submission was linked to.
projectRelationsOnlineFormRelationEntityConnection (8 args)Projects the submission was linked to.
customEntityRelationsOnlineFormRelationEntityConnection (8 args)Custom entity records the submission was linked to.
linesOnlineFormActivityLogLineEntityConnection (7 args)Activity log lines describing what was done with this submission (visible only).
respondedByString!Display name of the primary record (account/contact/lead/...) the submission was linked to.
responseDateDateTimeTimestamp the submission was received (the response was completed).
recordNameStringDisplay name of the record that submitted (or is associated with) this form response, formatted according to the calling user's preferred name format.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
answers[OnlineFormFieldAnswer!]!Answers given in this submission, one item per form field, formatted.
primaryAccountAccountEntityPrimary record of the submission when it is an account.
primaryContactContactEntityPrimary record of the submission when it is a contact.
primaryLeadLeadEntityPrimary record of the submission when it is a lead.
primaryOpportunityOpportunityEntityPrimary record of the submission when it is an opportunity.
primaryQuoteQuoteEntityPrimary record of the submission when it is a quote.
primaryCustomEntityCustomEntityEntityPrimary record of the submission when it is a custom entity record.
primaryAccountIdIDId of the primary record of the submission when it is an account.
primaryContactIdIDId of the primary record of the submission when it is a contact.
primaryLeadOpptyIdIDId of the primary record of the submission when it is a lead or opportunity.
primaryQuoteIdIDId of the primary record of the submission when it is a quote.
primaryCustomEntityIdIDId of the primary record of the submission when it is a custom entity record.
OnlineFormEntityConnection object pageInfo: PageInfo!, edges: [OnlineFormEntityEdge]!, totalCount: Int

Paginated list of OnlineForm records.

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[OnlineFormEntityEdge]!Contains the nodes in this connection.
totalCountIntTotal number of items in the connection.
OnlineFormEntityEdge object node: OnlineFormEntity, cursor: String!

A Relay edge containing a OnlineFormEntity and its cursor.

FieldTypeDescription
nodeOnlineFormEntityThe item at the end of the edge
cursorString!A cursor for use in pagination
OnlineFormFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field

Filter conditions for OnlineForm records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

Input fieldTypeDescription
OR[OnlineFormFilterInput!]Matches records that meet at least one of the listed filters.
AND[OnlineFormFilterInput!]Matches records that meet all of the listed filters.
NOTOnlineFormFilterInputMatches records that do not meet this filter.
globalSearchQueryStringSearch term matched against the fields that the global search covers for this entity.
idEntityFilterStringFieldUnique identifier of entity.
isDeletedBooleanSpecifies if the entity is considered deleted.
modifiedEntityFilterDateTimeFieldLast modification time.
createdEntityFilterDateTimeFieldCreation time.
currencyExchangeRatesListIdEntityFilterStringFieldId of the currency exchange rate list applied to product line items at submission time.
emailIdEntityFilterStringFieldId of the linked email record, when available.
onlineFormTypeIdEntityFilterStringFieldId of the online form definition.
productCurrencyIdEntityFilterStringFieldId of the selected currency.
productPriceListIdEntityFilterStringFieldId of the selected price list.
statusProcessStatusEnumFilterInputOverall result of processing the submission: the most severe status among its activity log lines, Error when a step failed.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
recordNameEntityFilterStringFieldDisplay name of the record that submitted (or is associated with) this form response, formatted according to the calling user's preferred name format.
withCustom[CustomField!]Conditions on custom fields, each identified by its api name. All listed conditions must match.
currencyExchangeRatesListCurrencyExchangeRatesListFilterInputCurrency exchange rate list applied to product line-items at submission time. Matches records where a related record meets these conditions.
emailEmailFilterInputEmail submitted with the response, used for identification or response notifications. Matches records where a related record meets these conditions.
onlineFormTypeOnlineFormTypeFilterInputOnline form definition this submission belongs to. Matches records where a related record meets these conditions.
productCurrencyCurrencyFilterInputCurrency selected by the respondent for product line-items, when the form contains products. Matches records where a related record meets these conditions.
productPriceListProductPriceListFilterInputProduct price list selected by the respondent, when the form contains products. Matches records where a related record meets these conditions.
accountRelationsOnlineFormRelationFilterInputAccounts the submission was linked to. Matches records where a related record meets these conditions.
contactRelationsOnlineFormRelationFilterInputContacts the submission was linked to. Matches records where a related record meets these conditions.
leadRelationsOnlineFormRelationFilterInputLeads the submission was linked to. Matches records where a related record meets these conditions.
opportunityRelationsOnlineFormRelationFilterInputOpportunities the submission was linked to. Matches records where a related record meets these conditions.
quoteRelationsOnlineFormRelationFilterInputQuotes the submission was linked to. Matches records where a related record meets these conditions.
projectRelationsOnlineFormRelationFilterInputProjects the submission was linked to. Matches records where a related record meets these conditions.
customEntityRelationsOnlineFormRelationFilterInputCustom entity records the submission was linked to. Matches records where a related record meets these conditions.
linesOnlineFormActivityLogLineFilterInputActivity log lines describing what was done with this submission (visible only). Matches records where a related record meets these conditions.
OnlineFormOrderByInput input Asc or Desc per field

Sorting of OnlineForm records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.

Input fieldTypeDescription
idOrderByEnumUnique identifier of entity.
isDeletedOrderByEnumSpecifies if the entity is considered deleted.
modifiedOrderByEnumLast modification time.
createdOrderByEnumCreation time.
currencyExchangeRatesList[CurrencyExchangeRatesListOrderByNestedInput!]Currency exchange rate list applied to product line-items at submission time. Sorts by fields of the related record, listed in order of priority.
email[EmailOrderByNestedInput!]Email submitted with the response, used for identification or response notifications. Sorts by fields of the related record, listed in order of priority.
onlineFormType[OnlineFormTypeOrderByNestedInput!]Online form definition this submission belongs to. Sorts by fields of the related record, listed in order of priority.
productPriceList[ProductPriceListOrderByNestedInput!]Product price list selected by the respondent, when the form contains products. Sorts by fields of the related record, listed in order of priority.
currencyExchangeRatesListIdOrderByEnumId of the currency exchange rate list applied to product line items at submission time.
emailIdOrderByEnumId of the linked email record, when available.
onlineFormTypeIdOrderByEnumId of the online form definition.
productPriceListIdOrderByEnumId of the selected price list.
statusOrderByEnumOverall result of processing the submission: the most severe status among its activity log lines, Error when a step failed.
revisionOrderByEnumRevision when entity was lastly changed.
recordNameOrderByEnumDisplay name of the record that submitted (or is associated with) this form response, formatted according to the calling user's preferred name format.
withCustomCommonEntityRepositoryOrderByCustomFieldSorts by a custom field.
CreateOnlineFormInput input 19 fields: clientMutationId, modified, created, …

Field values of a new OnlineForm record.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
currencyExchangeRatesListIdIDId of the currency exchange rate list applied to product line items at submission time.
emailIdIDId of the linked email record, when available.
fieldIdsJSONString!Ids of the fields included in the form when this submission was captured, as a JSON array of field ids (UUIDs).
onlineFormTypeIdID!Id of the online form definition.
productCurrencyIdIDId of the selected currency.
productPriceListIdIDId of the selected price list.
statusProcessStatusEnumOverall result of processing the submission: the most severe status among its activity log lines, Error when a step failed.
customFieldsJSONStringCustom field values to set, as a JSON object keyed by custom field API name, e.g. {"cfBudget": 1000}. Only the custom fields included are changed; each value uses the format of that field.
revisionIntRevision when entity was lastly changed.
accountRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Accounts the submission was linked to.
contactRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Contacts the submission was linked to.
leadRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Leads the submission was linked to.
opportunityRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Opportunities the submission was linked to.
quoteRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Quotes the submission was linked to.
projectRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Projects the submission was linked to.
customEntityRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Custom entity records the submission was linked to.
CreateOnlineFormRelationNoOnlineFormBackrefInput input 10 fields: modified, created, accountId, …

Field values of a new OnlineFormRelation record, created together with the record it belongs to.

Input fieldTypeDescription
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
accountIdIDId of the linked account.
contactIdIDId of the linked contact.
customEntityIdIDId of the linked custom entity record.
isPrimaryBoolean!True for the row that points to the submission's primary record. There is at most one primary relation per submission and its entity must match the form's entityType.
leadOpptyIdIDId of the linked lead or opportunity, or empty when not linked.
projectIdIDId of the linked project.
quoteIdIDId of the linked quote.
revisionIntRevision when entity was lastly changed.
CreateOrUpdateOnlineFormInput input 20 fields: clientMutationId, id, modified, …

Field values of an OnlineForm record to create, or to update when its id is set.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idIDUnique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
currencyExchangeRatesListIdIDId of the currency exchange rate list applied to product line items at submission time.
emailIdIDId of the linked email record, when available.
fieldIdsJSONStringIds of the fields included in the form when this submission was captured, as a JSON array of field ids (UUIDs).
onlineFormTypeIdIDId of the online form definition.
productCurrencyIdIDId of the selected currency.
productPriceListIdIDId of the selected price list.
statusProcessStatusEnumOverall result of processing the submission: the most severe status among its activity log lines, Error when a step failed.
customFieldsJSONStringCustom field values to set, as a JSON object keyed by custom field API name, e.g. {"cfBudget": 1000}. Only the custom fields included are changed; each value uses the format of that field.
revisionIntRevision when entity was lastly changed.
accountRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Accounts the submission was linked to.
contactRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Contacts the submission was linked to.
leadRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Leads the submission was linked to.
opportunityRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Opportunities the submission was linked to.
quoteRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Quotes the submission was linked to.
projectRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Projects the submission was linked to.
customEntityRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Custom entity records the submission was linked to.
DeleteOnlineFormInput input clientMutationId: String, id: ID!

Id of the OnlineForm record to delete.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
UpdateOnlineFormInput input 20 fields: clientMutationId, id, modified, …

Id of an OnlineForm record and the field values to change.

Input fieldTypeDescription
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
idID!Unique identifier of entity.
modifiedDateTimeLast modification time.
createdDateTimeCreation time.
currencyExchangeRatesListIdIDId of the currency exchange rate list applied to product line items at submission time.
emailIdIDId of the linked email record, when available.
fieldIdsJSONStringIds of the fields included in the form when this submission was captured, as a JSON array of field ids (UUIDs).
onlineFormTypeIdIDId of the online form definition.
productCurrencyIdIDId of the selected currency.
productPriceListIdIDId of the selected price list.
statusProcessStatusEnumOverall result of processing the submission: the most severe status among its activity log lines, Error when a step failed.
customFieldsJSONStringCustom field values to set, as a JSON object keyed by custom field API name, e.g. {"cfBudget": 1000}. Only the custom fields included are changed; each value uses the format of that field.
revisionIntRevision when entity was lastly changed.
accountRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Accounts the submission was linked to.
contactRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Contacts the submission was linked to.
leadRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Leads the submission was linked to.
opportunityRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Opportunities the submission was linked to.
quoteRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Quotes the submission was linked to.
projectRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Projects the submission was linked to.
customEntityRelations[CreateOnlineFormRelationNoOnlineFormBackrefInput!]Custom entity records the submission was linked to.
BulkUpdateOnlineFormPayload object result: BulkUpdateResults!

Result of the bulkUpdateOnlineForm mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateOnlineFormPayload object onlineForm: OnlineFormEntity, clientMutationId: String

Result of the createOnlineForm mutation.

FieldTypeDescription
onlineFormOnlineFormEntityThe created record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
DeleteOnlineFormPayload object onlineForm: OnlineFormEntity, clientMutationId: String

Result of the deleteOnlineForm mutation.

FieldTypeDescription
onlineFormOnlineFormEntityThe deleted record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
UpdateOnlineFormPayload object onlineForm: OnlineFormEntity, clientMutationId: String

Result of the updateOnlineForm mutation.

FieldTypeDescription
onlineFormOnlineFormEntityThe updated record.
clientMutationIdStringOptional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
OnlineFormFieldAnswer object id: String!, value: String

Answer to one question of an online form submission.

FieldTypeDescription
idString!Id of the form field the answer belongs to.
valueStringAnswer as text: option labels for choice fields, a download URL for uploaded files; null when not answered.