echowin
App · 19 actions
Read echowin agents, contacts, conversations, and team records.
Actions
| Action | What it does |
|---|---|
| Get a contact | Get a contact. |
| Get a conversation | Get a conversation. |
| Get a team member | Get a team member. |
| Get agent instructions | Get agent instructions. |
| Get an agent | Get an agent. |
| Get connection details | Get connection details. |
| List agent instruction versions | List agent instruction versions. |
| List agents | List agents. |
| List campaigns | List campaigns. |
| List contact notes | List contact notes. |
| List contact timeline entries | List contact timeline entries. |
| List contacts | List contacts. |
| List conversation messages | List conversation messages. |
| List conversation notes | List conversation notes. |
| List conversation tags | List conversation tags. |
| List conversations | List conversations. |
| List knowledge bases | List knowledge bases. |
| List phone numbers | List phone numbers. |
| List team members | List team members. |
Get a contact
Get a contact.
Inputs
- Contact ID
contact_idtextRequired - contactId to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"activity": {
"conversations": 1,
"lastChannel": "example",
"lastConversationAt": "example"
},
"address": {},
"assignments": [],
"autoPopulated": false,
"company": "example",
"createdAt": "example",
"customFields": {},
"doNotCall": false,
"e164": "example",
"email": "example",
"favorite": false,
"firstName": "example",
"id": "example",
"lastName": "example",
"listIds": [],
"memory": "example",
"notes": [],
"ownerUserId": "example",
"source": "example",
"tags": [],
"tenantId": "example",
"updatedAt": "example"
}
}Get a conversation
Get a conversation.
Inputs
- Conversation ID
conversation_idtextRequired - conversationId to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"agent": {},
"agentId": "example",
"answeredAt": "example",
"archived": false,
"billedSeconds": 1.0,
"callDetails": {},
"campaignContactId": "example",
"campaignId": "example",
"channel": "phone",
"contact": {},
"contactId": "example",
"contentDeleted": false,
"createdAt": "example",
"direction": "inbound",
"durationMs": 1.0,
"endedAt": "example",
"favorite": false,
"feedback": {
"own": {
"authorName": "example",
"comment": "example",
"createdAt": "example",
"id": "example",
"mine": false,
"rating": "like"
},
"reports": []
},
"flagged": false,
"fromAddress": "example",
"id": "example",
"isTest": false,
"masked": false,
"memory": "example",
"messages": [],
"metadata": {},
"scheduledCallId": "example",
"score": 1.0,
"spam": false,
"startedAt": "example",
"status": "queued",
"summary": "example",
"tenantId": "example",
"title": "example",
"toAddress": "example",
"updatedAt": "example",
"widgetId": "example"
}
}Get a team member
Get a team member.
Inputs
- Member ID
member_idtextRequired - memberId to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"clientTenantIds": [],
"createdAt": "example",
"emailNotifications": false,
"id": "example",
"lastActiveAt": "example",
"restrictedToAssignedClients": false,
"role": "owner",
"tenantId": "example",
"user": {
"email": "example",
"image": "example",
"name": "example"
},
"userId": "example"
}
}Get agent instructions
Get agent instructions.
Inputs
- Agent ID
agent_idtextRequired - agentId to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"agentId": "example",
"instructions": "example",
"source": "example",
"updatedAt": "example",
"versionId": "example"
}
}Get an agent
Get an agent.
Inputs
- Agent ID
agent_idtextRequired - agentId to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"autoDeleteTranscripts": false,
"callTimeoutSeconds": 1,
"config": {},
"createdAt": "example",
"description": "example",
"id": "example",
"initialMessage": "example",
"instructions": "example",
"keyPhrases": [],
"knowledgeBaseIds": [],
"language": "example",
"modelTier": "speedy",
"name": "example",
"omegaThinkingLevel": "example",
"phoneNumberIds": [],
"setup": {
"error": "example",
"status": "example",
"step": "example"
},
"skipRecordingNotice": false,
"speechEngine": "omega",
"status": "live",
"templateId": "example",
"tenantId": "example",
"testPhoneNumber": "example",
"timezone": "example",
"updatedAt": "example",
"voiceConfig": {},
"voiceId": "example",
"widgetIds": []
}
}Get connection details
Get connection details.
Inputs
None.
Outputs
dataobject- Response.
Example output
{
"data": {
"activeTenantId": "example",
"apiKey": {
"id": "example",
"scopes": [],
"tenantId": "example"
},
"impersonation": {
"actorEmail": "example",
"actorId": "example",
"actorName": "example",
"expiresAt": "example"
},
"memberships": [],
"type": "user",
"user": {
"email": "example",
"emailVerified": false,
"id": "example",
"image": "example",
"name": "example",
"twoFactorEnabled": false
}
}
}List agent instruction versions
List agent instruction versions.
Inputs
- Agent ID
agent_idtextRequired - agentId to use.
- Limit
limitnumber - limit to use.From 1 to 100.
- Cursor
cursortext - `nextCursor` from the previous page
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}List agents
List agents.
Inputs
- Limit
limitnumber - limit to use.From 1 to 100.
- Cursor
cursortext - `nextCursor` from the previous page
- Q
qtext - Name contains
- Status
statustext - Derived; see agentStatus in apps/api/src/lib/agents.tsOne of:
live,not_connected(Not connected),building,needs_attention(Needs attention). - Sort
sorttext - `-lastConversationAt` puts agents without real conversations lastOne of:
-createdAt,name,-lastConversationAt.
Outputs
dataobject- Response.
Example output
{
"data": {
"counts": {
"all": 1,
"building": 1,
"live": 1,
"needs_attention": 1,
"not_connected": 1
},
"data": [],
"nextCursor": "example"
}
}List campaigns
List campaigns.
Inputs
- Limit
limitnumber - limit to use.From 1 to 100.
- Cursor
cursortext - `nextCursor` from the previous page
- Status
statustext - status to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}List contact notes
List contact notes.
Inputs
- Contact ID
contact_idtextRequired - contactId to use.
- Limit
limitnumber - limit to use.From 1 to 100.
- Cursor
cursortext - `nextCursor` from the previous page
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}List contact timeline entries
List contact timeline entries.
Inputs
- Contact ID
contact_idtextRequired - contactId to use.
- Limit
limitnumber - limit to use.From 1 to 100.
- Cursor
cursortext - `nextCursor` from the previous page
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}List contacts
List contacts.
Inputs
- Limit
limitnumber - limit to use.From 1 to 100.
- Cursor
cursortext - `nextCursor` from the previous page
- Q
qtext - q to use.
- Do not call
do_not_calltext - doNotCall to use.One of:
true,false. - Favorite
favoritetext - favorite to use.One of:
true,false. - Created after
created_afterdate and time - createdAfter to use.
- Created before
created_beforedate and time - createdBefore to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}List conversation messages
List conversation messages.
Inputs
- Conversation ID
conversation_idtextRequired - conversationId to use.
- Limit
limitnumber - limit to use.From 1 to 500.
- Cursor
cursortext - cursor to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}List conversation notes
List conversation notes.
Inputs
- Conversation ID
conversation_idtextRequired - conversationId to use.
- Limit
limitnumber - limit to use.From 1 to 100.
- Cursor
cursortext - `nextCursor` from the previous page
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}List conversation tags
List conversation tags.
Inputs
- Conversation ID
conversation_idtextRequired - conversationId to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}List conversations
List conversations.
Inputs
- Limit
limitnumber - limit to use.From 1 to 100.
- Cursor
cursortext - `nextCursor` from the previous page
- Channel
channeltext - channel to use.
- Direction
directiontext - direction to use.One of:
inbound,outbound. - Status
statustext - status to use.One of:
queued,ringing,active,ended,failed,no_answer(No answer),busy,canceled. - Live
livetext - live to use.One of:
true. - Agent ID
agent_idtext - agentId to use.
- Flagged
flaggedtext - flagged to use.One of:
true,false. - Favorite
favoritetext - favorite to use.One of:
true,false. - Started after
started_afterdate and time - startedAfter to use.
- Started before
started_beforedate and time - startedBefore to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}List knowledge bases
List knowledge bases.
Inputs
- Limit
limitnumber - limit to use.From 1 to 100.
- Cursor
cursortext - `nextCursor` from the previous page
- Q
qtext - q to use.
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}List phone numbers
List phone numbers.
Inputs
- Limit
limitnumber - limit to use.From 1 to 100.
- Cursor
cursortext - `nextCursor` from the previous page
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}List team members
List team members.
Inputs
- Limit
limitnumber - limit to use.From 1 to 100.
- Cursor
cursortext - `nextCursor` from the previous page
- Role
roletext - role to use.One of:
owner,admin,member,viewer,staff_admin(Staff admin),staff_support(Staff support). - Q
qtext - Name or email contains
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"nextCursor": "example"
}
}