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

GraphQLRepositoriestag

entities.tag

Read tag records with the tag repository, and change them with the tag mutations. Same records as the REST Tags entity.

Queries

Fields of entities { tag { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
TagEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[TagEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: TagFilterInput, orderBy: [TagOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[TagEntity!]!
QUERYgetByCriteria(filter: TagFilterInput, orderBy: [TagOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
TagEntityConnection
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!]!
QUERYgetByEntityType(entityType: BaseEntityTypeEnum!, includeDeleted: Boolean)
Returns the tags available for the given record type.
[TagEntity!]!
QUERYgetByCustomCriteria(listingOptions: TagTabDataGridViewOptionsParams!, filter: TagFilterInput, orderBy: [TagOrderByInput!], before: String, after: String, first: Int, last: Int)
Returns a page of tags that can be used on any of the given record types, in addition to the regular filter. Tags not limited to specific types are always included.
TagEntityConnection

Mutations

KindMutationDoesReturns
MUTATIONcreateTag(input: CreateTagInput!, validationLevel: [ValidationLevel!])Create one recordCreateTagPayload
MUTATIONupdateTag(input: UpdateTagInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateTagPayload
MUTATIONbulkUpdateTag(input: [CreateOrUpdateTagInput!]!, deleteInput: [DeleteTagInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateTagPayload
MUTATIONdeleteTag(input: DeleteTagInput!)Soft-deleteDeleteTagPayload

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.

TagEntity object 16 fields: isDeleteProtected, id, isDeleted, …

Label that users attach to records such as accounts, contacts or opportunities to categorize them.

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.
creatorClientEntityUser who created the tag.
allowedEntityTypeIds[UUID]For tags scoped to specific record types (e.g. specific Account types), the list of type ids the tag can be assigned to. Empty/null means no per-type restriction.
colorInt!Display color of the tag, encoded as a 24-bit RGB integer: (red << 16) | (green << 8) | blue.
creatorIdIDId of the creating user.
entityApiNameStringFor tags scoped to custom entities, the api name of the custom entity the tag belongs to. Required for custom-entity tags and must be empty for all other tags.
isEnabledBooleanWhen false, the tag is hidden in pickers and cannot be assigned to new records.
nameString!Name of the entity and its default text representation.
supportedEntitiesIntBit flags of the entities the tag can be attached to, added together: Contact 1, Account 2, Opportunity 4, Lead 8, Project 16, Email 32, Process 64, Appointment 128, Task 256, Quote 512, CustomEntity 1024, Solution 2048.
useLangBooleanWhen true, the tag name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionIntRevision when entity was lastly changed.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
TagEntityConnection object pageInfo: PageInfo!, edges: [TagEntityEdge]!, totalCount: Int

Paginated list of Tag records.

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

A Relay edge containing a TagEntity and its cursor.

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

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

Input fieldTypeDescription
OR[TagFilterInput!]Matches records that meet at least one of the listed filters.
AND[TagFilterInput!]Matches records that meet all of the listed filters.
NOTTagFilterInputMatches 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.
colorEntityFilterNumberFieldDisplay color of the tag, encoded as a 24-bit RGB integer: (red << 16) | (green << 8) | blue.
creatorIdEntityFilterStringFieldId of the creating user.
entityApiNameEntityFilterStringFieldFor tags scoped to custom entities, the api name of the custom entity the tag belongs to. Required for custom-entity tags and must be empty for all other tags.
isEnabledBooleanWhen false, the tag is hidden in pickers and cannot be assigned to new records.
nameEntityFilterStringFieldName of the entity and its default text representation.
supportedEntitiesTagSupportedEntitiesEnumFilterInputBit flags of the entities the tag can be attached to, added together: Contact 1, Account 2, Opportunity 4, Lead 8, Project 16, Email 32, Process 64, Appointment 128, Task 256, Quote 512, CustomEntity 1024, Solution 2048.
useLangBooleanWhen true, the tag name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
creatorClientFilterInputUser who created the tag. Matches records where a related record meets these conditions.
TagOrderByInput input Asc or Desc per field

Sorting of Tag 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.
creator[ClientOrderByNestedInput!]User who created the tag. Sorts by fields of the related record, listed in order of priority.
colorOrderByEnumDisplay color of the tag, encoded as a 24-bit RGB integer: (red << 16) | (green << 8) | blue.
creatorIdOrderByEnumId of the creating user.
entityApiNameOrderByEnumFor tags scoped to custom entities, the api name of the custom entity the tag belongs to. Required for custom-entity tags and must be empty for all other tags.
isEnabledOrderByEnumWhen false, the tag is hidden in pickers and cannot be assigned to new records.
nameOrderByEnumName of the entity and its default text representation.
supportedEntitiesOrderByEnumBit flags of the entities the tag can be attached to, added together: Contact 1, Account 2, Opportunity 4, Lead 8, Project 16, Email 32, Process 64, Appointment 128, Task 256, Quote 512, CustomEntity 1024, Solution 2048.
useLangOrderByEnumWhen true, the tag name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionOrderByEnumRevision when entity was lastly changed.
TagSupportedEntitiesEnumFilterInput input eq: [TagSupportedEntitiesEnum!], NOT: TagSupportedEntitiesEnumFilterInput

Conditions on an enumeration field. Several conditions given together must all match.

Input fieldTypeDescription
eq[TagSupportedEntitiesEnum!]Matches any of the listed values.
NOTTagSupportedEntitiesEnumFilterInputMatches values that do not meet this condition.
CreateOrUpdateTagInput input 13 fields: clientMutationId, id, modified, …

Field values of a Tag 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.
allowedEntityTypeIdsJSONStringFor tags scoped to specific record types (e.g. specific Account types), the list of type ids the tag can be assigned to. Empty/null means no per-type restriction.
colorIntDisplay color of the tag, encoded as a 24-bit RGB integer: (red << 16) | (green << 8) | blue.
creatorIdIDId of the creating user.
entityApiNameStringFor tags scoped to custom entities, the api name of the custom entity the tag belongs to. Required for custom-entity tags and must be empty for all other tags.
isEnabledBooleanWhen false, the tag is hidden in pickers and cannot be assigned to new records.
nameStringName of the entity and its default text representation.
supportedEntitiesIntBit flags of the entities the tag can be attached to, added together: Contact 1, Account 2, Opportunity 4, Lead 8, Project 16, Email 32, Process 64, Appointment 128, Task 256, Quote 512, CustomEntity 1024, Solution 2048.
useLangBooleanWhen true, the tag name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionIntRevision when entity was lastly changed.
CreateTagInput input 12 fields: clientMutationId, modified, created, …

Field values of a new Tag 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.
allowedEntityTypeIdsJSONStringFor tags scoped to specific record types (e.g. specific Account types), the list of type ids the tag can be assigned to. Empty/null means no per-type restriction.
colorInt!Display color of the tag, encoded as a 24-bit RGB integer: (red << 16) | (green << 8) | blue.
creatorIdIDId of the creating user.
entityApiNameStringFor tags scoped to custom entities, the api name of the custom entity the tag belongs to. Required for custom-entity tags and must be empty for all other tags.
isEnabledBooleanWhen false, the tag is hidden in pickers and cannot be assigned to new records.
nameString!Name of the entity and its default text representation.
supportedEntitiesIntBit flags of the entities the tag can be attached to, added together: Contact 1, Account 2, Opportunity 4, Lead 8, Project 16, Email 32, Process 64, Appointment 128, Task 256, Quote 512, CustomEntity 1024, Solution 2048.
useLangBooleanWhen true, the tag name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionIntRevision when entity was lastly changed.
DeleteTagInput input clientMutationId: String, id: ID!

Id of the Tag 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.
TagTabDataGridViewOptionsParams input allowedEntityTypeIds: [UUID!]

Filter for listing the tags that can be assigned to records of the given types (for example specific account types).

Input fieldTypeDescription
allowedEntityTypeIds[UUID!]List of allowed entity type ids for which the user wants to filter tags for
UpdateTagInput input 12 fields: clientMutationId, id, modified, …

Id of a Tag 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.
allowedEntityTypeIdsJSONStringFor tags scoped to specific record types (e.g. specific Account types), the list of type ids the tag can be assigned to. Empty/null means no per-type restriction.
colorIntDisplay color of the tag, encoded as a 24-bit RGB integer: (red << 16) | (green << 8) | blue.
creatorIdIDId of the creating user.
entityApiNameStringFor tags scoped to custom entities, the api name of the custom entity the tag belongs to. Required for custom-entity tags and must be empty for all other tags.
isEnabledBooleanWhen false, the tag is hidden in pickers and cannot be assigned to new records.
nameStringName of the entity and its default text representation.
useLangBooleanWhen true, the tag name is treated as a translation key and localized in the UI; otherwise the literal name is shown.
revisionIntRevision when entity was lastly changed.
BulkUpdateTagPayload object result: BulkUpdateResults!

Result of the bulkUpdateTag mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateTagPayload object tag: TagEntity, clientMutationId: String

Result of the createTag mutation.

FieldTypeDescription
tagTagEntityThe 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).
DeleteTagPayload object tag: TagEntity, clientMutationId: String

Result of the deleteTag mutation.

FieldTypeDescription
tagTagEntityThe 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).
UpdateTagPayload object tag: TagEntity, clientMutationId: String

Result of the updateTag mutation.

FieldTypeDescription
tagTagEntityThe 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).
TagSupportedEntitiesEnum enum Contact, Account, Opportunity, Lead, Project, Email, … (12 values)

Entity a tag can be attached to; used to filter tags by the entities they support.

ValueDescription
ContactPerson the sales team works with, usually linked to one or more accounts, leads and opportunities.
AccountCompany or organization the sales team works with; contacts, leads, opportunities and activities are linked to it.
OpportunityPotential deal with a value and closing date that moves through the steps of a sales pipeline until it is won or lost.
LeadPotential sale in its early stage that moves through a lead process until it is qualified into an opportunity or lost.
ProjectProject delivered for an account or run internally, with its objectives, activities and progress.
EmailEmail message sent or received by users of the space, linked to the contacts, accounts and other records it concerns.
ProcessAutomation processes.
AppointmentMeeting or call scheduled in the calendar, with its invited users and contacts, linked to the records it concerns.
TaskTask (e.g. a to-do or a call) owned by a user, with an optional due date, and linked to records.
QuotePrice offer for a customer, usually prepared from an opportunity, with product line items; it moves through a quote process.
CustomEntityRecord of a custom entity, a kind of record the space defines (such as Vehicle or Contract) in addition to the built-in entities.
SolutionCanvas that groups related automation tools (Automatizer processes, email sequences, online forms) and tracks their status and activity.