curl --request GET \
--url https://prod.featherhq.com/api/v1/workflow/{workflowId}/execution/{executionId} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflowId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "CREATED",
"temporalWorkflowId": "<string>",
"startedAt": "<string>",
"completedAt": "<string>",
"customerLeadId": "<string>",
"metadata": {
"firstName": "<string>",
"lastName": "<string>"
},
"disposition": "COULD_NOT_CONNECT",
"definition": {
"steps": [
{
"type": "CALL",
"order": 2,
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"delayInSecs": 0,
"finishOn": [],
"leaveVoicemail": false
}
]
},
"stepExecutions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflowExecutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "PENDING",
"type": "CALL",
"order": 123,
"delayInSecs": 123,
"finishOn": [
"COULD_NOT_CONNECT"
],
"startedAt": "<string>",
"completedAt": "<string>",
"leaveVoicemail": true,
"disposition": "COULD_NOT_CONNECT",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agentCall": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"callStartedAt": "<string>",
"callEndedAt": "<string>",
"callDuration": 123,
"callEndedReason": "COULD_NOT_CONNECT",
"recordingUrl": "<string>",
"summary": "<string>"
}
}
],
"createdAt": "<string>"
}Get an agent workflow execution by ID
curl --request GET \
--url https://prod.featherhq.com/api/v1/workflow/{workflowId}/execution/{executionId} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflowId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "CREATED",
"temporalWorkflowId": "<string>",
"startedAt": "<string>",
"completedAt": "<string>",
"customerLeadId": "<string>",
"metadata": {
"firstName": "<string>",
"lastName": "<string>"
},
"disposition": "COULD_NOT_CONNECT",
"definition": {
"steps": [
{
"type": "CALL",
"order": 2,
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"delayInSecs": 0,
"finishOn": [],
"leaveVoicemail": false
}
]
},
"stepExecutions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"workflowExecutionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "PENDING",
"type": "CALL",
"order": 123,
"delayInSecs": 123,
"finishOn": [
"COULD_NOT_CONNECT"
],
"startedAt": "<string>",
"completedAt": "<string>",
"leaveVoicemail": true,
"disposition": "COULD_NOT_CONNECT",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"agentCall": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"callStartedAt": "<string>",
"callEndedAt": "<string>",
"callDuration": 123,
"callEndedReason": "COULD_NOT_CONNECT",
"recordingUrl": "<string>",
"summary": "<string>"
}
}
],
"createdAt": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Agent workflow execution retrieved successfully
Execution ID
Workflow ID
Execution status
CREATED, RUNNING, COMPLETED, FAILED, CANCELLED, PAUSED Temporal workflow ID
Execution start timestamp
Execution completion timestamp
Customer lead identifier
Final execution disposition
COULD_NOT_CONNECT, NO_ANSWER, LEFT_VOICEMAIL, VOICEMAIL_DETECTED, SILENCE_TIMEOUT, BAD_NUMBER, NOT_INTERESTED, WARM_TRANSFER, CALENDLY, DNC, ENDED, FRAUD, LINE_BUSY, TEXT_CONSENT, CALL_AGAIN Workflow definition snapshot
Show child attributes
Workflow steps
1Show child attributes
Type of workflow step
CALL, TEXT Order of execution (1-indexed)
x >= 1Agent to use for this step
Delay in seconds before executing this step
x >= 0Call end reasons that should finish the workflow
COULD_NOT_CONNECT, NO_ANSWER, LEFT_VOICEMAIL, VOICEMAIL_DETECTED, SILENCE_TIMEOUT, BAD_NUMBER, NOT_INTERESTED, WARM_TRANSFER, CALENDLY, DNC, ENDED, FRAUD, LINE_BUSY, TEXT_CONSENT, CALL_AGAIN Whether to leave voicemail for call steps
Step executions
Show child attributes
Step execution ID
Workflow execution ID
Step status
PENDING, IN_PROGRESS, COMPLETED, FAILED, SKIPPED, CANCELLED Step type
CALL, TEXT Step order
Delay in seconds
Workflow finish conditions
COULD_NOT_CONNECT, NO_ANSWER, LEFT_VOICEMAIL, VOICEMAIL_DETECTED, SILENCE_TIMEOUT, BAD_NUMBER, NOT_INTERESTED, WARM_TRANSFER, CALENDLY, DNC, ENDED, FRAUD, LINE_BUSY, TEXT_CONSENT, CALL_AGAIN Step start timestamp
Step completion timestamp
Whether to leave voicemail
Step disposition
COULD_NOT_CONNECT, NO_ANSWER, LEFT_VOICEMAIL, VOICEMAIL_DETECTED, SILENCE_TIMEOUT, BAD_NUMBER, NOT_INTERESTED, WARM_TRANSFER, CALENDLY, DNC, ENDED, FRAUD, LINE_BUSY, TEXT_CONSENT, CALL_AGAIN Agent ID
Associated agent call details
Show child attributes
COULD_NOT_CONNECT, NO_ANSWER, LEFT_VOICEMAIL, VOICEMAIL_DETECTED, SILENCE_TIMEOUT, BAD_NUMBER, NOT_INTERESTED, WARM_TRANSFER, CALENDLY, DNC, ENDED, FRAUD, LINE_BUSY, TEXT_CONSENT, CALL_AGAIN Creation timestamp