2020-04-20 06:25:06 +00:00
|
|
|
|
2020-03-11 10:49:13 +00:00
|
|
|
|
2020-08-18 06:44:37 +00:00
|
|
|
|
2020-03-11 10:49:13 +00:00
|
|
|
# Inboxes
|
2020-04-07 04:49:19 +00:00
|
|
|
/accounts/{account_id}/inboxes:
|
2020-03-11 10:49:13 +00:00
|
|
|
$ref: ./inboxes/index.yml
|
2021-05-11 17:08:46 +00:00
|
|
|
/accounts/{account_id}/inboxes/:
|
2020-04-20 06:25:06 +00:00
|
|
|
$ref: ./inboxes/create.yml
|
2020-04-07 04:49:19 +00:00
|
|
|
/accounts/{account_id}/inboxes/{id}:
|
2020-03-11 10:49:13 +00:00
|
|
|
$ref: ./inboxes/update.yml
|
2020-04-07 05:11:18 +00:00
|
|
|
/accounts/{account_id}/inboxes/{id}/set_agent_bot:
|
2020-04-10 11:12:37 +00:00
|
|
|
$ref: ./inboxes/set_agent_bot.yml
|
2020-04-07 05:11:18 +00:00
|
|
|
|
|
|
|
/agent_bots:
|
|
|
|
$ref: ./agent_bots/index.yml
|
|
|
|
|
2020-02-23 19:21:31 +00:00
|
|
|
# Conversations
|
2020-04-07 04:49:19 +00:00
|
|
|
/accounts/{account_id}/conversations:
|
2021-05-11 14:50:52 +00:00
|
|
|
parameters:
|
|
|
|
- $ref: '#/parameters/account_id'
|
2020-04-10 11:12:37 +00:00
|
|
|
$ref: ./conversation/index_or_create.yml
|
2021-05-11 14:50:52 +00:00
|
|
|
|
|
|
|
/accounts/{account_id}/conversations/{converstion_id}:
|
|
|
|
parameters:
|
|
|
|
- $ref: '#/parameters/account_id'
|
|
|
|
- $ref: '#/parameters/conversation_id'
|
|
|
|
get:
|
|
|
|
$ref: ./conversation/show.yml
|
|
|
|
|
|
|
|
/accounts/{account_id}/conversations/{conversation_id}/toggle_status:
|
|
|
|
parameters:
|
|
|
|
- $ref: '#/parameters/account_id'
|
|
|
|
- $ref: '#/parameters/conversation_id'
|
|
|
|
post:
|
|
|
|
$ref: ./conversation/toggle_status.yml
|
2020-03-11 10:49:13 +00:00
|
|
|
|
|
|
|
# Messages
|
2021-05-11 17:08:46 +00:00
|
|
|
/accounts/{account_id}/conversations/{id}/messages:
|
|
|
|
$ref: ./conversation/messages/create_attachment.yml
|
2021-05-11 14:50:52 +00:00
|
|
|
/accounts/{account_id}/conversations/{converstion_id}/messages:
|
|
|
|
parameters:
|
|
|
|
- $ref: '#/parameters/account_id'
|
|
|
|
- $ref: '#/parameters/conversation_id'
|
|
|
|
get:
|
|
|
|
$ref: ./conversation/messages/index.yml
|
|
|
|
post:
|
|
|
|
$ref: ./conversation/messages/create.yml
|
2020-03-11 10:49:13 +00:00
|
|
|
|
2021-05-11 14:50:52 +00:00
|
|
|
/accounts/{account_id}/conversations/{conversation_id}/messages/{message_id}:
|
|
|
|
parameters:
|
|
|
|
- $ref: '#/parameters/account_id'
|
|
|
|
- $ref: '#/parameters/conversation_id'
|
|
|
|
- $ref: '#/parameters/message_id'
|
|
|
|
delete:
|
|
|
|
$ref: ./conversation/messages/delete.yml
|
2020-03-11 10:49:13 +00:00
|
|
|
|
2021-05-11 14:50:52 +00:00
|
|
|
|
|
|
|
/accounts/{account_id}/conversations/{conversation_id}/labels:
|
|
|
|
parameters:
|
|
|
|
- $ref: '#/parameters/account_id'
|
|
|
|
- $ref: '#/parameters/conversation_id'
|
|
|
|
get:
|
|
|
|
$ref: ./conversation/labels/index.yml
|
|
|
|
post:
|
|
|
|
$ref: ./conversation/labels/create.yml
|
|
|
|
|
|
|
|
/accounts/{account_id}/conversations/{conversation_id}/assignments:
|
|
|
|
parameters:
|
|
|
|
- $ref: '#/parameters/account_id'
|
|
|
|
- $ref: '#/parameters/conversation_id'
|
|
|
|
post:
|
|
|
|
$ref: ./conversation/assignments.yml
|
2020-03-11 10:49:13 +00:00
|
|
|
|
|
|
|
# Contacts
|
2020-04-07 04:49:19 +00:00
|
|
|
/accounts/{account_id}/contacts:
|
2020-03-11 10:49:13 +00:00
|
|
|
$ref: ./contact/list_create.yml
|
2020-08-18 06:44:37 +00:00
|
|
|
|
2020-04-07 04:49:19 +00:00
|
|
|
/accounts/{account_id}/contacts/{id}:
|
2020-03-11 10:49:13 +00:00
|
|
|
$ref: ./contact/crud.yml
|
2020-08-18 06:44:37 +00:00
|
|
|
|
2020-04-07 04:49:19 +00:00
|
|
|
/accounts/{account_id}/contacts/{id}/conversations:
|
2020-03-11 10:49:13 +00:00
|
|
|
$ref: ./contact/conversations.yml
|
2020-08-18 06:44:37 +00:00
|
|
|
|
|
|
|
/accounts/{account_id}/contacts/search:
|
|
|
|
$ref: ./contact/search.yml
|
|
|
|
|
|
|
|
/accounts/{account_id}/contacts/{id}/contact_inboxes:
|
|
|
|
$ref: ./contact_inboxes/create.yml
|
2021-05-11 17:08:46 +00:00
|
|
|
/accounts/{account_id}/contacts/{id}/contactable_inboxes:
|
|
|
|
$ref: ./contactable_inboxes/get.yml
|
2020-08-18 06:44:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Profile
|
|
|
|
/profile:
|
|
|
|
$ref: ./profile/index.yml
|
2021-05-05 15:09:00 +00:00
|
|
|
|
|
|
|
# Teams
|
|
|
|
/accounts/{account_id}/teams:
|
|
|
|
parameters:
|
|
|
|
- $ref: '#/parameters/account_id'
|
|
|
|
get:
|
|
|
|
$ref: ./teams/index.yml
|
|
|
|
post:
|
|
|
|
$ref: ./teams/create.yml
|
|
|
|
|
|
|
|
/accounts/{account_id}/teams/{id}:
|
|
|
|
parameters:
|
|
|
|
- $ref: '#/parameters/account_id'
|
|
|
|
- $ref: '#/parameters/team_id'
|
|
|
|
get:
|
|
|
|
$ref: './teams/show.yml'
|
|
|
|
patch:
|
|
|
|
$ref: ./teams/update.yml
|
|
|
|
delete:
|
|
|
|
$ref: ./teams/delete.yml
|
2021-05-20 15:16:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Integrations
|
|
|
|
/accounts/{account_id}/integrations/apps:
|
|
|
|
parameters:
|
|
|
|
- $ref: '#/parameters/account_id'
|
|
|
|
get:
|
|
|
|
$ref: './integrations/apps/show.yml'
|
|
|
|
|
|
|
|
|
|
|
|
/accounts/{account_id}/integrations/hooks:
|
|
|
|
post:
|
|
|
|
$ref: './integrations/hooks/create.yml'
|
|
|
|
patch:
|
|
|
|
$ref: ./integrations/hooks/update.yml
|
|
|
|
delete:
|
|
|
|
$ref: ./integrations/hooks/delete.yml
|