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

GraphQLRepositoriesnote

entities.note

Read note records with the note repository, and change them with the note mutations. Same records as the REST Notes entity.

Queries

Fields of entities { note { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
NoteEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[NoteEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: NoteFilterInput, orderBy: [NoteOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[NoteEntity!]!
QUERYgetByCriteria(filter: NoteFilterInput, orderBy: [NoteOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
NoteEntityConnection
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!]!

Mutations

KindMutationDoesReturns
MUTATIONcopyNote(input: CopyNoteInput!)Copy a record GraphQL onlyCopyNotePayload
MUTATIONcreateNote(input: CreateNoteInput!, validationLevel: [ValidationLevel!])Create one recordCreateNotePayload
MUTATIONupdateNote(input: UpdateNoteInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateNotePayload
MUTATIONbulkUpdateNote(input: [CreateOrUpdateNoteInput!]!, deleteInput: [DeleteNoteInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateNotePayload
MUTATIONdeleteNote(input: DeleteNoteInput!)Soft-deleteDeleteNotePayload

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.

NoteEntity object 23 fields: isDeleteProtected, id, isDeleted, …

Note a user wrote on a record such as an account, contact, lead, opportunity, project or quote.

FieldTypeDescription
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.
accountAccountEntityAccount the note is attached to. Exactly one of account / contact / leadOppty / project / quote / customEntity must be set.
contactContactEntityContact the note is attached to.
customEntityCustomEntityEntityCustom entity record the note is attached to.
leadLeadEntityLead the note is attached to. Set when leadOpptyId resolves to a Lead.
opptyOpportunityEntityOpportunity the note is attached to. Set when leadOpptyId resolves to an Opportunity.
ownerClientEntityUser who authored the note.
projectProjectEntityProject the note is attached to.
quoteQuoteEntityQuote the note is attached to.
accountIdIDId of the account the note is attached to.
contactIdIDId of the contact the note is attached to.
customEntityIdIDId of the custom entity record the note is attached to.
leadOpptyIdIDId of the lead or opportunity the note is attached to.
noteString!Free-form text body of the note (sanitized HTML allowed).
ownerIdID!Id of the note author.
projectIdIDId of the project the note is attached to.
quoteIdIDId of the quote the note is attached to.
revisionIntRevision when entity was lastly changed.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
NoteEntityConnection object pageInfo: PageInfo!, edges: [NoteEntityEdge]!, totalCount: Int

Paginated list of Note records.

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

A Relay edge containing a NoteEntity and its cursor.

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

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

Input fieldTypeDescription
OR[NoteFilterInput!]Matches records that meet at least one of the listed filters.
AND[NoteFilterInput!]Matches records that meet all of the listed filters.
NOTNoteFilterInputMatches 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.
accountIdEntityFilterStringFieldId of the account the note is attached to.
contactIdEntityFilterStringFieldId of the contact the note is attached to.
customEntityIdEntityFilterStringFieldId of the custom entity record the note is attached to.
leadOpptyIdEntityFilterStringFieldId of the lead or opportunity the note is attached to.
noteEntityFilterStringFieldFree-form text body of the note (sanitized HTML allowed).
ownerIdEntityFilterStringFieldId of the note author.
projectIdEntityFilterStringFieldId of the project the note is attached to.
quoteIdEntityFilterStringFieldId of the quote the note is attached to.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
accountAccountFilterInputAccount the note is attached to. Exactly one of account / contact / leadOppty / project / quote / customEntity must be set. Matches records where a related record meets these conditions.
contactContactFilterInputContact the note is attached to. Matches records where a related record meets these conditions.
customEntityCustomEntityFilterInputCustom entity record the note is attached to. Matches records where a related record meets these conditions.
leadLeadFilterInputLead the note is attached to. Set when leadOpptyId resolves to a Lead. Matches records where a related record meets these conditions.
opptyOpportunityFilterInputOpportunity the note is attached to. Set when leadOpptyId resolves to an Opportunity. Matches records where a related record meets these conditions.
ownerClientFilterInputUser who authored the note. Matches records where a related record meets these conditions.
projectProjectFilterInputProject the note is attached to. Matches records where a related record meets these conditions.
quoteQuoteFilterInputQuote the note is attached to. Matches records where a related record meets these conditions.
NoteOrderByInput input Asc or Desc per field

Sorting of Note 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.
account[AccountOrderByNestedInput!]Account the note is attached to. Exactly one of account / contact / leadOppty / project / quote / customEntity must be set. Sorts by fields of the related record, listed in order of priority.
contact[ContactOrderByNestedInput!]Contact the note is attached to. Sorts by fields of the related record, listed in order of priority.
customEntity[CustomEntityOrderByNestedInput!]Custom entity record the note is attached to. Sorts by fields of the related record, listed in order of priority.
lead[LeadOrderByNestedInput!]Lead the note is attached to. Set when leadOpptyId resolves to a Lead. Sorts by fields of the related record, listed in order of priority.
oppty[OpportunityOrderByNestedInput!]Opportunity the note is attached to. Set when leadOpptyId resolves to an Opportunity. Sorts by fields of the related record, listed in order of priority.
owner[ClientOrderByNestedInput!]User who authored the note. Sorts by fields of the related record, listed in order of priority.
project[ProjectOrderByNestedInput!]Project the note is attached to. Sorts by fields of the related record, listed in order of priority.
quote[QuoteOrderByNestedInput!]Quote the note is attached to. Sorts by fields of the related record, listed in order of priority.
accountIdOrderByEnumId of the account the note is attached to.
contactIdOrderByEnumId of the contact the note is attached to.
customEntityIdOrderByEnumId of the custom entity record the note is attached to.
leadOpptyIdOrderByEnumId of the lead or opportunity the note is attached to.
noteOrderByEnumFree-form text body of the note (sanitized HTML allowed).
ownerIdOrderByEnumId of the note author.
projectIdOrderByEnumId of the project the note is attached to.
quoteIdOrderByEnumId of the quote the note is attached to.
revisionOrderByEnumRevision when entity was lastly changed.
CopyNoteInput input id: ID!, clientMutationId: String

Parameters of the copyNote mutation.

Input fieldTypeDescription
idID!Identifier of the NoteEntity to perform the action on.
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).
CreateNoteInput input 12 fields: clientMutationId, modified, created, …

Field values of a new Note 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.
accountIdIDId of the account the note is attached to.
contactIdIDId of the contact the note is attached to.
customEntityIdIDId of the custom entity record the note is attached to.
leadOpptyIdIDId of the lead or opportunity the note is attached to.
noteString!Free-form text body of the note (sanitized HTML allowed).
ownerIdID!Id of the note author.
projectIdIDId of the project the note is attached to.
quoteIdIDId of the quote the note is attached to.
revisionIntRevision when entity was lastly changed.
CreateOrUpdateNoteInput input 13 fields: clientMutationId, id, modified, …

Field values of a Note 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.
accountIdIDId of the account the note is attached to.
contactIdIDId of the contact the note is attached to.
customEntityIdIDId of the custom entity record the note is attached to.
leadOpptyIdIDId of the lead or opportunity the note is attached to.
noteStringFree-form text body of the note (sanitized HTML allowed).
ownerIdIDId of the note author.
projectIdIDId of the project the note is attached to.
quoteIdIDId of the quote the note is attached to.
revisionIntRevision when entity was lastly changed.
DeleteNoteInput input clientMutationId: String, id: ID!, leadOpptyId: ID

Id of the Note 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.
leadOpptyIdIDId of the lead or opportunity the note is attached to.
UpdateNoteInput input 13 fields: clientMutationId, id, modified, …

Id of a Note 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.
accountIdIDId of the account the note is attached to.
contactIdIDId of the contact the note is attached to.
customEntityIdIDId of the custom entity record the note is attached to.
leadOpptyIdIDId of the lead or opportunity the note is attached to.
noteStringFree-form text body of the note (sanitized HTML allowed).
ownerIdIDId of the note author.
projectIdIDId of the project the note is attached to.
quoteIdIDId of the quote the note is attached to.
revisionIntRevision when entity was lastly changed.
BulkUpdateNotePayload object result: BulkUpdateResults!

Result of the bulkUpdateNote mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CopyNotePayload object result: NoteEntity, clientMutationId: String

Result of the copyNote mutation.

FieldTypeDescription
resultNoteEntityCreated copy of entity.
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).
CreateNotePayload object note: NoteEntity, clientMutationId: String

Result of the createNote mutation.

FieldTypeDescription
noteNoteEntityThe 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).
DeleteNotePayload object note: NoteEntity, clientMutationId: String

Result of the deleteNote mutation.

FieldTypeDescription
noteNoteEntityThe 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).
UpdateNotePayload object note: NoteEntity, clientMutationId: String

Result of the updateNote mutation.

FieldTypeDescription
noteNoteEntityThe 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).