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

GraphQLRepositoriesunsubscribedPhone

entities.unsubscribedPhone

Read unsubscribed phone records with the unsubscribedPhone repository, and change them with the unsubscribed phone mutations. Same records as the REST UnsubscribedPhones entity.

Queries

Fields of entities { unsubscribedPhone { … } }.

KindFieldReturns
QUERYgetById(entityId: ID!)
Returns the record with the given id, or null when there is none. Deleted records are returned as well.
UnsubscribedPhoneEntity
QUERYgetByIds(entityIds: [ID!]!)
Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
[UnsubscribedPhoneEntity!]!
QUERYgetAll(limit: Int, offset: Int, filter: UnsubscribedPhoneFilterInput, orderBy: [UnsubscribedPhoneOrderByInput!], includeDeleted: Boolean)
Returns the records that match the filter, paged with limit and offset.
[UnsubscribedPhoneEntity!]!
QUERYgetByCriteria(filter: UnsubscribedPhoneFilterInput, orderBy: [UnsubscribedPhoneOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int)
Returns the records that match the filter as a cursor-paginated connection.
UnsubscribedPhoneEntityConnection
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
MUTATIONcreateUnsubscribedPhone(input: CreateUnsubscribedPhoneInput!, validationLevel: [ValidationLevel!])Create one recordCreateUnsubscribedPhonePayload
MUTATIONupdateUnsubscribedPhone(input: UpdateUnsubscribedPhoneInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String)Update fieldsUpdateUnsubscribedPhonePayload
MUTATIONbulkUpdateUnsubscribedPhone(input: [CreateOrUpdateUnsubscribedPhoneInput!]!, deleteInput: [DeleteUnsubscribedPhoneInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput)Create or update many; per-item resultsBulkUpdateUnsubscribedPhonePayload
MUTATIONdeleteUnsubscribedPhone(input: DeleteUnsubscribedPhoneInput!)Soft-deleteDeleteUnsubscribedPhonePayload

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.

UnsubscribedPhoneEntity object 8 fields: isDeleteProtected, id, isDeleted, …

Phone number that opted out of receiving text messages.

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.
phoneStringPhone number that has unsubscribed from receiving SMS messages, in E.164 format.
revisionIntRevision when entity was lastly changed.
instancePermissions[EntityPermsEnum!]! (1 args)Permissions the current user has on this record, out of the requested ones.
UnsubscribedPhoneEntityConnection object pageInfo: PageInfo!, edges: [UnsubscribedPhoneEntityEdge]!, totalCount: Int

Paginated list of UnsubscribedPhone records.

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

A Relay edge containing a UnsubscribedPhoneEntity and its cursor.

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

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

Input fieldTypeDescription
OR[UnsubscribedPhoneFilterInput!]Matches records that meet at least one of the listed filters.
AND[UnsubscribedPhoneFilterInput!]Matches records that meet all of the listed filters.
NOTUnsubscribedPhoneFilterInputMatches 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.
phoneEntityFilterStringFieldPhone number that has unsubscribed from receiving SMS messages, in E.164 format.
revisionEntityFilterNumberFieldRevision when entity was lastly changed.
UnsubscribedPhoneOrderByInput input Asc or Desc per field

Sorting of UnsubscribedPhone 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.
phoneOrderByEnumPhone number that has unsubscribed from receiving SMS messages, in E.164 format.
revisionOrderByEnumRevision when entity was lastly changed.
CreateOrUpdateUnsubscribedPhoneInput input 6 fields: clientMutationId, id, modified, …

Field values of an UnsubscribedPhone 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.
phoneStringPhone number that has unsubscribed from receiving SMS messages, in E.164 format.
revisionIntRevision when entity was lastly changed.
CreateUnsubscribedPhoneInput input 5 fields: clientMutationId, modified, created, …

Field values of a new UnsubscribedPhone 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.
phoneStringPhone number that has unsubscribed from receiving SMS messages, in E.164 format.
revisionIntRevision when entity was lastly changed.
DeleteUnsubscribedPhoneInput input clientMutationId: String, id: ID!

Id of the UnsubscribedPhone 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.
UpdateUnsubscribedPhoneInput input 6 fields: clientMutationId, id, modified, …

Id of an UnsubscribedPhone 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.
phoneStringPhone number that has unsubscribed from receiving SMS messages, in E.164 format.
revisionIntRevision when entity was lastly changed.
BulkUpdateUnsubscribedPhonePayload object result: BulkUpdateResults!

Result of the bulkUpdateUnsubscribedPhone mutation.

FieldTypeDescription
resultBulkUpdateResults!Ids of the created, updated and deleted records, and the items that failed.
CreateUnsubscribedPhonePayload object unsubscribedPhone: UnsubscribedPhoneEntity, clientMutationId: String

Result of the createUnsubscribedPhone mutation.

FieldTypeDescription
unsubscribedPhoneUnsubscribedPhoneEntityThe 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).
DeleteUnsubscribedPhonePayload object unsubscribedPhone: UnsubscribedPhoneEntity, clientMutationId: String

Result of the deleteUnsubscribedPhone mutation.

FieldTypeDescription
unsubscribedPhoneUnsubscribedPhoneEntityThe 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).
UpdateUnsubscribedPhonePayload object unsubscribedPhone: UnsubscribedPhoneEntity, clientMutationId: String

Result of the updateUnsubscribedPhone mutation.

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