Download OpenAPI specification:Download
The Agent IQ API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs. Your API url will be sent to you, along with the keys. For Production, the URL will look like this: api-v2.[FI-domain].agentiq.co and UAT like this: api-v2.[FI-domain]-uat.agentiq.co
Fetch full conversations that match parameters
start_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
end_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ. default: Now |
updated_start_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
updated_end_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
customer_id | integer This is an AgentIQ ID. This is the Customer ID. Customer ID is also referred to as Lynq ID. This is the unique identifier for each customer or member record. |
agent_id | integer Id of agent (Agent IQ id) |
x-api-key required | string |
{- "conversation_id": 0,
- "customer_id": 0,
- "conversation_referer_url": "string",
- "created_at": "string",
- "updated_at": "string",
- "agents": [
- 0
], - "entities": {
- "name": "string",
- "resolved_value": "string",
- "extras": { }
}, - "chat_transcript": {
- "type": "string",
- "first_name": "string",
- "last_name": "string",
- "sender_id": 0,
- "message_id": 0,
- "external_id": "string",
- "content": "string",
- "action": "string",
- "time_stamp": "string",
- "message_referer_url": "string"
}
}
Fetch customers that match parameters
start_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
end_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ. default: Now |
updated_start_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
updated_end_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
customer_id | integer This is an AgentIQ ID. This is the Customer ID. Customer ID is also referred to as Lynq ID. This is the unique identifier for each customer or member record. |
external_id | string External Id of the customer (Client id). |
name | string First name, last name or full name of the customer. |
string Customer email associated with account. | |
primary_agent_id | integer Id of primary agent related to customer (Agent IQ id) |
x-api-key required | string |
{- "id": 0,
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "phone": "string",
- "created_at": "string",
- "updated_at": "string",
- "first_message": "string",
- "last_message": "string",
- "last_login": "string",
- "first_banker_chosen": "string",
- "last_banker_chosen": "string",
- "primary_agent": 0,
- "profile": { },
- "external_id": "string",
- "customer_segment": "string"
}
Fetch agents that match parameters.
start_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
end_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ. default: Now |
updated_start_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
updated_end_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
agent_id | integer This is an AgentIQ ID. The Agent ID is a unique identifier for each agent record. |
external_id | string External Id of the agent (Client id). |
name | string First name, last name or full name of the agent. |
string Agent's email associated with account. |
x-api-key required | string |
{- "id": 0,
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "phone": "string",
- "created_at": "string",
- "updated_at": "string",
- "deleted_at": "string",
- "deactivated_at": "string",
- "profile": { },
- "roles": [
- "string"
], - "teams": [
- "string"
], - "watcher_teams": [
- "string"
], - "external_id": "string",
- "agent_segment": "string"
}
Fetch customer feedback that match parameters
customer_id | integer This is an AgentIQ ID. This is the Customer ID. Customer ID is also referred to as Lynq ID. This is the unique identifier for each customer or member record. |
primary_agent_id | integer Id of primary agent related to customer when survey was sent (Agent IQ id) |
sender_id | integer Id of agent whom sent the survey (Agent IQ id) |
type | string Enum: "csat" "nps" Type of survey sent |
start_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
end_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ. default: Now |
x-api-key required | string |
{- "id": 0,
- "type": "csat",
- "customer_id": 0,
- "primary_agent_id": 0,
- "sender_id": 0,
- "time_stamp": "string",
- "value": 0,
- "content": {
- "comments": "string",
- "description": "string"
}
}
Fetch agent availability.
start_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
end_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ. default: Now |
agent_id | integer Id of agent (Agent IQ id). |
event_name | string Name of event. |
event_id | integer Id of event. |
executor_id | integer Id of agent who triggered the event (Agent IQ id). |
x-api-key required | string |
{- "created_at": "string",
- "event_name": "available",
- "agent_id": 0,
- "event_id": 0,
- "executor_id": 0
}
Fetch agent assignments, locks along with capacity and availability.
start_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ |
end_date | string Timestamp with format YYYY-MM-DDTHH:MM:SSZ. default: Now |
agent_id | integer Id of agent (Agent IQ id). |
conversation_id | integer Id of conversation. |
action_type | string Enum: "assignment" "lock" "unlock" type of action. |
action_id | integer Id of action event. |
x-api-key required | string |
{- "action_id": 0,
- "action_type": "assignment",
- "action_time": "string",
- "agent_availability": "string",
- "agent_capacity": 0,
- "agent_id": 0,
- "actor_id": 0,
- "load": 0,
- "conversation_id": 0
}
Get Agent by id or 'me'
query | string |
limit | integer Default: 50 |
offset | integer Default: 0 |
exclude | Array of integers Array of id's to exclude (can include multiple exclude[] params) |
{- "models": [
- {
- "id": 0,
- "email": "string",
- "profile": {
- "first_name": "string",
- "last_name": "string",
- "position": "string",
- "tagline": "string",
- "expertise": "string",
- "intro": "string",
- "location": "string",
- "about": "string",
- "availability": "string",
- "background_file_id": 0,
- "phone": "string"
}, - "totalPrimaryCustomers": 0,
- "totalLogins": 0,
- "busy_status": {
- "status": "",
- "vacation": {
- "message_to_customer": "string"
}
}
}
], - "pagination": {
- "limit": 0,
- "offset": 0,
- "rowCount": 0,
- "pageCount": 0
}
}
Expect Banker First Name, Banker Last Name, Banker Email (Required if banker info is provided), BankerMapID, BankerTeam, Customer First Name, Customer Last Name, CustomerMapID (Required if customer info is provided), Customer Email, Customer Group, Date Added, Customer Phone in csv
file | string <binary> csv file |
{- "total": [
- null
], - "success": [
- null
], - "failure": [
- null
], - "summary": { }
}