Retrieve a sequence enrollment
sequence.retrieve_enrollment(strenrollment_id, SequenceRetrieveEnrollmentParams**kwargs) -> SequenceRetrieveEnrollmentResponse
GET/v1/sequences/{id}/enrollments/{enrollmentId}
Retrieves a single enrollment by its ID: the contact’s position in the cadence and its latest activity. Test-run enrollments are not returned.
Required scope: sequences:read
Rate limit category: Read
Retrieve a sequence enrollment
from lightfield import Lightfield
client = Lightfield(
api_key="My API Key",
)
sequence_retrieve_enrollment_response = client.sequence.retrieve_enrollment(
enrollment_id="enrollmentId",
id="id",
)
print(sequence_retrieve_enrollment_response.id){
"id": "id",
"cancelledAt": "cancelledAt",
"completedAt": "completedAt",
"contactId": "contactId",
"currentStepId": "currentStepId",
"enrolledAt": "enrolledAt",
"enrolledBy": "enrolledBy",
"lastActivityAt": "lastActivityAt",
"lastActivityKind": "SENT",
"nextSendAt": "nextSendAt",
"remainingSends": -9007199254740991,
"repliedAt": "repliedAt",
"status": "ACTIVE"
}Returns Examples
{
"id": "id",
"cancelledAt": "cancelledAt",
"completedAt": "completedAt",
"contactId": "contactId",
"currentStepId": "currentStepId",
"enrolledAt": "enrolledAt",
"enrolledBy": "enrolledBy",
"lastActivityAt": "lastActivityAt",
"lastActivityKind": "SENT",
"nextSendAt": "nextSendAt",
"remainingSends": -9007199254740991,
"repliedAt": "repliedAt",
"status": "ACTIVE"
}