


# Inboxes
/accounts/{account_id}/inboxes:
  $ref: ./inboxes/index.yml
/accounts/{account_id}/inboxes:
  $ref: ./inboxes/create.yml
/accounts/{account_id}/inboxes/{id}:
  $ref: ./inboxes/update.yml
/accounts/{account_id}/inboxes/{id}/set_agent_bot:
  $ref: ./inboxes/set_agent_bot.yml

/agent_bots:
  $ref: ./agent_bots/index.yml

# Conversations
/accounts/{account_id}/conversations:
  $ref: ./conversation/index_or_create.yml
/accounts/{account_id}/conversations/{id}:
  $ref: ./conversation/crud.yml
/accounts/{account_id}/conversations/{id}/toggle_status:
  $ref: ./conversation/toggle_status.yml

# Messages
/accounts/{account_id}/conversations/{id}/messages:
  $ref: ./conversation/messages/index_create.yml

/accounts/{account_id}/conversations/{id}/labels:
  $ref: ./conversation/labels.yml

/accounts/{account_id}/conversations/{id}/assignments:
  $ref: ./conversation/assignments.yml

# Contacts
/accounts/{account_id}/contacts:
  $ref: ./contact/list_create.yml

/accounts/{account_id}/contacts/{id}:
  $ref: ./contact/crud.yml

/accounts/{account_id}/contacts/{id}/conversations:
  $ref: ./contact/conversations.yml

/accounts/{account_id}/contacts/search:
  $ref: ./contact/search.yml

/accounts/{account_id}/contacts/{id}/contact_inboxes:
  $ref: ./contact_inboxes/create.yml


# Profile
/profile:
  $ref: ./profile/index.yml
