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

GraphQLRepositoriesemailSequenceEnrolled

entities.emailSequenceEnrolled

Read email sequence enrolled records with the emailSequenceEnrolled repository, and change them with the email sequence enrolled mutations. Same records as the REST EmailSequenceEnrolleds entity.

Queries

Fields of entities { emailSequenceEnrolled { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
EmailSequenceEnrolledEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[EmailSequenceEnrolledEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: EmailSequenceEnrolledFilterInput, orderBy: [EmailSequenceEnrolledOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[EmailSequenceEnrolledEntity!]!
QUERYgetByCriteria(filter: EmailSequenceEnrolledFilterInput, orderBy: [EmailSequenceEnrolledOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
EmailSequenceEnrolledEntityConnection
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!]!
QUERYgetEnrolledEmailSequences(entityId: UUID!, limit: Int)
Returns the email sequence enrollments of a record, one per sequence, with the most recently updated first.
[EmailSequenceEnrolledEntity!]!

Mutations

KindMutationDoesReturns
MUTATIONcreateEmailSequenceEnrolled(input: CreateEmailSequenceEnrolledInput!, validationLevel: [ValidationLevel!])Create one recordCreateEmailSequenceEnrolledPayload
MUTATIONupdateEmailSequenceEnrolled(input: UpdateEmailSequenceEnrolledInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateEmailSequenceEnrolledPayload
MUTATIONbulkUpdateEmailSequenceEnrolled(input: [CreateOrUpdateEmailSequenceEnrolledInput!]!, deleteInput: [DeleteEmailSequenceEnrolledInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateEmailSequenceEnrolledPayload
MUTATIONdeleteEmailSequenceEnrolled(input: DeleteEmailSequenceEnrolledInput!)Soft-deleteDeleteEmailSequenceEnrolledPayload

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.

EmailSequenceEnrolledEntity object 36 fields: isDeleteProtected, id, isDeleted, …

Record enrolled in an email sequence, such as a contact, lead or opportunity, with the run that enrolled it.

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 that was enrolled, when the trigger entity is an Account; otherwise empty.
actorClientEntityUser who triggered the enrolment, or empty for runs triggered by automation.
applicationApplicationEntityApplication context the enrolment was triggered in.
contactContactEntityContact that was enrolled, when the trigger entity is a Contact; otherwise empty.
emailSequenceActivityLogEmailSequenceActivityLogEntityActivity log run that produced this enrolment.
emailSequenceEmailSequenceEntityEmail sequence this enrolment belongs to.
leadLeadEntityLead that was enrolled, when the trigger entity is a Lead; otherwise empty.
opptyOpportunityEntityOpportunity that was enrolled, when the trigger entity is an Opportunity; otherwise empty.
projectProjectEntityProject that was enrolled, when the trigger entity is a Project; otherwise empty.
accountIdIDId of the enrolled account.
actorIdIDId of the user who triggered the enrolment, or empty for runs triggered by automation.
applicationIdID!Id of the application (e.g. browser, automation, third-party integration) the enrolment was triggered in.
contactIdIDId of the enrolled contact.
emailSequenceActivityLogIdID!Id of the activity log run that produced this enrolment.
emailSequenceIdID!Id of the email sequence this enrolment belongs to.
endReasonEmailSequenceEndReasonEnumWhy the enrolment ended: Finished after all steps, Unenrolled when the record was removed before finishing, or NoReason while the enrolment is still active.
endTimeDateTimeTimestamp when the enrolment ended (completed or unenrolled). Empty while the enrolment is active.
entityIdID!Id of the enrolled record: the account, contact, lead, opportunity or project that is set. Read-only.
entityTypeBaseEntityTypeEnum!Type of the enrolled entity (e.g. Account, Contact, Lead). Read-only.
excludedFromStatsBooleanTrue when this enrolment is excluded from sequence statistics (e.g. after a stats reset).
leadIdIDId of the enrolled lead.
opptyIdIDId of the enrolled opportunity.
projectIdIDId of the enrolled project.
startTimeDateTime!Timestamp when the enrolment started.
stepCountInt!Number of steps the enrolment has reached. Read-only.
nameStringDisplay name of the enrolled record, formatted according to the calling user's preferred name format. Empty when the underlying record has been deleted.
addressStringEmail address used for delivery of this enrolment.
stepIndexIntZero-based index of the next step the enrolment will execute (i.e. one past the highest stepIndex recorded in EmailSequenceEnrolledStatus). Empty before the first step runs.
statusProcessStatusEnumStatus of the enrolment's most recent sequence run (e.g. Ok, Warning, Error). Empty before the first run.
entityNameEntityNameEnum!Name of the enrolled entity (Account, Contact, Lead, Opportunity, or Project), derived from entityType.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
EmailSequenceEnrolledEntityConnection object pageInfo: PageInfo!, edges: [EmailSequenceEnrolledEntityEdge]!, totalCount: Int

Paginated list of EmailSequenceEnrolled records.

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

A Relay edge containing a EmailSequenceEnrolledEntity and its cursor.

FieldTypeDescription
nodeEmailSequenceEnrolledEntityThe item at the end of the edge
cursorString!A cursor for use in pagination
EmailSequenceEndReasonEnumFilterInput input eq: [EmailSequenceEndReasonEnum!], NOT: EmailSequenceEndReasonEnumFilterInput

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

Input fieldTypeDescription
eq[EmailSequenceEndReasonEnum!]Matches any of the listed values.
NOTEmailSequenceEndReasonEnumFilterInputMatches values that do not meet this condition.
EmailSequenceEnrolledFilterInput input AND, OR, NOT, globalSearchQuery, one condition per field

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

Input fieldTypeDescription
OR[EmailSequenceEnrolledFilterInput!]Matches records that meet at least one of the listed filters.
AND[EmailSequenceEnrolledFilterInput!]Matches records that meet all of the listed filters.
NOTEmailSequenceEnrolledFilterInputMatches 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 enrolled account.
actorIdEntityFilterStringFieldId of the user who triggered the enrolment, or empty for runs triggered by automation.
applicationIdEntityFilterStringFieldId of the application (e.g. browser, automation, third-party integration) the enrolment was triggered in.
contactIdEntityFilterStringFieldId of the enrolled contact.
emailSequenceActivityLogIdEntityFilterStringFieldId of the activity log run that produced this enrolment.
emailSequenceIdEntityFilterStringFieldId of the email sequence this enrolment belongs to.
endReasonEmailSequenceEndReasonEnumFilterInputWhy the enrolment ended: Finished after all steps, Unenrolled when the record was removed before finishing, or NoReason while the enrolment is still active.
endTimeEntityFilterDateTimeFieldTimestamp when the enrolment ended (completed or unenrolled). Empty while the enrolment is active.
entityIdEntityFilterStringFieldId of the enrolled record: the account, contact, lead, opportunity or project that is set. Read-only.
entityTypeBaseEntityTypeEnumFilterInputType of the enrolled entity (e.g. Account, Contact, Lead). Read-only.
excludedFromStatsBooleanTrue when this enrolment is excluded from sequence statistics (e.g. after a stats reset).
leadIdEntityFilterStringFieldId of the enrolled lead.
opptyIdEntityFilterStringFieldId of the enrolled opportunity.
projectIdEntityFilterStringFieldId of the enrolled project.
startTimeEntityFilterDateTimeFieldTimestamp when the enrolment started.
stepCountEntityFilterNumberFieldNumber of steps the enrolment has reached. Read-only.
nameEntityFilterStringFieldDisplay name of the enrolled record, formatted according to the calling user's preferred name format. Empty when the underlying record has been deleted.
addressEntityFilterStringFieldEmail address used for delivery of this enrolment.
stepIndexIntZero-based index of the next step the enrolment will execute (i.e. one past the highest stepIndex recorded in EmailSequenceEnrolledStatus). Empty before the first step runs.
statusProcessStatusEnumStatus of the enrolment's most recent sequence run (e.g. Ok, Warning, Error). Empty before the first run.
entityNameEntityNameEnumName of the enrolled entity (Account, Contact, Lead, Opportunity, or Project), derived from entityType.
accountAccountFilterInputAccount that was enrolled, when the trigger entity is an Account; otherwise empty. Matches records where a related record meets these conditions.
actorClientFilterInputUser who triggered the enrolment, or empty for runs triggered by automation. Matches records where a related record meets these conditions.
applicationApplicationFilterInputApplication context the enrolment was triggered in. Matches records where a related record meets these conditions.
contactContactFilterInputContact that was enrolled, when the trigger entity is a Contact; otherwise empty. Matches records where a related record meets these conditions.
emailSequenceActivityLogEmailSequenceActivityLogFilterInputActivity log run that produced this enrolment. Matches records where a related record meets these conditions.
emailSequenceEmailSequenceFilterInputEmail sequence this enrolment belongs to. Matches records where a related record meets these conditions.
leadLeadFilterInputLead that was enrolled, when the trigger entity is a Lead; otherwise empty. Matches records where a related record meets these conditions.
opptyOpportunityFilterInputOpportunity that was enrolled, when the trigger entity is an Opportunity; otherwise empty. Matches records where a related record meets these conditions.
projectProjectFilterInputProject that was enrolled, when the trigger entity is a Project; otherwise empty. Matches records where a related record meets these conditions.
EmailSequenceEnrolledOrderByInput input Asc or Desc per field

Sorting of EmailSequenceEnrolled 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 that was enrolled, when the trigger entity is an Account; otherwise empty. Sorts by fields of the related record, listed in order of priority.
actor[ClientOrderByNestedInput!]User who triggered the enrolment, or empty for runs triggered by automation. Sorts by fields of the related record, listed in order of priority.
application[ApplicationOrderByNestedInput!]Application context the enrolment was triggered in. Sorts by fields of the related record, listed in order of priority.
contact[ContactOrderByNestedInput!]Contact that was enrolled, when the trigger entity is a Contact; otherwise empty. Sorts by fields of the related record, listed in order of priority.
emailSequenceActivityLog[EmailSequenceActivityLogOrderByNestedInput!]Activity log run that produced this enrolment. Sorts by fields of the related record, listed in order of priority.
emailSequence[EmailSequenceOrderByNestedInput!]Email sequence this enrolment belongs to. Sorts by fields of the related record, listed in order of priority.
lead[LeadOrderByNestedInput!]Lead that was enrolled, when the trigger entity is a Lead; otherwise empty. Sorts by fields of the related record, listed in order of priority.
oppty[OpportunityOrderByNestedInput!]Opportunity that was enrolled, when the trigger entity is an Opportunity; otherwise empty. Sorts by fields of the related record, listed in order of priority.
project[ProjectOrderByNestedInput!]Project that was enrolled, when the trigger entity is a Project; otherwise empty. Sorts by fields of the related record, listed in order of priority.
accountIdOrderByEnumId of the enrolled account.
actorIdOrderByEnumId of the user who triggered the enrolment, or empty for runs triggered by automation.
applicationIdOrderByEnumId of the application (e.g. browser, automation, third-party integration) the enrolment was triggered in.
contactIdOrderByEnumId of the enrolled contact.
emailSequenceActivityLogIdOrderByEnumId of the activity log run that produced this enrolment.
emailSequenceIdOrderByEnumId of the email sequence this enrolment belongs to.
endReasonOrderByEnumWhy the enrolment ended: Finished after all steps, Unenrolled when the record was removed before finishing, or NoReason while the enrolment is still active.
endTimeOrderByEnumTimestamp when the enrolment ended (completed or unenrolled). Empty while the enrolment is active.
excludedFromStatsOrderByEnumTrue when this enrolment is excluded from sequence statistics (e.g. after a stats reset).
leadIdOrderByEnumId of the enrolled lead.
opptyIdOrderByEnumId of the enrolled opportunity.
projectIdOrderByEnumId of the enrolled project.
startTimeOrderByEnumTimestamp when the enrolment started.
stepCountOrderByEnumNumber of steps the enrolment has reached. Read-only.
nameOrderByEnumDisplay name of the enrolled record, formatted according to the calling user's preferred name format. Empty when the underlying record has been deleted.
addressOrderByEnumEmail address used for delivery of this enrolment.
stepIndexOrderByEnumZero-based index of the next step the enrolment will execute (i.e. one past the highest stepIndex recorded in EmailSequenceEnrolledStatus). Empty before the first step runs.
statusOrderByEnumStatus of the enrolment's most recent sequence run (e.g. Ok, Warning, Error). Empty before the first run.
entityNameOrderByEnumName of the enrolled entity (Account, Contact, Lead, Opportunity, or Project), derived from entityType.
CreateEmailSequenceEnrolledInput input 16 fields: clientMutationId, modified, created, …

Field values of a new EmailSequenceEnrolled 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 enrolled account.
actorIdIDId of the user who triggered the enrolment, or empty for runs triggered by automation.
applicationIdID!Id of the application (e.g. browser, automation, third-party integration) the enrolment was triggered in.
contactIdIDId of the enrolled contact.
emailSequenceActivityLogIdID!Id of the activity log run that produced this enrolment.
emailSequenceIdID!Id of the email sequence this enrolment belongs to.
endReasonEmailSequenceEndReasonEnumWhy the enrolment ended: Finished after all steps, Unenrolled when the record was removed before finishing, or NoReason while the enrolment is still active.
endTimeDateTimeTimestamp when the enrolment ended (completed or unenrolled). Empty while the enrolment is active.
excludedFromStatsBooleanTrue when this enrolment is excluded from sequence statistics (e.g. after a stats reset).
leadIdIDId of the enrolled lead.
opptyIdIDId of the enrolled opportunity.
projectIdIDId of the enrolled project.
startTimeDateTime!Timestamp when the enrolment started.
CreateOrUpdateEmailSequenceEnrolledInput input 17 fields: clientMutationId, id, modified, …

Field values of an EmailSequenceEnrolled 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 enrolled account.
actorIdIDId of the user who triggered the enrolment, or empty for runs triggered by automation.
applicationIdIDId of the application (e.g. browser, automation, third-party integration) the enrolment was triggered in.
contactIdIDId of the enrolled contact.
emailSequenceActivityLogIdIDId of the activity log run that produced this enrolment.
emailSequenceIdIDId of the email sequence this enrolment belongs to.
endReasonEmailSequenceEndReasonEnumWhy the enrolment ended: Finished after all steps, Unenrolled when the record was removed before finishing, or NoReason while the enrolment is still active.
endTimeDateTimeTimestamp when the enrolment ended (completed or unenrolled). Empty while the enrolment is active.
excludedFromStatsBooleanTrue when this enrolment is excluded from sequence statistics (e.g. after a stats reset).
leadIdIDId of the enrolled lead.
opptyIdIDId of the enrolled opportunity.
projectIdIDId of the enrolled project.
startTimeDateTimeTimestamp when the enrolment started.
DeleteEmailSequenceEnrolledInput input clientMutationId: String, id: ID!

Id of the EmailSequenceEnrolled 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.
UpdateEmailSequenceEnrolledInput input 17 fields: clientMutationId, id, modified, …

Id of an EmailSequenceEnrolled 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 enrolled account.
actorIdIDId of the user who triggered the enrolment, or empty for runs triggered by automation.
applicationIdIDId of the application (e.g. browser, automation, third-party integration) the enrolment was triggered in.
contactIdIDId of the enrolled contact.
emailSequenceActivityLogIdIDId of the activity log run that produced this enrolment.
emailSequenceIdIDId of the email sequence this enrolment belongs to.
endReasonEmailSequenceEndReasonEnumWhy the enrolment ended: Finished after all steps, Unenrolled when the record was removed before finishing, or NoReason while the enrolment is still active.
endTimeDateTimeTimestamp when the enrolment ended (completed or unenrolled). Empty while the enrolment is active.
excludedFromStatsBooleanTrue when this enrolment is excluded from sequence statistics (e.g. after a stats reset).
leadIdIDId of the enrolled lead.
opptyIdIDId of the enrolled opportunity.
projectIdIDId of the enrolled project.
startTimeDateTimeTimestamp when the enrolment started.
BulkUpdateEmailSequenceEnrolledPayload object result: BulkUpdateResults!

Result of the bulkUpdateEmailSequenceEnrolled mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateEmailSequenceEnrolledPayload object emailSequenceEnrolled: EmailSequenceEnrolledEntity, clientMutationId: String

Result of the createEmailSequenceEnrolled mutation.

FieldTypeDescription
emailSequenceEnrolledEmailSequenceEnrolledEntityThe 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).
DeleteEmailSequenceEnrolledPayload object emailSequenceEnrolled: EmailSequenceEnrolledEntity, clientMutationId: String

Result of the deleteEmailSequenceEnrolled mutation.

FieldTypeDescription
emailSequenceEnrolledEmailSequenceEnrolledEntityThe 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).
UpdateEmailSequenceEnrolledPayload object emailSequenceEnrolled: EmailSequenceEnrolledEntity, clientMutationId: String

Result of the updateEmailSequenceEnrolled mutation.

FieldTypeDescription
emailSequenceEnrolledEmailSequenceEnrolledEntityThe 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).
EmailSequenceEndReasonEnum enum NoReason, Unenrolled, Finished

Why a record's enrollment in an email sequence ended.

ValueDescription
NoReasonThe enrollment has not ended; the record is still in the sequence.
UnenrolledThe record was removed before finishing, for example manually, by a process, by a step condition or because the sequence expired.
FinishedThe record went through all steps of the sequence.