github.com/grokify/go-ringcentral-client@v0.3.31/engagedigital/v1/client/api/openapi.yaml (about)

     1  openapi: 3.0.0
     2  info:
     3    termsOfService: https://developer.ringcentral.com
     4    title: Engage Digital API
     5    version: "1.0"
     6  servers:
     7  - url: https://DOMAIN.api.engagement.dimelo.com/1.0
     8  tags:
     9  - name: Agent Status
    10  paths:
    11    /attachments:
    12      get:
    13        description: This method renders attachments ordered by creation date (descending).
    14        operationId: getAllAttachments
    15        parameters:
    16        - description: The record index to start. Default value is 0.
    17          explode: true
    18          in: query
    19          name: offset
    20          required: false
    21          schema:
    22            format: int32
    23            type: integer
    24          style: form
    25        - description: The max number of records to return. Default value is 30, max
    26            value is 150.
    27          explode: true
    28          in: query
    29          name: limit
    30          required: false
    31          schema:
    32            format: int32
    33            type: integer
    34          style: form
    35        responses:
    36          200:
    37            content:
    38              application/json:
    39                schema:
    40                  $ref: '#/components/schemas/GetAllAttachmentsResponse'
    41            description: Success
    42        summary: Getting all attachments
    43        tags:
    44        - Attachments
    45      post:
    46        description: This method allows you to create an new attachment.
    47        operationId: createAttachment
    48        requestBody:
    49          content:
    50            'multipart/form-data:':
    51              schema:
    52                properties:
    53                  file:
    54                    format: binary
    55                    type: string
    56                  private:
    57                    enum:
    58                    - "true"
    59                    - =1
    60                    type: string
    61        responses:
    62          200:
    63            content:
    64              application/json:
    65                schema:
    66                  $ref: '#/components/schemas/Attachment'
    67            description: Success
    68          422:
    69            description: Compose is not supported on this source (compose_disabled_on_source)
    70        summary: Creating an attachment
    71        tags:
    72        - Attachments
    73    /attachments/{attachmentId}:
    74      get:
    75        description: This method renders an attachment from given id.
    76        operationId: getAttachment
    77        parameters:
    78        - explode: false
    79          in: path
    80          name: attachmentId
    81          required: true
    82          schema:
    83            type: string
    84          style: simple
    85        responses:
    86          200:
    87            content:
    88              application/json:
    89                schema:
    90                  $ref: '#/components/schemas/Attachment'
    91            description: Success
    92        summary: Getting an attachment from its id
    93        tags:
    94        - Attachments
    95    /categories:
    96      get:
    97        description: This method renders categories ordered by creation date (ascending).
    98        operationId: getAllCategories
    99        parameters:
   100        - description: To filter categories on given category parent id.
   101          explode: true
   102          in: query
   103          name: parent_id
   104          required: false
   105          schema:
   106            type: string
   107          style: form
   108        - description: The record index to start. Default value is 0.
   109          explode: true
   110          in: query
   111          name: offset
   112          required: false
   113          schema:
   114            format: int32
   115            type: integer
   116          style: form
   117        - description: The max number of records to return. Default value is 30, max
   118            value is 150.
   119          explode: true
   120          in: query
   121          name: limit
   122          required: false
   123          schema:
   124            format: int32
   125            type: integer
   126          style: form
   127        responses:
   128          200:
   129            content:
   130              application/json:
   131                schema:
   132                  $ref: '#/components/schemas/GetAllCategoriesResponse'
   133            description: Success
   134        summary: Getting all categories
   135        tags:
   136        - Categories
   137      post:
   138        description: |-
   139          This method creates a new team. In case of success it renders the created tag, otherwise, it renders an error (422 HTTP code).
   140  
   141          Note: The fields ​`mandatory`,​ `​multiple`,​ ​`post_qualification​`, `s​ource_ids`​ and `u​nselectable​` are accounted for only if the Category has no parent.
   142  
   143          Authorization​: only users that can manage teams.
   144        operationId: createCategory
   145        parameters:
   146        - description: Category name.
   147          explode: true
   148          in: query
   149          name: name
   150          required: false
   151          schema:
   152            type: string
   153          style: form
   154        - description: ID of parent category.
   155          explode: true
   156          in: query
   157          name: parent_id
   158          required: false
   159          schema:
   160            type: string
   161          style: form
   162        - description: 'displayed color for the category, see Category colors. '
   163          explode: true
   164          in: query
   165          name: color
   166          required: false
   167          schema:
   168            enum:
   169            - 0
   170            - 1
   171            - 2
   172            - 3
   173            - 4
   174            - 5
   175            - 6
   176            type: integer
   177          style: form
   178        - description: mandatory categorization (Boolean).
   179          explode: true
   180          in: query
   181          name: mandatory
   182          required: false
   183          schema:
   184            type: boolean
   185          style: form
   186        - description: allow to assign multiple child categories (Boolean).
   187          explode: true
   188          in: query
   189          name: multiple
   190          required: false
   191          schema:
   192            type: boolean
   193          style: form
   194        - description: post qualification (Boolean).
   195          explode: true
   196          in: query
   197          name: post_qualification
   198          required: false
   199          schema:
   200            type: boolean
   201          style: form
   202        - description: root category is unselectable (Boolean).
   203          explode: true
   204          in: query
   205          name: unselectable
   206          required: false
   207          schema:
   208            type: boolean
   209          style: form
   210        - description: List of source id.
   211          explode: true
   212          in: query
   213          name: source_ids[]
   214          required: false
   215          schema:
   216            items:
   217              type: string
   218            type: array
   219          style: form
   220        responses:
   221          200:
   222            content:
   223              application/json:
   224                schema:
   225                  $ref: '#/components/schemas/Category'
   226            description: Success
   227        summary: Creating a category
   228        tags:
   229        - Categories
   230    /categories/{categoryId}:
   231      delete:
   232        description: This method destroys an existing category. It renders the category
   233          itself. It renders a 404 if id is invalid.
   234        operationId: deleteCategory
   235        parameters:
   236        - explode: false
   237          in: path
   238          name: categoryId
   239          required: true
   240          schema:
   241            type: string
   242          style: simple
   243        - description: ID of a category to recategorize (optional).
   244          explode: true
   245          in: query
   246          name: take_over_category_id
   247          required: false
   248          schema:
   249            type: string
   250          style: form
   251        responses:
   252          200:
   253            content:
   254              application/json:
   255                schema:
   256                  $ref: '#/components/schemas/Category'
   257            description: Success
   258        summary: Deleting a category
   259        tags:
   260        - Categories
   261      get:
   262        description: This method renders a category from given id.
   263        operationId: getCategory
   264        parameters:
   265        - explode: false
   266          in: path
   267          name: categoryId
   268          required: true
   269          schema:
   270            type: string
   271          style: simple
   272        responses:
   273          200:
   274            content:
   275              application/json:
   276                schema:
   277                  $ref: '#/components/schemas/Category'
   278            description: Success
   279        summary: Getting a category from its id
   280        tags:
   281        - Categories
   282      put:
   283        description: |-
   284          This method creates a new team. In case of success it renders the created tag, otherwise, it renders an error (422 HTTP code).
   285  
   286          Note: The fields ​`mandatory`,​ ​`multiple`,​ ​`post_qualification​`, `s​ource_ids​` and `u​nselectable​` are accounted for only if the Category has no parent.
   287  
   288          Authorization​: only users that can manage teams.
   289        operationId: updateCategory
   290        parameters:
   291        - explode: false
   292          in: path
   293          name: categoryId
   294          required: true
   295          schema:
   296            type: string
   297          style: simple
   298        - description: Category name.
   299          explode: true
   300          in: query
   301          name: name
   302          required: false
   303          schema:
   304            type: string
   305          style: form
   306        - description: ID of parent category.
   307          explode: true
   308          in: query
   309          name: parent_id
   310          required: false
   311          schema:
   312            type: string
   313          style: form
   314        - description: 'displayed color for the category, see Category colors. '
   315          explode: true
   316          in: query
   317          name: color
   318          required: false
   319          schema:
   320            type: integer
   321          style: form
   322        - description: mandatory categorization (Boolean).
   323          explode: true
   324          in: query
   325          name: mandatory
   326          required: false
   327          schema:
   328            type: boolean
   329          style: form
   330        - description: allow to assign multiple child categories (Boolean).
   331          explode: true
   332          in: query
   333          name: multiple
   334          required: false
   335          schema:
   336            type: boolean
   337          style: form
   338        - description: post qualification (Boolean).
   339          explode: true
   340          in: query
   341          name: post_qualification
   342          required: false
   343          schema:
   344            type: boolean
   345          style: form
   346        - description: root category is unselectable (Boolean).
   347          explode: true
   348          in: query
   349          name: unselectable
   350          required: false
   351          schema:
   352            type: boolean
   353          style: form
   354        - description: List of source id.
   355          explode: true
   356          in: query
   357          name: source_ids[]
   358          required: false
   359          schema:
   360            items:
   361              type: string
   362            type: array
   363          style: form
   364        responses:
   365          200:
   366            content:
   367              application/json:
   368                schema:
   369                  $ref: '#/components/schemas/Category'
   370            description: Success
   371        summary: Updating a category
   372        tags:
   373        - Categories
   374    /channels:
   375      get:
   376        description: This method renders all channels ordered by date of creation.
   377        operationId: getAllChannels
   378        parameters:
   379        - description: The record index to start. Default value is 0.
   380          explode: true
   381          in: query
   382          name: offset
   383          required: false
   384          schema:
   385            format: int32
   386            type: integer
   387          style: form
   388        - description: The max number of records to return. Default value is 30, max
   389            value is 150.
   390          explode: true
   391          in: query
   392          name: limit
   393          required: false
   394          schema:
   395            format: int32
   396            type: integer
   397          style: form
   398        responses:
   399          200:
   400            content:
   401              application/json:
   402                schema:
   403                  $ref: '#/components/schemas/GetAllChannelsResponse'
   404            description: Success
   405        summary: Getting all channels
   406        tags:
   407        - Channels
   408    /channels/{channelId}:
   409      get:
   410        description: This method renders a channel from given id.
   411        operationId: getChannel
   412        parameters:
   413        - explode: false
   414          in: path
   415          name: channelId
   416          required: true
   417          schema:
   418            type: string
   419          style: simple
   420        responses:
   421          200:
   422            content:
   423              application/json:
   424                schema:
   425                  $ref: '#/components/schemas/Channel'
   426            description: Success
   427        summary: Getting a channel from its id
   428        tags:
   429        - Channels
   430      put:
   431        description: |-
   432          This method updates an existing channel from given attributes and renders it in case of success.
   433  
   434          Authorization​: only users that are able to update channels.
   435        operationId: updateChannel
   436        parameters:
   437        - explode: false
   438          in: path
   439          name: channelId
   440          required: true
   441          schema:
   442            type: string
   443          style: simple
   444        - description: The name of the channel.
   445          explode: true
   446          in: query
   447          name: name
   448          required: false
   449          schema:
   450            type: string
   451          style: form
   452        - description: An array containing id of each source assigned to a channel (multiple).
   453          explode: true
   454          in: query
   455          name: source_ids
   456          required: false
   457          schema:
   458            items:
   459              type: string
   460            type: array
   461          style: form
   462        - description: Number of tasks that can be assigned to agent by the routing
   463            before they are considered "occupied".
   464          explode: true
   465          in: query
   466          name: soft_capability
   467          required: false
   468          schema:
   469            type: integer
   470          style: form
   471        - description: M​aximum number of tasks that can be assigned to agents.
   472          explode: true
   473          in: query
   474          name: hard_capability
   475          required: false
   476          schema:
   477            type: integer
   478          style: form
   479        - description: this field defines the time before a task expires (in seconds).
   480          explode: true
   481          in: query
   482          name: task_timeout_seconds
   483          required: false
   484          schema:
   485            type: integer
   486          style: form
   487        responses:
   488          200:
   489            content:
   490              application/json:
   491                schema:
   492                  $ref: '#/components/schemas/Channel'
   493            description: Success
   494        summary: Updating a channel
   495        tags:
   496        - Channels
   497    /communities:
   498      get:
   499        description: This method renders communities ordered by creation date (ascending).
   500        operationId: getAllCommunities
   501        parameters:
   502        - description: The record index to start. Default value is 0.
   503          explode: true
   504          in: query
   505          name: offset
   506          required: false
   507          schema:
   508            format: int32
   509            type: integer
   510          style: form
   511        - description: The max number of records to return. Default value is 30, max
   512            value is 150.
   513          explode: true
   514          in: query
   515          name: limit
   516          required: false
   517          schema:
   518            format: int32
   519            type: integer
   520          style: form
   521        responses:
   522          200:
   523            content:
   524              application/json:
   525                schema:
   526                  $ref: '#/components/schemas/GetAllCommunitiesResponse'
   527            description: Success
   528        summary: Getting all communities
   529        tags:
   530        - Communities
   531    /communities/{communityId}:
   532      get:
   533        description: This method renders a community from given id.
   534        operationId: getCommunity
   535        parameters:
   536        - explode: false
   537          in: path
   538          name: communityId
   539          required: true
   540          schema:
   541            type: string
   542          style: simple
   543        responses:
   544          200:
   545            content:
   546              application/json:
   547                schema:
   548                  $ref: '#/components/schemas/Community'
   549            description: Success
   550        summary: Getting a community from its id
   551        tags:
   552        - Communities
   553    /content_sources:
   554      get:
   555        description: This method renders sources ordered by creation date (ascending).
   556        operationId: getAllSources
   557        parameters:
   558        - description: The record index to start. Default value is 0.
   559          explode: true
   560          in: query
   561          name: offset
   562          required: false
   563          schema:
   564            format: int32
   565            type: integer
   566          style: form
   567        - description: The max number of records to return. Default value is 30, max
   568            value is 150.
   569          explode: true
   570          in: query
   571          name: limit
   572          required: false
   573          schema:
   574            format: int32
   575            type: integer
   576          style: form
   577        responses:
   578          200:
   579            content:
   580              application/json:
   581                schema:
   582                  $ref: '#/components/schemas/GetAllSourcesResponse'
   583            description: Success
   584        summary: Getting all sources
   585        tags:
   586        - Sources
   587    /content_sources/{sourceId}:
   588      get:
   589        description: This method renders a source from given id.
   590        operationId: getSource
   591        parameters:
   592        - explode: false
   593          in: path
   594          name: sourceId
   595          required: true
   596          schema:
   597            type: string
   598          style: simple
   599        responses:
   600          200:
   601            content:
   602              application/json:
   603                schema:
   604                  $ref: '#/components/schemas/Source'
   605            description: Success
   606        summary: Getting a source from its id
   607        tags:
   608        - Sources
   609      put:
   610        description: This method updates an existing source from given attributes and
   611          renders it in case of success.
   612        operationId: updateSource
   613        parameters:
   614        - explode: false
   615          in: path
   616          name: sourceId
   617          required: true
   618          schema:
   619            type: string
   620          style: simple
   621        - description: Source name
   622          explode: true
   623          in: query
   624          name: name
   625          required: false
   626          schema:
   627            type: string
   628          style: form
   629        - description: Activate/deactivate the source (Boolean)
   630          explode: true
   631          in: query
   632          name: active
   633          required: false
   634          schema:
   635            type: boolean
   636          style: form
   637        - description: Channel
   638          explode: true
   639          in: query
   640          name: channel_id
   641          required: false
   642          schema:
   643            type: string
   644          style: form
   645        - description: Color of the icon (see S​ ource colors​) (Integer)
   646          explode: true
   647          in: query
   648          name: color
   649          required: false
   650          schema:
   651            type: integer
   652          style: form
   653        - description: Response time (seconds)
   654          explode: true
   655          in: query
   656          name: sla_response
   657          required: false
   658          schema:
   659            type: integer
   660          style: form
   661        - description: SLA expired strategy ("max", "half" or "base")
   662          explode: true
   663          in: query
   664          name: sla_expired_strategy
   665          required: false
   666          schema:
   667            enum:
   668            - max
   669            - half
   670            - base
   671            type: string
   672          style: form
   673        - description: Priority boost of messages with intervention (Integer)
   674          explode: true
   675          in: query
   676          name: intervention_messages_boost
   677          required: false
   678          schema:
   679            type: integer
   680          style: form
   681        - description: Priority boost of transferred tasks (Integer)
   682          explode: true
   683          in: query
   684          name: transferred_tasks_boost
   685          required: false
   686          schema:
   687            type: integer
   688          style: form
   689        - description: Hide from statistics (Boolean)
   690          explode: true
   691          in: query
   692          name: hidden_from_stats
   693          required: false
   694          schema:
   695            type: boolean
   696          style: form
   697        - description: Default categories
   698          explode: true
   699          in: query
   700          name: default_category_ids[]
   701          required: false
   702          schema:
   703            items:
   704              type: string
   705            type: array
   706          style: form
   707        - description: Default categories (agent messages)
   708          explode: true
   709          in: query
   710          name: user_thread_default_category_ids[]
   711          required: false
   712          schema:
   713            items:
   714              type: string
   715            type: array
   716          style: form
   717        - description: Default content language
   718          explode: true
   719          in: query
   720          name: default_content_language
   721          required: false
   722          schema:
   723            type: string
   724          style: form
   725        - description: Auto-detect content language (Boolean)
   726          explode: true
   727          in: query
   728          name: auto_detect_content_language
   729          required: false
   730          schema:
   731            type: boolean
   732          style: form
   733        - description: Automatic archiving of old contents (Boolean)
   734          explode: true
   735          in: query
   736          name: content_archiving
   737          required: false
   738          schema:
   739            type: boolean
   740          style: form
   741        - description: Archive contents older than (seconds)
   742          explode: true
   743          in: query
   744          name: content_archiving_period
   745          required: false
   746          schema:
   747            type: integer
   748          style: form
   749        responses:
   750          200:
   751            content:
   752              application/json:
   753                schema:
   754                  $ref: '#/components/schemas/Source'
   755            description: Success
   756        summary: Updating a source
   757        tags:
   758        - Sources
   759    /content_threads:
   760      get:
   761        description: |-
   762          This method renders threads ordered by last content date (descending). Only threads in sources where token’s user has “read” permission are returned.
   763  
   764          Authorization​: no.
   765        operationId: getAllThreads
   766        parameters:
   767        - description: A search query to filter threads. Please refer to ​Search & filtering
   768            parameters​ for more details.
   769          explode: true
   770          in: query
   771          name: q
   772          required: false
   773          schema:
   774            format: int32
   775            type: integer
   776          style: form
   777        - description: The record index to start. Default value is 0.
   778          explode: true
   779          in: query
   780          name: offset
   781          required: false
   782          schema:
   783            format: int32
   784            type: integer
   785          style: form
   786        - description: The max number of records to return. Default value is 30, max
   787            value is 150.
   788          explode: true
   789          in: query
   790          name: limit
   791          required: false
   792          schema:
   793            format: int32
   794            type: integer
   795          style: form
   796        responses:
   797          200:
   798            content:
   799              application/json:
   800                schema:
   801                  $ref: '#/components/schemas/GetAllThreadsResponse'
   802            description: Success
   803        summary: Getting all threads
   804        tags:
   805        - Threads
   806    /content_threads/{threadId}:
   807      get:
   808        description: |-
   809          This method renders a thread from given id. If token’s user does not have “read” on thread’s source a 404 HTTP response will be returned.
   810  
   811          Authorization​: no.
   812        operationId: getThread
   813        parameters:
   814        - explode: false
   815          in: path
   816          name: threadId
   817          required: true
   818          schema:
   819            type: string
   820          style: simple
   821        responses:
   822          200:
   823            content:
   824              application/json:
   825                schema:
   826                  $ref: '#/components/schemas/Thread'
   827            description: Success
   828        summary: Getting a thread from its id
   829        tags:
   830        - Threads
   831    /content_threads/{threadId}/close:
   832      put:
   833        description: |-
   834          Thread closure/opening is only available for the following sources:
   835          * Emails
   836          * Answers
   837          * Ideas
   838          * Facebook Messenger
   839          * Google+
   840          * Lithium
   841          * Mobile Messaging
   842  
   843          Starts a job to close a thread. It returns the thread but as the job is asynchronous, the state of the “close” attribute in the returned object do not is the one when the job started.
   844  
   845          If token’s user does not have “read” on thread’s source a 404 HTTP response will be returned. Returns a 403 if the thread cannot be closed or if the user does not have the permission to close a thread.
   846  
   847          Authorization​: no.
   848        operationId: closeThread
   849        parameters:
   850        - explode: false
   851          in: path
   852          name: threadId
   853          required: true
   854          schema:
   855            type: string
   856          style: simple
   857        responses:
   858          200:
   859            content:
   860              application/json:
   861                schema:
   862                  $ref: '#/components/schemas/Thread'
   863            description: Success
   864        summary: Close a thread
   865        tags:
   866        - Threads
   867    /content_threads/{threadId}/ignore:
   868      put:
   869        description: |-
   870          Archives the contents of a thread. If token’s user does not have “read” on thread’s source a 404 HTTP response will be returned.
   871  
   872          If the thread is already being archived, a 409 HTTP response will be returned.
   873  
   874          Authorization​: no.
   875        operationId: archiveThread
   876        parameters:
   877        - explode: false
   878          in: path
   879          name: threadId
   880          required: true
   881          schema:
   882            type: string
   883          style: simple
   884        responses:
   885          200:
   886            content:
   887              application/json:
   888                schema:
   889                  $ref: '#/components/schemas/Thread'
   890            description: Success
   891        summary: Archiving a thread
   892        tags:
   893        - Threads
   894    /content_threads/{threadId}/open:
   895      get:
   896        description: |-
   897          Thread closure/opening is only available for the following sources:
   898  
   899          * Emails
   900          * Answers
   901          * Ideas
   902          * Facebook Messenger
   903          * Google+
   904          * Lithium
   905          * Mobile Messaging
   906  
   907          Starts a job to open a thread. It returns the thread but as the job is asynchronous, the state of the “close” attribute in the returned object is the one when the job started.
   908  
   909          If token’s user does not have “read” on thread’s source a 404 HTTP response will be returned. Returns a 403 if the thread cannot be opened or if the user does not have the permission to open a thread.
   910  
   911          Authorization​: no.
   912        operationId: openThread
   913        parameters:
   914        - explode: false
   915          in: path
   916          name: threadId
   917          required: true
   918          schema:
   919            type: string
   920          style: simple
   921        responses:
   922          200:
   923            content:
   924              application/json:
   925                schema:
   926                  $ref: '#/components/schemas/Thread'
   927            description: Success
   928        summary: Open a thread
   929        tags:
   930        - Threads
   931    /content_threads/{threadId}/update_categories:
   932      put:
   933        description: |-
   934          This method updates the categories of a thread. If token’s user does not have “read” on thread’s source a 404 HTTP response will be returned.
   935  
   936          If the thread is already being categorized, a 409 HTTP response will be returned.
   937  
   938          Authorization​: no.
   939        operationId: categorizeThread
   940        parameters:
   941        - explode: false
   942          in: path
   943          name: threadId
   944          required: true
   945          schema:
   946            type: string
   947          style: simple
   948        - description: An array containing the new categories to set on the thread.
   949          explode: true
   950          in: query
   951          name: thread_category_ids[]
   952          required: false
   953          schema:
   954            items:
   955              type: string
   956            type: array
   957          style: form
   958        responses:
   959          200:
   960            content:
   961              application/json:
   962                schema:
   963                  $ref: '#/components/schemas/Thread'
   964            description: Success
   965        summary: Categorizing a thread
   966        tags:
   967        - Threads
   968    /contents:
   969      get:
   970        description: |-
   971          This method renders contents ordered by creation date (descending). Only contents in sources where token’s user has “read” permission are returned.
   972  
   973          Authorization​: no.
   974        operationId: getAllContents
   975        parameters:
   976        - description: 'To filter contents on given query. Query works exactly like
   977            threads query but only have those keywords: intervention,identity, identity_group,
   978            source, status_in, thread or text. Order can be created_at.desc (default)
   979            or created_at.asc. e.g. q=intervention:"7f946431b6eebffafae642cc"%20source:"d19c81948c137d86dac77216"
   980            Please refer to ​Search & filtering parameters​ for more details.'
   981          explode: true
   982          in: query
   983          name: q
   984          required: false
   985          schema:
   986            type: string
   987          style: form
   988        - description: The record index to start. Default value is 0.
   989          explode: true
   990          in: query
   991          name: offset
   992          required: false
   993          schema:
   994            format: int32
   995            type: integer
   996          style: form
   997        - description: The max number of records to return. Default value is 30, max
   998            value is 150.
   999          explode: true
  1000          in: query
  1001          name: limit
  1002          required: false
  1003          schema:
  1004            format: int32
  1005            type: integer
  1006          style: form
  1007        responses:
  1008          200:
  1009            content:
  1010              application/json:
  1011                schema:
  1012                  $ref: '#/components/schemas/GetAllContentsResponse'
  1013            description: Success
  1014        summary: Contents
  1015        tags:
  1016        - Contents
  1017      post:
  1018        description: |-
  1019          This method allows you to create an new content. It can be a reply to another content or a content that initiate discussion. It use token’s user as content user if he is authorized. Content will be created in Dimelo Digital and pushed asynchronously to the source.
  1020  
  1021          Replying to a customer content is usually possible (unless the source/conversation is read only).
  1022  
  1023          Composing a content on the contrary depend on the source itself:
  1024          * The source may not support it (and be purely reactive like Instagram, Messenger ...)
  1025          * Some sources (usually public account) like Twitter or Facebook page allows to publish content without targeting specific individuals.
  1026          * Some sources (usually non public media) require specific targeting (phone number for SMS, email address for email, customer_id ...) to be able to create a content. This is source specific and detailed under the generic parameters.
  1027  
  1028          Authorization​: only users that can reply or initiate discussion (= compose) on given source. it renders also an error if in_reply_to isn’t synchronized or if in_reply_to content is not under an ​open intervention.
  1029        operationId: createContent
  1030        parameters:
  1031        - description: The identity id of content. This parameter is not mandatory,
  1032            by default it use the token’s user first identity on source.
  1033          explode: true
  1034          in: query
  1035          name: author_id
  1036          required: false
  1037          schema:
  1038            type: string
  1039          style: form
  1040        - description: The content’s body. This parameter is mandatory.
  1041          explode: true
  1042          in: query
  1043          name: body
  1044          required: true
  1045          schema:
  1046            type: string
  1047          style: form
  1048        - description: The content’s id you want to reply to. If omitted, a new discussion
  1049            will be created. If source does not support to initiate discussion this
  1050            parameter is mandatory.
  1051          explode: true
  1052          in: query
  1053          name: in_reply_to_id
  1054          required: false
  1055          schema:
  1056            type: string
  1057          style: form
  1058        - description: Created contents are public by default, set this parameter to
  1059            "1" in order to create a private reply. It is NOT supported on every source.
  1060          explode: true
  1061          in: query
  1062          name: private
  1063          required: false
  1064          schema:
  1065            type: integer
  1066          style: form
  1067        - description: The source to create content to. If you specify `in_reply_to_id`
  1068            parameter, source will be determined from it. Otherwise, this parameter
  1069            is mandatory.
  1070          explode: true
  1071          in: query
  1072          name: source_id
  1073          required: false
  1074          schema:
  1075            type: string
  1076          style: form
  1077        - description: An array containing the attachments’ ids that need to be attached
  1078            to this content.
  1079          explode: true
  1080          in: query
  1081          name: attachment_ids[]
  1082          required: false
  1083          schema:
  1084            items:
  1085              type: string
  1086            type: array
  1087          style: form
  1088        - description: For an email source. The subject of the email. This parameter
  1089            is mandatory when initiating a discussion.
  1090          explode: true
  1091          in: query
  1092          name: title
  1093          required: false
  1094          schema:
  1095            type: string
  1096          style: form
  1097        - description: 'For an email or SMS source. For an email, an array containing
  1098            the email addresses used in the “To” section of the email. This parameter
  1099            is mandatory when initiating a discussion. For a SMS, the number the SMS
  1100            will be sent to. It must start with 00 or +, example: +33634231224 or 0033634231224.
  1101            This parameter is mandatory when initiating a discussion.'
  1102          explode: true
  1103          in: query
  1104          name: to[]
  1105          required: false
  1106          schema:
  1107            items:
  1108              type: string
  1109            type: array
  1110          style: form
  1111        - description: For an email source. An array containing the email addresses
  1112            used in the “Cc” section of the email.
  1113          explode: true
  1114          in: query
  1115          name: cc[]
  1116          required: false
  1117          schema:
  1118            items:
  1119              type: string
  1120            type: array
  1121          style: form
  1122        - description: For an email source. An array containing the email addresses
  1123            used in the “Bcc” section of the email.
  1124          explode: true
  1125          in: query
  1126          name: bcc[]
  1127          required: false
  1128          schema:
  1129            items:
  1130              type: string
  1131            type: array
  1132          style: form
  1133        responses:
  1134          200:
  1135            content:
  1136              application/json:
  1137                schema:
  1138                  $ref: '#/components/schemas/Content'
  1139            description: Success
  1140          422:
  1141            description: Unprocessable Entity
  1142        summary: Creating a content
  1143        tags:
  1144        - Contents
  1145    /contents/{contentId}:
  1146      get:
  1147        description: |-
  1148          This method renders a content from given id. If token’s user does not have “read” on content’s source a 404 HTTP response will be returned.
  1149  
  1150          Authorization​: no.
  1151        operationId: getContent
  1152        parameters:
  1153        - explode: false
  1154          in: path
  1155          name: contentId
  1156          required: true
  1157          schema:
  1158            type: string
  1159          style: simple
  1160        responses:
  1161          200:
  1162            content:
  1163              application/json:
  1164                schema:
  1165                  $ref: '#/components/schemas/Content'
  1166            description: Success
  1167        summary: Getting a content from its id
  1168        tags:
  1169        - Contents
  1170    /contents/{contentId}/ignore:
  1171      put:
  1172        description: |-
  1173          Ignores a content. If token’s user does not have “read” on content’s source a 404 HTTP response will be returned.
  1174  
  1175          Authorization​: no.
  1176        operationId: ignoreContent
  1177        parameters:
  1178        - explode: false
  1179          in: path
  1180          name: contentId
  1181          required: true
  1182          schema:
  1183            type: string
  1184          style: simple
  1185        responses:
  1186          200:
  1187            content:
  1188              application/json:
  1189                schema:
  1190                  $ref: '#/components/schemas/Content'
  1191            description: Success
  1192          404:
  1193            description: Not Found
  1194        summary: Ignoring a content
  1195        tags:
  1196        - Contents
  1197    /contents/{contentId}/update_categories:
  1198      put:
  1199        description: |-
  1200          This method updates the categories of a content. If token’s user does not have “read” on this content’s source a 404 HTTP response will be returned.
  1201  
  1202          Authorization​: no.
  1203        operationId: categorizeContent
  1204        parameters:
  1205        - explode: false
  1206          in: path
  1207          name: contentId
  1208          required: true
  1209          schema:
  1210            type: string
  1211          style: simple
  1212        - description: An array containing the new categories to set on the content.
  1213          explode: true
  1214          in: query
  1215          name: category_ids[]
  1216          required: true
  1217          schema:
  1218            items:
  1219              type: string
  1220            type: array
  1221          style: form
  1222        responses:
  1223          200:
  1224            content:
  1225              application/json:
  1226                schema:
  1227                  $ref: '#/components/schemas/Content'
  1228            description: Success
  1229        summary: Categorizing a content
  1230        tags:
  1231        - Contents
  1232    /custom_fields:
  1233      get:
  1234        description: |-
  1235          This method renders custom fields ordered by position (ascending).
  1236  
  1237          Authorization​: only users that can see custom fields in administration section.
  1238        operationId: getAllCustomFields
  1239        parameters:
  1240        - description: The record index to start. Default value is 0.
  1241          explode: true
  1242          in: query
  1243          name: offset
  1244          required: false
  1245          schema:
  1246            format: int32
  1247            type: integer
  1248          style: form
  1249        - description: The max number of records to return. Default value is 30, max
  1250            value is 150.
  1251          explode: true
  1252          in: query
  1253          name: limit
  1254          required: false
  1255          schema:
  1256            format: int32
  1257            type: integer
  1258          style: form
  1259        responses:
  1260          200:
  1261            content:
  1262              application/json:
  1263                schema:
  1264                  $ref: '#/components/schemas/GetAllCustomFieldsResponse'
  1265            description: Success
  1266        summary: Getting all custom fields
  1267        tags:
  1268        - CustomFields
  1269      post:
  1270        description: |-
  1271          This method creates a custom field. In case of success it renders the custom field, otherwise, it renders an error (422 HTTP code).
  1272  
  1273          Authorization​: only users that can create custom fields.
  1274        operationId: createCustomField
  1275        parameters:
  1276        - description: The associated type of custom field. It can be IdentityGroup
  1277            or Intervention.
  1278          explode: true
  1279          in: query
  1280          name: associated_type_name
  1281          required: true
  1282          schema:
  1283            enum:
  1284            - IdentityGroup
  1285            - Intervention
  1286            type: string
  1287          style: form
  1288        - description: The label of the custom field.
  1289          explode: true
  1290          in: query
  1291          name: label
  1292          required: true
  1293          schema:
  1294            type: string
  1295          style: form
  1296        - description: 'The key of the custom field (example: customer_id). This is
  1297            used to determine how it is stored on identity groups.'
  1298          explode: true
  1299          in: query
  1300          name: key
  1301          required: false
  1302          schema:
  1303            type: string
  1304          style: form
  1305        - description: The type of the custom field. It can be string, boolean, text,
  1306            integer, float, single_choice,
  1307          explode: true
  1308          in: query
  1309          name: type
  1310          required: false
  1311          schema:
  1312            enum:
  1313            - string
  1314            - boolean
  1315            - text
  1316            - integer
  1317            - float
  1318            - single_choice
  1319            - multiple_choice
  1320            type: string
  1321          style: form
  1322        - description: A list of choices to be for single_choice, or multiple_choice
  1323            types. This must be given
  1324          explode: true
  1325          in: query
  1326          name: choices
  1327          required: false
  1328          schema:
  1329            items:
  1330              type: string
  1331            type: array
  1332          style: form
  1333        - description: true or false, this as no effect on single_choice, multiple_choice
  1334            or boolean types
  1335          explode: true
  1336          in: query
  1337          name: multiple
  1338          required: false
  1339          schema:
  1340            type: boolean
  1341          style: form
  1342        - description: 'an integer that indicates custom field’s position between others
  1343            (default: -1).'
  1344          explode: true
  1345          in: query
  1346          name: position
  1347          required: false
  1348          schema:
  1349            default: -1
  1350            type: integer
  1351          style: form
  1352        responses:
  1353          200:
  1354            content:
  1355              application/json:
  1356                schema:
  1357                  $ref: '#/components/schemas/CustomField'
  1358            description: Success
  1359        summary: Creating a custom field
  1360        tags:
  1361        - CustomFields
  1362    /custom_fields/{customFieldId}:
  1363      delete:
  1364        description: |-
  1365          This method destroys an existing custom field. It renders custom field itself. It renders a 404 if id is invalid.
  1366  
  1367          Authorization​: only users that are able to destroy custom fields..
  1368        operationId: deleteCustomField
  1369        parameters:
  1370        - explode: false
  1371          in: path
  1372          name: customFieldId
  1373          required: true
  1374          schema:
  1375            type: string
  1376          style: simple
  1377        responses:
  1378          200:
  1379            content:
  1380              application/json:
  1381                schema:
  1382                  $ref: '#/components/schemas/CustomField'
  1383            description: Success
  1384        summary: Deleting a custom field
  1385        tags:
  1386        - CustomFields
  1387      get:
  1388        description: |-
  1389          This method renders a custom field from given id.
  1390  
  1391          Authorization​: only users that can see custom fields in administration section.
  1392        operationId: getCustomField
  1393        parameters:
  1394        - explode: false
  1395          in: path
  1396          name: customFieldId
  1397          required: true
  1398          schema:
  1399            type: string
  1400          style: simple
  1401        responses:
  1402          200:
  1403            content:
  1404              application/json:
  1405                schema:
  1406                  $ref: '#/components/schemas/CustomField'
  1407            description: Success
  1408        summary: Getting a custom field from its id
  1409        tags:
  1410        - CustomFields
  1411      put:
  1412        description: |-
  1413          This method updates an existing custom field from given attributes and renders it in case of success.
  1414  
  1415          Authorization​: only users that are able to update custom fields.
  1416        operationId: updateCustomField
  1417        parameters:
  1418        - explode: false
  1419          in: path
  1420          name: customFieldId
  1421          required: true
  1422          schema:
  1423            type: string
  1424          style: simple
  1425        - description: Custom field’s label.
  1426          explode: true
  1427          in: query
  1428          name: label
  1429          required: false
  1430          schema:
  1431            type: string
  1432          style: form
  1433        - explode: true
  1434          in: query
  1435          name: choices
  1436          required: false
  1437          schema:
  1438            items:
  1439              type: string
  1440            type: array
  1441          style: form
  1442        - description: Custom field’s position.
  1443          explode: true
  1444          in: query
  1445          name: position
  1446          required: false
  1447          schema:
  1448            format: int32
  1449            type: integer
  1450          style: form
  1451        responses:
  1452          200:
  1453            content:
  1454              application/json:
  1455                schema:
  1456                  $ref: '#/components/schemas/CustomField'
  1457            description: Success
  1458        summary: Updating a custom field
  1459        tags:
  1460        - CustomFields
  1461    /events:
  1462      get:
  1463        description: |-
  1464          This method renders events ordered by creation date (descending).
  1465  
  1466          Authorization​: Only users whose role can search event permission.
  1467        operationId: getAllEvents
  1468        parameters:
  1469        - description: |-
  1470            To filter events on given query. Query works exactly like threads query but only have those keywords: content, content_thread, name_in, created_before, created_after, user. Order can be created_at.desc (default) or created_at.asc. e.g. q=name_in:"content.replied"%20content_thread:"7f946431b6eebffafae642cc"%20created_after:"2014-03-20"%20user:"4ee91f197aa58d01b500000f"%20order:"created_at.asc"
  1471            * DateTime parameters should be ISO-8601
  1472            * you can specify multiple value for a given keyword: q=name_in:’content.replied’&name_in:’content.ignored’
  1473            Please refer to ​Search & filtering parameters​ for more details.
  1474          explode: true
  1475          in: query
  1476          name: q
  1477          required: false
  1478          schema:
  1479            type: string
  1480          style: form
  1481        - description: The record index to start. Default value is 0.
  1482          explode: true
  1483          in: query
  1484          name: offset
  1485          required: false
  1486          schema:
  1487            format: int32
  1488            type: integer
  1489          style: form
  1490        - description: The max number of records to return. Default value is 30, max
  1491            value is 150.
  1492          explode: true
  1493          in: query
  1494          name: limit
  1495          required: false
  1496          schema:
  1497            format: int32
  1498            type: integer
  1499          style: form
  1500        responses:
  1501          200:
  1502            content:
  1503              application/json:
  1504                schema:
  1505                  $ref: '#/components/schemas/GetAllEventsResponse'
  1506            description: Success
  1507        summary: Getting all events
  1508        tags:
  1509        - Events
  1510    /events/{eventId}:
  1511      get:
  1512        description: |-
  1513          This method renders an event from given id. If token’s user role does not have “search event” permission a 404 HTTP response will be returned.
  1514  
  1515          Authorization​: Only users who’s role can search event permission.
  1516        operationId: getEvent
  1517        parameters:
  1518        - explode: false
  1519          in: path
  1520          name: eventId
  1521          required: true
  1522          schema:
  1523            type: string
  1524          style: simple
  1525        responses:
  1526          200:
  1527            content:
  1528              application/json:
  1529                schema:
  1530                  $ref: '#/components/schemas/Event'
  1531            description: Success
  1532        summary: Getting an event from its id
  1533        tags:
  1534        - Events
  1535    /folders:
  1536      get:
  1537        description: This method renders folders.
  1538        operationId: getAllFolders
  1539        parameters:
  1540        - description: The record index to start. Default value is 0.
  1541          explode: true
  1542          in: query
  1543          name: offset
  1544          required: false
  1545          schema:
  1546            format: int32
  1547            type: integer
  1548          style: form
  1549        - description: The max number of records to return. Default value is 30, max
  1550            value is 150.
  1551          explode: true
  1552          in: query
  1553          name: limit
  1554          required: false
  1555          schema:
  1556            format: int32
  1557            type: integer
  1558          style: form
  1559        responses:
  1560          200:
  1561            content:
  1562              application/json:
  1563                schema:
  1564                  $ref: '#/components/schemas/GetAllFoldersResponse'
  1565            description: Success
  1566        summary: Getting all folders
  1567        tags:
  1568        - Folders
  1569      post:
  1570        description: This method creates a new folder. In case of success it renders
  1571          the created folder, otherwise an error (422 HTTP code).
  1572        operationId: createFolder
  1573        parameters:
  1574        - description: Folder’s label (mandatory).
  1575          explode: true
  1576          in: query
  1577          name: label
  1578          required: false
  1579          schema:
  1580            type: string
  1581          style: form
  1582        - description: ID of the parent folder.
  1583          explode: true
  1584          in: query
  1585          name: parent_id
  1586          required: false
  1587          schema:
  1588            type: string
  1589          style: form
  1590        - description: 'position of the folder. '
  1591          explode: true
  1592          in: query
  1593          name: position
  1594          required: false
  1595          schema:
  1596            type: integer
  1597          style: form
  1598        - description: 'query of the folder as described in ​Search API documentation.​\n\nExample:
  1599            “​active_and_assigned_to_me:true”'
  1600          explode: true
  1601          in: query
  1602          name: query
  1603          required: false
  1604          schema:
  1605            type: string
  1606          style: form
  1607        - description: 'boolean describing display of the number of threads. '
  1608          explode: true
  1609          in: query
  1610          name: render_threads_count
  1611          required: false
  1612          schema:
  1613            type: boolean
  1614          style: form
  1615        - description: 'list of roles allowed to see this folder. This parameter has
  1616            to be a hash otherwise it will raise a 400 error. The key should be "only".
  1617            For example: `&role_restriction[only][]=4e5596cdae70f677b5000002`'
  1618          explode: true
  1619          in: query
  1620          name: role_restriction[only][]
  1621          required: false
  1622          schema:
  1623            items:
  1624              type: string
  1625            type: array
  1626          style: form
  1627        - description: 'list of teams allowed to see this folder. Same thing as role_restriction:
  1628            team_restriction parameter has to be a hash with the key "only".'
  1629          explode: true
  1630          in: query
  1631          name: team_restriction[only][]
  1632          required: false
  1633          schema:
  1634            items:
  1635              type: string
  1636            type: array
  1637          style: form
  1638        responses:
  1639          200:
  1640            content:
  1641              application/json:
  1642                schema:
  1643                  $ref: '#/components/schemas/Folder'
  1644            description: Success
  1645        summary: Creating a folder
  1646        tags:
  1647        - Folders
  1648    /folders/{folderId}:
  1649      delete:
  1650        description: This method destroys an existing folder. It renders the folder
  1651          itself. It renders a 404 if id is invalid.
  1652        operationId: deleteFolder
  1653        parameters:
  1654        - explode: false
  1655          in: path
  1656          name: folderId
  1657          required: true
  1658          schema:
  1659            type: string
  1660          style: simple
  1661        responses:
  1662          200:
  1663            content:
  1664              application/json:
  1665                schema:
  1666                  $ref: '#/components/schemas/Folder'
  1667            description: Success
  1668        summary: Deleting a folder
  1669        tags:
  1670        - Folders
  1671      get:
  1672        description: This method renders a folder from given id.
  1673        operationId: getFolder
  1674        parameters:
  1675        - explode: false
  1676          in: path
  1677          name: folderId
  1678          required: true
  1679          schema:
  1680            type: string
  1681          style: simple
  1682        responses:
  1683          200:
  1684            content:
  1685              application/json:
  1686                schema:
  1687                  $ref: '#/components/schemas/Folder'
  1688            description: Success
  1689        summary: Getting a folder from its id
  1690        tags:
  1691        - Folders
  1692      put:
  1693        description: This method updates an existing folder from given attributes and
  1694          renders it in case of success.
  1695        operationId: updateFolder
  1696        parameters:
  1697        - explode: false
  1698          in: path
  1699          name: folderId
  1700          required: true
  1701          schema:
  1702            type: string
  1703          style: simple
  1704        - description: Folder’s label (mandatory).
  1705          explode: true
  1706          in: query
  1707          name: label
  1708          required: false
  1709          schema:
  1710            type: string
  1711          style: form
  1712        - description: ID of the parent folder.
  1713          explode: true
  1714          in: query
  1715          name: parent_id
  1716          required: false
  1717          schema:
  1718            type: string
  1719          style: form
  1720        - description: 'position of the folder. '
  1721          explode: true
  1722          in: query
  1723          name: position
  1724          required: false
  1725          schema:
  1726            type: integer
  1727          style: form
  1728        - description: 'query of the folder as described in ​Search API documentation.​\n\nExample:
  1729            “​active_and_assigned_to_me:true”'
  1730          explode: true
  1731          in: query
  1732          name: query
  1733          required: false
  1734          schema:
  1735            type: string
  1736          style: form
  1737        - description: 'boolean describing display of the number of threads. '
  1738          explode: true
  1739          in: query
  1740          name: render_threads_count
  1741          required: false
  1742          schema:
  1743            type: boolean
  1744          style: form
  1745        - description: 'list of roles allowed to see this folder. This parameter has
  1746            to be a hash otherwise it will raise a 400 error. The key should be "only".
  1747            For example: `&role_restriction[only][]=4e5596cdae70f677b5000002`'
  1748          explode: true
  1749          in: query
  1750          name: role_restriction[only][]
  1751          required: false
  1752          schema:
  1753            items:
  1754              type: string
  1755            type: array
  1756          style: form
  1757        - description: 'list of teams allowed to see this folder. Same thing as role_restriction:
  1758            team_restriction parameter has to be a hash with the key "only".'
  1759          explode: true
  1760          in: query
  1761          name: team_restriction[only][]
  1762          required: false
  1763          schema:
  1764            items:
  1765              type: string
  1766            type: array
  1767          style: form
  1768        responses:
  1769          200:
  1770            content:
  1771              application/json:
  1772                schema:
  1773                  $ref: '#/components/schemas/Folder'
  1774            description: Success
  1775        summary: Updating a folder
  1776        tags:
  1777        - Folders
  1778    /identities:
  1779      get:
  1780        description: This method renders identities ordered by creation date (descending).
  1781          Only identities in sources where token’s user has “read” permission are returned.
  1782        operationId: getAllIdentities
  1783        parameters:
  1784        - description: To filter identities on given community id.
  1785          explode: true
  1786          in: query
  1787          name: community_id
  1788          required: false
  1789          schema:
  1790            type: string
  1791          style: form
  1792        - description: To filter on given group id.
  1793          explode: true
  1794          in: query
  1795          name: identity_group_id
  1796          required: false
  1797          schema:
  1798            type: string
  1799          style: form
  1800        - description: To filter identities on given user id.
  1801          explode: true
  1802          in: query
  1803          name: user_id
  1804          required: false
  1805          schema:
  1806            type: string
  1807          style: form
  1808        - description: To change the criteria chosen to sort the identities. The value
  1809            can be “created_at” or
  1810          explode: true
  1811          in: query
  1812          name: sort
  1813          required: false
  1814          schema:
  1815            enum:
  1816            - created_at
  1817            - updated_at
  1818            type: string
  1819          style: form
  1820        - description: To filter identities on given user id
  1821          explode: true
  1822          in: query
  1823          name: foreign_id
  1824          required: false
  1825          schema:
  1826            type: string
  1827          style: form
  1828        - description: To filter identities on given uuid
  1829          explode: true
  1830          in: query
  1831          name: uuid
  1832          required: false
  1833          schema:
  1834            type: string
  1835          style: form
  1836        - description: The record index to start. Default value is 0.
  1837          explode: true
  1838          in: query
  1839          name: offset
  1840          required: false
  1841          schema:
  1842            format: int32
  1843            type: integer
  1844          style: form
  1845        - description: The max number of records to return. Default value is 30, max
  1846            value is 150.
  1847          explode: true
  1848          in: query
  1849          name: limit
  1850          required: false
  1851          schema:
  1852            format: int32
  1853            type: integer
  1854          style: form
  1855        responses:
  1856          200:
  1857            content:
  1858              application/json:
  1859                schema:
  1860                  $ref: '#/components/schemas/GetAllIdentitiesResponse'
  1861            description: Success
  1862        summary: Getting all identities
  1863        tags:
  1864        - Identities
  1865    /identities/{identityId}:
  1866      get:
  1867        description: This method renders an identity from given id. If token’s user
  1868          does not have “read” on identity’s source community a 404 HTTP response will
  1869          be returned.
  1870        operationId: getIdentity
  1871        parameters:
  1872        - explode: false
  1873          in: path
  1874          name: identityId
  1875          required: true
  1876          schema:
  1877            type: string
  1878          style: simple
  1879        responses:
  1880          200:
  1881            content:
  1882              application/json:
  1883                schema:
  1884                  $ref: '#/components/schemas/Identity'
  1885            description: Success
  1886        summary: Getting an identity from its id
  1887        tags:
  1888        - Identities
  1889    /identity_groups:
  1890      get:
  1891        description: |-
  1892          This method renders identity groups ordered by creation date (descending). Note that identity_group are created in a lazily only when data are manually added to an identity OR a two identity are merged altogether. That means that some identity DON’T have identity_group, and identity_group do not cover all identities.
  1893  
  1894          Authorization​: no.
  1895        operationId: getAllIdentityGroups
  1896        parameters:
  1897        - description: To filter groups on given firstname.
  1898          explode: true
  1899          in: query
  1900          name: firstname
  1901          required: false
  1902          schema:
  1903            type: string
  1904          style: form
  1905        - description: To filter groups on given lastname.
  1906          explode: true
  1907          in: query
  1908          name: lastname
  1909          required: false
  1910          schema:
  1911            type: string
  1912          style: form
  1913        - description: To filter groups that have given email.
  1914          explode: true
  1915          in: query
  1916          name: email
  1917          required: false
  1918          schema:
  1919            type: string
  1920          style: form
  1921        - description: To filter groups that have given uuid.
  1922          explode: true
  1923          in: query
  1924          name: uuid
  1925          required: false
  1926          schema:
  1927            type: string
  1928          style: form
  1929        - description: To change the criteria chosen to sort the identities. The value
  1930            can be “created_at” or “updated_at”.
  1931          explode: true
  1932          in: query
  1933          name: sort
  1934          required: false
  1935          schema:
  1936            enum:
  1937            - created_at
  1938            - updated_at
  1939            type: string
  1940          style: form
  1941        - description: The record index to start. Default value is 0.
  1942          explode: true
  1943          in: query
  1944          name: offset
  1945          required: false
  1946          schema:
  1947            format: int32
  1948            type: integer
  1949          style: form
  1950        - description: The max number of records to return. Default value is 30, max
  1951            value is 150.
  1952          explode: true
  1953          in: query
  1954          name: limit
  1955          required: false
  1956          schema:
  1957            format: int32
  1958            type: integer
  1959          style: form
  1960        responses:
  1961          200:
  1962            content:
  1963              application/json:
  1964                schema:
  1965                  $ref: '#/components/schemas/GetAllIdentityGroupsResponse'
  1966            description: Success
  1967        summary: Getting all identity groups
  1968        tags:
  1969        - Identity Groups
  1970    /identity_groups/{identityGroupId}:
  1971      get:
  1972        description: This method renders an identity group from given id.
  1973        operationId: getIdentityGroup
  1974        parameters:
  1975        - explode: false
  1976          in: path
  1977          name: identityGroupId
  1978          required: true
  1979          schema:
  1980            type: string
  1981          style: simple
  1982        responses:
  1983          200:
  1984            content:
  1985              application/json:
  1986                schema:
  1987                  $ref: '#/components/schemas/IdentityGroup'
  1988            description: Success
  1989        summary: Getting an identity group from its id
  1990        tags:
  1991        - Identity Groups
  1992      put:
  1993        description: |-
  1994          This method updates an identity group from given attributes and renders it in case of success.
  1995  
  1996          Authorization​: no.
  1997        operationId: updateIdentityGroup
  1998        parameters:
  1999        - explode: false
  2000          in: path
  2001          name: identityGroupId
  2002          required: true
  2003          schema:
  2004            type: string
  2005          style: simple
  2006        - description: Identity company.
  2007          explode: true
  2008          in: query
  2009          name: company
  2010          required: false
  2011          schema:
  2012            type: string
  2013          style: form
  2014        - description: Identity custom field with key « custom_field_key ». It
  2015          explode: true
  2016          in: query
  2017          name: custom_field_values[custom_field_key]
  2018          required: false
  2019          schema:
  2020            type: string
  2021          style: form
  2022        - description: Identity emails (multiple).
  2023          explode: true
  2024          in: query
  2025          name: emails
  2026          required: false
  2027          schema:
  2028            items:
  2029              type: string
  2030            type: array
  2031          style: form
  2032        - description: Identity firstname.
  2033          explode: true
  2034          in: query
  2035          name: firstname
  2036          required: false
  2037          schema:
  2038            type: string
  2039          style: form
  2040        - description: Identity’s gender. It can be "man", "woman" or empty.
  2041          explode: true
  2042          in: query
  2043          name: gender
  2044          required: false
  2045          schema:
  2046            enum:
  2047            - man
  2048            - woman
  2049            type: string
  2050          style: form
  2051        - description: Identity home phones (mutiple).
  2052          explode: true
  2053          in: query
  2054          name: home_phones
  2055          required: false
  2056          schema:
  2057            items:
  2058              type: string
  2059            type: array
  2060          style: form
  2061        - description: Identity lastname.
  2062          explode: true
  2063          in: query
  2064          name: lastname
  2065          required: false
  2066          schema:
  2067            type: string
  2068          style: form
  2069        - description: Identity mobile phones (multiple).
  2070          explode: true
  2071          in: query
  2072          name: mobile_phones
  2073          required: false
  2074          schema:
  2075            items:
  2076              type: string
  2077            type: array
  2078          style: form
  2079        - description: Identity notes.
  2080          explode: true
  2081          in: query
  2082          name: notes
  2083          required: false
  2084          schema:
  2085            type: string
  2086          style: form
  2087        - description: Identity tag ids (multiple).
  2088          explode: true
  2089          in: query
  2090          name: tag_ids
  2091          required: false
  2092          schema:
  2093            items:
  2094              type: string
  2095            type: array
  2096          style: form
  2097        responses:
  2098          200:
  2099            content:
  2100              application/json:
  2101                schema:
  2102                  $ref: '#/components/schemas/IdentityGroup'
  2103            description: Success
  2104        summary: Updating an identity group
  2105        tags:
  2106        - Identity Groups
  2107    /intervention_comments:
  2108      get:
  2109        description: |-
  2110          This method renders interventions comments ordered by creation date (descending). Only comments in sources where token’s user has “read” permission are returned.
  2111  
  2112          Authorization​: no.
  2113        operationId: getAllInterventionComments
  2114        parameters:
  2115        - description: To filter comments on given intervention id.
  2116          explode: true
  2117          in: query
  2118          name: intervention_id
  2119          required: false
  2120          schema:
  2121            type: string
  2122          style: form
  2123        - description: To filter comments on given thread id.
  2124          explode: true
  2125          in: query
  2126          name: thread_id
  2127          required: false
  2128          schema:
  2129            type: string
  2130          style: form
  2131        - description: To filter comments on given user id.
  2132          explode: true
  2133          in: query
  2134          name: user_id
  2135          required: false
  2136          schema:
  2137            type: string
  2138          style: form
  2139        - description: To filter comments on given identity id.
  2140          explode: true
  2141          in: query
  2142          name: identity_id
  2143          required: false
  2144          schema:
  2145            type: string
  2146          style: form
  2147        - description: The record index to start. Default value is 0.
  2148          explode: true
  2149          in: query
  2150          name: offset
  2151          required: false
  2152          schema:
  2153            format: int32
  2154            type: integer
  2155          style: form
  2156        - description: The max number of records to return. Default value is 30, max
  2157            value is 150.
  2158          explode: true
  2159          in: query
  2160          name: limit
  2161          required: false
  2162          schema:
  2163            format: int32
  2164            type: integer
  2165          style: form
  2166        responses:
  2167          200:
  2168            content:
  2169              application/json:
  2170                schema:
  2171                  $ref: '#/components/schemas/GetAllInterventionCommentsResponse'
  2172            description: Success
  2173        summary: Getting all intervention comments
  2174        tags:
  2175        - Intervention Comments
  2176      post:
  2177        description: This method creates a new intervention comment. In case of success
  2178          it renders the created comment, otherwise, it renders an error (422 HTTP code).
  2179          It creates comment as token’s user. If token’s user does not have “read” on
  2180          given intervention’s source a 404 HTTP response will be returned.
  2181        operationId: createInterventionComment
  2182        parameters:
  2183        - description: The comment body (mandatory).
  2184          explode: true
  2185          in: query
  2186          name: body
  2187          required: true
  2188          schema:
  2189            type: string
  2190          style: form
  2191        - description: The comment intervention id (mandatory).
  2192          explode: true
  2193          in: query
  2194          name: intervention_id
  2195          required: true
  2196          schema:
  2197            type: string
  2198          style: form
  2199        - description: The comment user id (mandatory).
  2200          explode: true
  2201          in: query
  2202          name: user_id
  2203          required: true
  2204          schema:
  2205            type: string
  2206          style: form
  2207        responses:
  2208          200:
  2209            content:
  2210              application/json:
  2211                schema:
  2212                  $ref: '#/components/schemas/InterventionComment'
  2213            description: Success
  2214        summary: Creating an intervention comment
  2215        tags:
  2216        - Intervention Comments
  2217    /intervention_comments/{interventionCommentId}:
  2218      delete:
  2219        description: |-
  2220          This method destroys an intervention comment. It renders comment itself. If token’s user does not have “read” on comment’s source a 404 HTTP response will be returned.
  2221  
  2222          Authorization​: no.
  2223        operationId: deleteInterventionComment
  2224        parameters:
  2225        - explode: false
  2226          in: path
  2227          name: interventionCommentId
  2228          required: true
  2229          schema:
  2230            type: string
  2231          style: simple
  2232        responses:
  2233          200:
  2234            content:
  2235              application/json:
  2236                schema:
  2237                  $ref: '#/components/schemas/InterventionComment'
  2238            description: Success
  2239        summary: Deleting an intervention comment
  2240        tags:
  2241        - Intervention Comments
  2242      get:
  2243        description: This method renders an intervention comment from given id. If token’s
  2244          user does not have “read” on comment’s source a 404 HTTP response will be
  2245          returned.
  2246        operationId: getInterventionComment
  2247        parameters:
  2248        - explode: false
  2249          in: path
  2250          name: interventionCommentId
  2251          required: true
  2252          schema:
  2253            type: string
  2254          style: simple
  2255        responses:
  2256          200:
  2257            content:
  2258              application/json:
  2259                schema:
  2260                  $ref: '#/components/schemas/InterventionComment'
  2261            description: Success
  2262        summary: Getting an intervention comment from its id
  2263        tags:
  2264        - Intervention Comments
  2265    /interventions:
  2266      get:
  2267        description: |-
  2268          This method renders interventions ordered by creation date (descending). Only interventions in sources where token’s user has “read” permission are returned.
  2269  
  2270          Authorization​: no.
  2271        operationId: getAllInterventions
  2272        parameters:
  2273        - description: To filter interventions on given thread id.
  2274          explode: true
  2275          in: query
  2276          name: thread_id
  2277          required: false
  2278          schema:
  2279            type: string
  2280          style: form
  2281        - description: To filter interventions on given user id.
  2282          explode: true
  2283          in: query
  2284          name: user_id
  2285          required: false
  2286          schema:
  2287            type: string
  2288          style: form
  2289        - description: To filter interventions on given identity_group_id. This will
  2290            return interventions associated to any identity in the indentity_group.
  2291          explode: true
  2292          in: query
  2293          name: identity_group_id
  2294          required: false
  2295          schema:
  2296            type: string
  2297          style: form
  2298        - description: To filter interventions on given identity_id(s). Can be a single
  2299            value or an array.
  2300          explode: true
  2301          in: query
  2302          name: identity_id
  2303          required: false
  2304          schema:
  2305            items:
  2306              type: string
  2307            type: array
  2308          style: form
  2309        - description: To change the criteria chosen to sort the interventions. The
  2310            value can be “created_at” or “updated_at”.
  2311          explode: true
  2312          in: query
  2313          name: sort
  2314          required: false
  2315          schema:
  2316            enum:
  2317            - created_at
  2318            - updated_at
  2319            type: string
  2320          style: form
  2321        - description: The record index to start. Default value is 0.
  2322          explode: true
  2323          in: query
  2324          name: offset
  2325          required: false
  2326          schema:
  2327            format: int32
  2328            type: integer
  2329          style: form
  2330        - description: The max number of records to return. Default value is 30, max
  2331            value is 150.
  2332          explode: true
  2333          in: query
  2334          name: limit
  2335          required: false
  2336          schema:
  2337            format: int32
  2338            type: integer
  2339          style: form
  2340        responses:
  2341          200:
  2342            content:
  2343              application/json:
  2344                schema:
  2345                  $ref: '#/components/schemas/GetAllInterventionsResponse'
  2346            description: Success
  2347        summary: Getting all interventions
  2348        tags:
  2349        - Interventions
  2350      post:
  2351        description: |-
  2352          This method creates a new intervention or reopen it. In case of success it renders the intervention, otherwise, it renders an error (422 HTTP code). This method opens intervention as access token’s user.
  2353  
  2354          Authorization​: no, but it renders an error if intervention can’t be created or reopened (already opened, etc.).
  2355        operationId: createIntervention
  2356        parameters:
  2357        - description: The content to create intervention on (mandatory).
  2358          explode: true
  2359          in: query
  2360          name: content_id
  2361          required: true
  2362          schema:
  2363            type: string
  2364          style: form
  2365        responses:
  2366          200:
  2367            content:
  2368              application/json:
  2369                schema:
  2370                  $ref: '#/components/schemas/GetAllInterventionsResponse'
  2371            description: Success
  2372          422:
  2373            description: Unprocessable Entity
  2374        summary: Creating an intervention
  2375        tags:
  2376        - Interventions
  2377    /interventions/{interventionId}:
  2378      get:
  2379        description: |-
  2380          This method renders an intervention from given id. If token’s user does not have “read” on intervention’s source a 404 HTTP response will be returned.
  2381  
  2382          Authorization​: no.
  2383        operationId: getIntervention
  2384        parameters:
  2385        - explode: false
  2386          in: path
  2387          name: interventionId
  2388          required: true
  2389          schema:
  2390            type: string
  2391          style: simple
  2392        responses:
  2393          200:
  2394            content:
  2395              application/json:
  2396                schema:
  2397                  $ref: '#/components/schemas/Intervention'
  2398            description: Success
  2399        summary: Getting an intervention from its id
  2400        tags:
  2401        - Interventions
  2402    /interventions/{interventionId}/cancel:
  2403      delete:
  2404        description: |-
  2405          This method cancels (destroys) an intervention. It renders intervention itself. If token’s user does not have “read” on intervention’s source a 404 HTTP response will be returned.
  2406  
  2407          Caveats:
  2408  
  2409          * If the intervention is already being canceled, it will return a 409 error.
  2410          * To be able to close an intervention, it must meet the following criteria otherwise a 403 will be raised:
  2411            * Intervention MUST NOT already be closed
  2412           * Intervention MUST NOT have agent replies
  2413            * Access-Token agent MUST have read access on the source
  2414  
  2415          Authorization​: no, but it renders an error if intervention can’t be destroyed (see caveats).
  2416        operationId: cancelIntervention
  2417        parameters:
  2418        - explode: false
  2419          in: path
  2420          name: interventionId
  2421          required: true
  2422          schema:
  2423            type: string
  2424          style: simple
  2425        responses:
  2426          200:
  2427            content:
  2428              application/json:
  2429                schema:
  2430                  $ref: '#/components/schemas/Intervention'
  2431            description: Success
  2432        summary: Cancelling an intervention
  2433        tags:
  2434        - Interventions
  2435    /interventions/{interventionId}/close:
  2436      put:
  2437        description: |-
  2438          This method closes an intervention. Caveats:
  2439  
  2440          * If the intervention is already being closed, it will return a 409 error.
  2441          * To be able to close an intervention, it must meet the following criteria otherwise a 403 will be raised:
  2442  
  2443            * Intervention MUST NOT already be closed
  2444  
  2445            * Intervention MUST have agent replies
  2446            * Access-Token agent MUST be the owner of the intervention or have the permission to edit permissions
  2447  
  2448            * Access-Token agent MUST have read access on the source
  2449  
  2450          Authorization​: no, but it renders an error if intervention can’t be closed (see caveats)
  2451        operationId: closeIntervention
  2452        parameters:
  2453        - explode: false
  2454          in: path
  2455          name: interventionId
  2456          required: true
  2457          schema:
  2458            type: string
  2459          style: simple
  2460        responses:
  2461          200:
  2462            content:
  2463              application/json:
  2464                schema:
  2465                  $ref: '#/components/schemas/Intervention'
  2466            description: Success
  2467          409:
  2468            description: If the intervention is already being closed, it will return
  2469              a 409 error.
  2470        summary: Closing an intervention
  2471        tags:
  2472        - Interventions
  2473    /interventions/{interventionId}/reassign:
  2474      put:
  2475        description: |-
  2476          This method updates the user in charge of the intervention
  2477  
  2478          Authorization​: Only users who can update interventions.
  2479        operationId: reassignIntervention
  2480        parameters:
  2481        - explode: false
  2482          in: path
  2483          name: interventionId
  2484          required: true
  2485          schema:
  2486            type: string
  2487          style: simple
  2488        - explode: true
  2489          in: query
  2490          name: user_id
  2491          required: true
  2492          schema:
  2493            type: string
  2494          style: form
  2495        responses:
  2496          200:
  2497            content:
  2498              application/json:
  2499                schema:
  2500                  $ref: '#/components/schemas/Intervention'
  2501            description: Success
  2502        summary: Reassigning an intervention
  2503        tags:
  2504        - Interventions
  2505    /interventions/{interventionId}/update_categories:
  2506      put:
  2507        description: |-
  2508          This method updates the categories of an intervention. If token’s user does not have “read” on the intervention’s source a 404 HTTP response will be returned.
  2509  
  2510          Authorization​: no.
  2511        operationId: categorizeIntervention
  2512        parameters:
  2513        - explode: false
  2514          in: path
  2515          name: interventionId
  2516          required: true
  2517          schema:
  2518            type: string
  2519          style: simple
  2520        - explode: true
  2521          in: query
  2522          name: category_ids[]
  2523          required: true
  2524          schema:
  2525            items:
  2526              type: string
  2527            type: array
  2528          style: form
  2529        responses:
  2530          200:
  2531            content:
  2532              application/json:
  2533                schema:
  2534                  $ref: '#/components/schemas/Intervention'
  2535            description: Success
  2536        summary: Categorizing an intervention
  2537        tags:
  2538        - Interventions
  2539    /locales:
  2540      get:
  2541        description: This method renders all available locales.
  2542        operationId: getAllLocales
  2543        responses:
  2544          200:
  2545            content:
  2546              application/json:
  2547                schema:
  2548                  items:
  2549                    $ref: '#/components/schemas/Locale'
  2550                  type: array
  2551            description: List of all locales
  2552        summary: Getting all locales
  2553        tags:
  2554        - Locales
  2555    /presence_status:
  2556      get:
  2557        description: This method renders all presence statuses ordered by name (in alphabetical
  2558          order).
  2559        operationId: getAllPresenceStatus
  2560        parameters:
  2561        - description: The record index to start. Default value is 0.
  2562          explode: true
  2563          in: query
  2564          name: offset
  2565          required: false
  2566          schema:
  2567            format: int32
  2568            type: integer
  2569          style: form
  2570        - description: The max number of records to return. Default value is 30, max
  2571            value is 150.
  2572          explode: true
  2573          in: query
  2574          name: limit
  2575          required: false
  2576          schema:
  2577            format: int32
  2578            type: integer
  2579          style: form
  2580        responses:
  2581          200:
  2582            content:
  2583              application/json:
  2584                schema:
  2585                  $ref: '#/components/schemas/GetAllPresenceStatusResponse'
  2586            description: Success
  2587        summary: Getting all presence statuses
  2588        tags:
  2589        - Presence Status
  2590      post:
  2591        description: |-
  2592          This method creates a presence status. In case of success it renders the presence status, otherwise, it renders an error (422 HTTP code).
  2593  
  2594          Authorization​: only users that have the right to monitor the task view.
  2595        operationId: createPresenceStatus
  2596        parameters:
  2597        - description: The name of the presence status.
  2598          explode: true
  2599          in: query
  2600          name: name
  2601          required: true
  2602          schema:
  2603            type: string
  2604          style: form
  2605        responses:
  2606          200:
  2607            content:
  2608              application/json:
  2609                schema:
  2610                  $ref: '#/components/schemas/PresenceStatus'
  2611            description: Success
  2612        summary: Creating a presence status
  2613        tags:
  2614        - Presence Status
  2615    /presence_status/{presenceStatusId}:
  2616      delete:
  2617        description: |-
  2618          This method destroys an existing presence status. It renders presence status itself. It renders a 404 if id is invalid.
  2619  
  2620          Authorization​: only users that have the right to monitor the task view.
  2621        operationId: deletePresenceStatus
  2622        parameters:
  2623        - explode: false
  2624          in: path
  2625          name: presenceStatusId
  2626          required: true
  2627          schema:
  2628            type: string
  2629          style: simple
  2630        responses:
  2631          200:
  2632            content:
  2633              application/json:
  2634                schema:
  2635                  $ref: '#/components/schemas/PresenceStatus'
  2636            description: Success
  2637        summary: Deleting a presence status
  2638        tags:
  2639        - Presence Status
  2640      get:
  2641        description: |-
  2642          This method renders a presence status from given id.
  2643  
  2644          Authorization​: only users that have the right to monitor the task view.
  2645        operationId: getPresenceStatus
  2646        parameters:
  2647        - explode: false
  2648          in: path
  2649          name: presenceStatusId
  2650          required: true
  2651          schema:
  2652            type: string
  2653          style: simple
  2654        responses:
  2655          200:
  2656            content:
  2657              application/json:
  2658                schema:
  2659                  $ref: '#/components/schemas/PresenceStatus'
  2660            description: Success
  2661        summary: Getting a presence status from its id
  2662        tags:
  2663        - Presence Status
  2664      put:
  2665        description: |-
  2666          This method updates an existing presence status from given attributes and renders it in case of success.
  2667  
  2668          Authorization​: only users that have the right to monitor the task view.
  2669        operationId: updatePresenceStatus
  2670        parameters:
  2671        - explode: false
  2672          in: path
  2673          name: presenceStatusId
  2674          required: true
  2675          schema:
  2676            type: string
  2677          style: simple
  2678        - description: The name of the presence status.
  2679          explode: true
  2680          in: query
  2681          name: name
  2682          required: true
  2683          schema:
  2684            type: string
  2685          style: form
  2686        responses:
  2687          200:
  2688            content:
  2689              application/json:
  2690                schema:
  2691                  $ref: '#/components/schemas/PresenceStatus'
  2692            description: Success
  2693        summary: Updating a presence status
  2694        tags:
  2695        - Presence Status
  2696    /reply_assistant/entries:
  2697      get:
  2698        description: |-
  2699          This method renders all entries ordered by creation date (ascending).
  2700  
  2701          Authorization​: only users that have the right to manage reply assistant.
  2702        operationId: getAllReplyAssistantEntries
  2703        parameters:
  2704        - description: The record index to start. Default value is 0.
  2705          explode: true
  2706          in: query
  2707          name: offset
  2708          required: false
  2709          schema:
  2710            format: int32
  2711            type: integer
  2712          style: form
  2713        - description: The max number of records to return. Default value is 30, max
  2714            value is 150.
  2715          explode: true
  2716          in: query
  2717          name: limit
  2718          required: false
  2719          schema:
  2720            format: int32
  2721            type: integer
  2722          style: form
  2723        responses:
  2724          200:
  2725            content:
  2726              application/json:
  2727                schema:
  2728                  $ref: '#/components/schemas/GetAllReplyAssistantEntriesResponse'
  2729            description: Success
  2730        summary: Getting​ a​ll​ reply assistant e​ntries
  2731        tags:
  2732        - Reply Assistant Entries
  2733      post:
  2734        description: |-
  2735          This method creates a reply assistant entry. In case of success it renders the entry, otherwise, it renders an error (422 HTTP code).
  2736  
  2737          Authorization​: only users that have the right to manage reply assistant.
  2738        operationId: createReplyAssistantEntry
  2739        parameters:
  2740        - description: The name of the entry.
  2741          explode: true
  2742          in: query
  2743          name: label
  2744          required: true
  2745          schema:
  2746            type: string
  2747          style: form
  2748        responses:
  2749          200:
  2750            content:
  2751              application/json:
  2752                schema:
  2753                  $ref: '#/components/schemas/ReplyAssistantEntry'
  2754            description: Success
  2755        summary: Creating an entry
  2756        tags:
  2757        - Reply Assistant Entries
  2758    /reply_assistant/entries/{replyAssistantEntryId}:
  2759      delete:
  2760        description: |-
  2761          This method destroys an existing entry. It renders the entry itself. It renders a 404 if id is invalid.
  2762  
  2763          Authorization​: only users that have the right to manage reply assistant.
  2764        operationId: deleteReplyAssistantEntry
  2765        parameters:
  2766        - explode: false
  2767          in: path
  2768          name: replyAssistantEntryId
  2769          required: true
  2770          schema:
  2771            type: string
  2772          style: simple
  2773        responses:
  2774          200:
  2775            content:
  2776              application/json:
  2777                schema:
  2778                  $ref: '#/components/schemas/ReplyAssistantEntry'
  2779            description: Success
  2780        summary: Deleting a reply assistant entry
  2781        tags:
  2782        - Reply Assistant Entries
  2783      get:
  2784        description: |-
  2785          This method renders an entry from given id.
  2786  
  2787          Authorization​: only users that have the right to manage reply assistant.
  2788        operationId: getReplyAssistantEntry
  2789        parameters:
  2790        - explode: false
  2791          in: path
  2792          name: replyAssistantEntryId
  2793          required: true
  2794          schema:
  2795            type: string
  2796          style: simple
  2797        responses:
  2798          200:
  2799            content:
  2800              application/json:
  2801                schema:
  2802                  $ref: '#/components/schemas/ReplyAssistantEntry'
  2803            description: Success
  2804        summary: Getting a reply assistant entry from its id
  2805        tags:
  2806        - Reply Assistant Entries
  2807      put:
  2808        description: |-
  2809          This method updates an existing entry from given attributes and renders it in case of success.
  2810  
  2811          Authorization​: only users that have the right to manage reply assistant.
  2812        operationId: updateReplyAssistantEntry
  2813        parameters:
  2814        - explode: false
  2815          in: path
  2816          name: replyAssistantEntryId
  2817          required: true
  2818          schema:
  2819            type: string
  2820          style: simple
  2821        - description: The name of the entry.
  2822          explode: true
  2823          in: query
  2824          name: label
  2825          required: false
  2826          schema:
  2827            type: string
  2828          style: form
  2829        - description: 'The internal/company id of the entry. This is used to match
  2830            Engage Digital entry’s id with the company one. Example: KB042.'
  2831          explode: true
  2832          in: query
  2833          name: foreign_id
  2834          required: false
  2835          schema:
  2836            type: string
  2837          style: form
  2838        - description: To restrict the entry to a set of Engage Digital categories.
  2839            Then, KB entries that do not match message’s categories to which you are
  2840            replying will not be suggested.
  2841          explode: true
  2842          in: query
  2843          name: category_ids[]
  2844          required: false
  2845          schema:
  2846            items:
  2847              type: string
  2848            type: array
  2849          style: form
  2850        - description: entry shortcuts
  2851          explode: true
  2852          in: query
  2853          name: shortcuts[]
  2854          required: false
  2855          schema:
  2856            items:
  2857              type: string
  2858            type: array
  2859          style: form
  2860        - description: Entry group id.
  2861          explode: true
  2862          in: query
  2863          name: entry_group_id
  2864          required: false
  2865          schema:
  2866            type: string
  2867          style: form
  2868        - description: Source ids (array)
  2869          explode: true
  2870          in: query
  2871          name: source_ids[]
  2872          required: false
  2873          schema:
  2874            items:
  2875              type: string
  2876            type: array
  2877          style: form
  2878        responses:
  2879          200:
  2880            content:
  2881              application/json:
  2882                schema:
  2883                  $ref: '#/components/schemas/ReplyAssistantEntry'
  2884            description: Success
  2885        summary: Updating a reply assistant entry
  2886        tags:
  2887        - Reply Assistant Entries
  2888    /reply_assistant/groups:
  2889      get:
  2890        description: |-
  2891          This method renders all groups ordered by creation date (ascending).
  2892  
  2893          Authorization​: only users that have the right to manage reply assistant.
  2894        operationId: getAllReplyAssistantGroups
  2895        parameters:
  2896        - description: The record index to start. Default value is 0.
  2897          explode: true
  2898          in: query
  2899          name: offset
  2900          required: false
  2901          schema:
  2902            format: int32
  2903            type: integer
  2904          style: form
  2905        - description: The max number of records to return. Default value is 30, max
  2906            value is 150.
  2907          explode: true
  2908          in: query
  2909          name: limit
  2910          required: false
  2911          schema:
  2912            format: int32
  2913            type: integer
  2914          style: form
  2915        responses:
  2916          200:
  2917            content:
  2918              application/json:
  2919                schema:
  2920                  $ref: '#/components/schemas/GetAllReplyAssistantGroupsResponse'
  2921            description: Success
  2922        summary: Getting​ a​ll​ reply assistant groups
  2923        tags:
  2924        - Reply Assistant Groups
  2925      post:
  2926        description: |-
  2927          This method creates an entry group. In case of success it renders the group, otherwise, it renders an error (422 HTTP code).
  2928  
  2929          Authorization​: only users that have the right to manage reply assistant.
  2930        operationId: createReplyAssistantGroup
  2931        parameters:
  2932        - description: The name of the group.
  2933          explode: true
  2934          in: query
  2935          name: name
  2936          required: true
  2937          schema:
  2938            type: string
  2939          style: form
  2940        - description: List of the reply assistant entries in this group.
  2941          explode: true
  2942          in: query
  2943          name: entry_ids[]
  2944          required: false
  2945          schema:
  2946            items:
  2947              type: string
  2948            type: array
  2949          style: form
  2950        - description: Used for autocompletion in chat.
  2951          explode: true
  2952          in: query
  2953          name: autocomplete
  2954          required: false
  2955          schema:
  2956            type: boolean
  2957          style: form
  2958        - description: Used to determine the order of the groups in the interface, in
  2959            ascending order.
  2960          explode: true
  2961          in: query
  2962          name: position
  2963          required: false
  2964          schema:
  2965            type: integer
  2966          style: form
  2967        responses:
  2968          200:
  2969            content:
  2970              application/json:
  2971                schema:
  2972                  $ref: '#/components/schemas/ReplyAssistantGroup'
  2973            description: Success
  2974        summary: Creating a reply assistant group
  2975        tags:
  2976        - Reply Assistant Groups
  2977    /reply_assistant/groups/{replyAssistantGroupId}:
  2978      delete:
  2979        description: |-
  2980          This method destroys an existing group. It renders the group itself. It renders a 404 if id is invalid.
  2981  
  2982          Authorization​: only users that have the right to manage reply assistant.
  2983        operationId: deleteReplyAssistantGroup
  2984        parameters:
  2985        - explode: false
  2986          in: path
  2987          name: replyAssistantGroupId
  2988          required: true
  2989          schema:
  2990            type: string
  2991          style: simple
  2992        responses:
  2993          200:
  2994            content:
  2995              application/json:
  2996                schema:
  2997                  $ref: '#/components/schemas/ReplyAssistantGroup'
  2998            description: Success
  2999        summary: Deleting a reply assistant group
  3000        tags:
  3001        - Reply Assistant Groups
  3002      get:
  3003        description: |-
  3004          This method renders an entry group from given id.
  3005  
  3006          Authorization​: only users that have the right to manage reply assistant.
  3007        operationId: getReplyAssistantGroup
  3008        parameters:
  3009        - explode: false
  3010          in: path
  3011          name: replyAssistantGroupId
  3012          required: true
  3013          schema:
  3014            type: string
  3015          style: simple
  3016        responses:
  3017          200:
  3018            content:
  3019              application/json:
  3020                schema:
  3021                  $ref: '#/components/schemas/ReplyAssistantGroup'
  3022            description: Success
  3023        summary: Getting a reply assistant group from its id
  3024        tags:
  3025        - Reply Assistant Groups
  3026      put:
  3027        description: |-
  3028          This method updates an existing group from given attributes and renders it in case of success.
  3029  
  3030          Authorization​: only users that have the right to manage reply assistant.
  3031        operationId: updateReplyAssistantGroup
  3032        parameters:
  3033        - explode: false
  3034          in: path
  3035          name: replyAssistantGroupId
  3036          required: true
  3037          schema:
  3038            type: string
  3039          style: simple
  3040        - description: The name of the group.
  3041          explode: true
  3042          in: query
  3043          name: name
  3044          required: false
  3045          schema:
  3046            type: string
  3047          style: form
  3048        - description: List of the reply assistant entries in this group.
  3049          explode: true
  3050          in: query
  3051          name: entry_ids[]
  3052          required: false
  3053          schema:
  3054            items:
  3055              type: string
  3056            type: array
  3057          style: form
  3058        - description: Used for autocompletion in chat.
  3059          explode: true
  3060          in: query
  3061          name: autocomplete
  3062          required: false
  3063          schema:
  3064            type: boolean
  3065          style: form
  3066        - description: Used to determine the order of the groups in the interface, in
  3067            ascending order.
  3068          explode: true
  3069          in: query
  3070          name: position
  3071          required: false
  3072          schema:
  3073            type: integer
  3074          style: form
  3075        responses:
  3076          200:
  3077            content:
  3078              application/json:
  3079                schema:
  3080                  $ref: '#/components/schemas/ReplyAssistantGroup'
  3081            description: Success
  3082        summary: Updating a reply assistant group
  3083        tags:
  3084        - Reply Assistant Groups
  3085    /reply_assistant/versions:
  3086      get:
  3087        description: |-
  3088          This method renders all reply assistant versions ordered by creation date (ascending).
  3089  
  3090          Authorization​: only users that have the right to manage reply assistant.
  3091        operationId: getAllReplyAssistantVersions
  3092        parameters:
  3093        - description: The record index to start. Default value is 0.
  3094          explode: true
  3095          in: query
  3096          name: offset
  3097          required: false
  3098          schema:
  3099            format: int32
  3100            type: integer
  3101          style: form
  3102        - description: The max number of records to return. Default value is 30, max
  3103            value is 150.
  3104          explode: true
  3105          in: query
  3106          name: limit
  3107          required: false
  3108          schema:
  3109            format: int32
  3110            type: integer
  3111          style: form
  3112        responses:
  3113          200:
  3114            content:
  3115              application/json:
  3116                schema:
  3117                  $ref: '#/components/schemas/GetAllReplyAssistantVersionsResponse'
  3118            description: Success
  3119        summary: Getting​ a​ll​ reply assistant versions
  3120        tags:
  3121        - Reply Assistant Versions
  3122      post:
  3123        description: |-
  3124          This method creates a reply assistant version. In case of success it renders the version, otherwise, it renders an error (422 HTTP code, 404 if the entry_id is invalid).
  3125  
  3126          Authorization​: only users that have the right to manage reply assistant.
  3127        operationId: createReplyAssistantVersion
  3128        parameters:
  3129        - description: Body of the version
  3130          explode: true
  3131          in: query
  3132          name: body
  3133          required: true
  3134          schema:
  3135            type: string
  3136          style: form
  3137        - description: Reply assistant entry id (mandatory)
  3138          explode: true
  3139          in: query
  3140          name: entry_id
  3141          required: true
  3142          schema:
  3143            type: string
  3144          style: form
  3145        - description: Source ids (array)
  3146          explode: true
  3147          in: query
  3148          name: source_ids
  3149          required: false
  3150          schema:
  3151            items:
  3152              type: string
  3153            type: array
  3154          style: form
  3155        - description: Either “text” or “html”
  3156          explode: true
  3157          in: query
  3158          name: format
  3159          required: false
  3160          schema:
  3161            enum:
  3162            - text
  3163            - html
  3164            type: string
  3165          style: form
  3166        - description: 'Language (ex: “fr”)'
  3167          explode: true
  3168          in: query
  3169          name: language
  3170          required: false
  3171          schema:
  3172            type: string
  3173          style: form
  3174        responses:
  3175          200:
  3176            content:
  3177              application/json:
  3178                schema:
  3179                  $ref: '#/components/schemas/ReplyAssistantVersion'
  3180            description: Success
  3181        summary: Creating a reply assistant version
  3182        tags:
  3183        - Reply Assistant Versions
  3184    /reply_assistant/versions/{replyAssistantVersionId}:
  3185      delete:
  3186        description: |-
  3187          This method destroys an existing version. It renders the version itself. It renders a 404 if id is invalid.
  3188  
  3189          Authorization​: only users that have the right to manage reply assistant.
  3190        operationId: deleteReplyAssistantVersion
  3191        parameters:
  3192        - explode: false
  3193          in: path
  3194          name: replyAssistantVersionId
  3195          required: true
  3196          schema:
  3197            type: string
  3198          style: simple
  3199        responses:
  3200          200:
  3201            content:
  3202              application/json:
  3203                schema:
  3204                  $ref: '#/components/schemas/ReplyAssistantVersion'
  3205            description: Success
  3206        summary: Deleting a reply assistant version
  3207        tags:
  3208        - Reply Assistant Versions
  3209      get:
  3210        description: |-
  3211          This method renders a version from given id.
  3212  
  3213          Authorization​: only users that have the right to manage reply assistant.
  3214        operationId: getReplyAssistantVersion
  3215        parameters:
  3216        - explode: false
  3217          in: path
  3218          name: replyAssistantVersionId
  3219          required: true
  3220          schema:
  3221            type: string
  3222          style: simple
  3223        responses:
  3224          200:
  3225            content:
  3226              application/json:
  3227                schema:
  3228                  $ref: '#/components/schemas/ReplyAssistantVersion'
  3229            description: Success
  3230        summary: Getting a reply assistant version from its id
  3231        tags:
  3232        - Reply Assistant Versions
  3233      put:
  3234        description: |-
  3235          This method updates an existing version from given attributes and renders it in case of success.
  3236  
  3237          Authorization​: only users that have the right to manage reply assistant.
  3238        operationId: updateReplyAssistantVersion
  3239        parameters:
  3240        - explode: false
  3241          in: path
  3242          name: replyAssistantVersionId
  3243          required: true
  3244          schema:
  3245            type: string
  3246          style: simple
  3247        - description: Body of the version
  3248          explode: true
  3249          in: query
  3250          name: body
  3251          required: false
  3252          schema:
  3253            type: string
  3254          style: form
  3255        - description: Reply assistant entry id.
  3256          explode: true
  3257          in: query
  3258          name: entry_id
  3259          required: false
  3260          schema:
  3261            type: string
  3262          style: form
  3263        - description: Source ids (array)
  3264          explode: true
  3265          in: query
  3266          name: source_ids[]
  3267          required: false
  3268          schema:
  3269            items:
  3270              type: string
  3271            type: array
  3272          style: form
  3273        - description: Either “text” or “html”
  3274          explode: true
  3275          in: query
  3276          name: format
  3277          required: false
  3278          schema:
  3279            enum:
  3280            - text
  3281            - html
  3282            type: string
  3283          style: form
  3284        - description: 'Language (ex: “fr”)'
  3285          explode: true
  3286          in: query
  3287          name: language
  3288          required: false
  3289          schema:
  3290            type: string
  3291          style: form
  3292        responses:
  3293          200:
  3294            content:
  3295              application/json:
  3296                schema:
  3297                  $ref: '#/components/schemas/ReplyAssistantVersion'
  3298            description: Success
  3299        summary: Updating a reply assistant version
  3300        tags:
  3301        - Reply Assistant Versions
  3302    /roles:
  3303      get:
  3304        description: This method renders roles ordered by creation date (ascending).
  3305        operationId: getAllRoles
  3306        parameters:
  3307        - description: The record index to start. Default value is 0.
  3308          explode: true
  3309          in: query
  3310          name: offset
  3311          required: false
  3312          schema:
  3313            format: int32
  3314            type: integer
  3315          style: form
  3316        - description: The max number of records to return. Default value is 30, max
  3317            value is 150.
  3318          explode: true
  3319          in: query
  3320          name: limit
  3321          required: false
  3322          schema:
  3323            format: int32
  3324            type: integer
  3325          style: form
  3326        responses:
  3327          200:
  3328            content:
  3329              application/json:
  3330                schema:
  3331                  $ref: '#/components/schemas/GetAllRolesResponse'
  3332            description: Success
  3333        summary: Getting all roles
  3334        tags:
  3335        - Roles
  3336      post:
  3337        description: This method creates a new role. In case of success it renders the
  3338          created role, otherwise, it renders an error (422 HTTP code).
  3339        operationId: createRole
  3340        parameters:
  3341        - explode: true
  3342          in: query
  3343          name: label
  3344          required: true
  3345          schema:
  3346            type: string
  3347          style: form
  3348        - explode: true
  3349          in: query
  3350          name: access_help_center
  3351          required: false
  3352          schema:
  3353            type: boolean
  3354          style: form
  3355        - explode: true
  3356          in: query
  3357          name: access_previous_messages
  3358          required: false
  3359          schema:
  3360            type: boolean
  3361          style: form
  3362        - explode: true
  3363          in: query
  3364          name: access_pull_mode
  3365          required: false
  3366          schema:
  3367            type: boolean
  3368          style: form
  3369        - explode: true
  3370          in: query
  3371          name: admin_stamp_answer
  3372          required: false
  3373          schema:
  3374            type: boolean
  3375          style: form
  3376        - explode: true
  3377          in: query
  3378          name: approve_content
  3379          required: false
  3380          schema:
  3381            type: boolean
  3382          style: form
  3383        - explode: true
  3384          in: query
  3385          name: assign_intervention
  3386          required: false
  3387          schema:
  3388            type: boolean
  3389          style: form
  3390        - explode: true
  3391          in: query
  3392          name: author_block_content
  3393          required: false
  3394          schema:
  3395            type: boolean
  3396          style: form
  3397        - explode: true
  3398          in: query
  3399          name: close_content_thread
  3400          required: false
  3401          schema:
  3402            type: boolean
  3403          style: form
  3404        - explode: true
  3405          in: query
  3406          name: create_and_destroy_extension
  3407          required: false
  3408          schema:
  3409            type: boolean
  3410          style: form
  3411        - explode: true
  3412          in: query
  3413          name: create_community
  3414          required: false
  3415          schema:
  3416            type: boolean
  3417          style: form
  3418        - explode: true
  3419          in: query
  3420          name: create_content_source
  3421          required: false
  3422          schema:
  3423            type: boolean
  3424          style: form
  3425        - explode: true
  3426          in: query
  3427          name: create_user
  3428          required: false
  3429          schema:
  3430            type: boolean
  3431          style: form
  3432        - explode: true
  3433          in: query
  3434          name: delay_export_content
  3435          required: false
  3436          schema:
  3437            type: boolean
  3438          style: form
  3439        - explode: true
  3440          in: query
  3441          name: delete_content_thread
  3442          required: false
  3443          schema:
  3444            type: boolean
  3445          style: form
  3446        - explode: true
  3447          in: query
  3448          name: impersonate_user
  3449          required: false
  3450          schema:
  3451            type: boolean
  3452          style: form
  3453        - explode: true
  3454          in: query
  3455          name: invite_user
  3456          required: false
  3457          schema:
  3458            type: boolean
  3459          style: form
  3460        - explode: true
  3461          in: query
  3462          name: manage_api_access_tokens
  3463          required: false
  3464          schema:
  3465            type: boolean
  3466          style: form
  3467        - explode: true
  3468          in: query
  3469          name: manage_app_sdk_applications
  3470          required: false
  3471          schema:
  3472            type: boolean
  3473          style: form
  3474        - description: permission only available with the corresponding extension enabled
  3475          explode: true
  3476          in: query
  3477          name: manage_automatic_exports_tasks
  3478          required: false
  3479          schema:
  3480            type: boolean
  3481          style: form
  3482        - explode: true
  3483          in: query
  3484          name: manage_categories
  3485          required: false
  3486          schema:
  3487            type: boolean
  3488          style: form
  3489        - explode: true
  3490          in: query
  3491          name: manage_chat
  3492          required: false
  3493          schema:
  3494            type: boolean
  3495          style: form
  3496        - explode: true
  3497          in: query
  3498          name: manage_custom_fields
  3499          required: false
  3500          schema:
  3501            type: boolean
  3502          style: form
  3503        - explode: true
  3504          in: query
  3505          name: manage_custom_notifications
  3506          required: false
  3507          schema:
  3508            type: boolean
  3509          style: form
  3510        - explode: true
  3511          in: query
  3512          name: manage_emails_templates
  3513          required: false
  3514          schema:
  3515            type: boolean
  3516          style: form
  3517        - explode: true
  3518          in: query
  3519          name: manage_folders
  3520          required: false
  3521          schema:
  3522            type: boolean
  3523          style: form
  3524        - explode: true
  3525          in: query
  3526          name: manage_ice
  3527          required: false
  3528          schema:
  3529            type: boolean
  3530          style: form
  3531        - explode: true
  3532          in: query
  3533          name: manage_identities
  3534          required: false
  3535          schema:
  3536            type: boolean
  3537          style: form
  3538        - explode: true
  3539          in: query
  3540          name: manage_own_notifications
  3541          required: false
  3542          schema:
  3543            type: boolean
  3544          style: form
  3545        - description: permission only available with the corresponding extension enabled
  3546          explode: true
  3547          in: query
  3548          name: manage_reply_assistant
  3549          required: false
  3550          schema:
  3551            type: boolean
  3552          style: form
  3553        - explode: true
  3554          in: query
  3555          name: manage_roles
  3556          required: false
  3557          schema:
  3558            type: boolean
  3559          style: form
  3560        - description: permission only available with the corresponding extension enabled
  3561          explode: true
  3562          in: query
  3563          name: manage_rules_engine_rules
  3564          required: false
  3565          schema:
  3566            type: boolean
  3567          style: form
  3568        - description: permission only available with the corresponding extension enabled
  3569          explode: true
  3570          in: query
  3571          name: manage_surveys
  3572          required: false
  3573          schema:
  3574            type: boolean
  3575          style: form
  3576        - explode: true
  3577          in: query
  3578          name: manage_tags
  3579          required: false
  3580          schema:
  3581            type: boolean
  3582          style: form
  3583        - explode: true
  3584          in: query
  3585          name: manage_teams
  3586          required: false
  3587          schema:
  3588            type: boolean
  3589          style: form
  3590        - explode: true
  3591          in: query
  3592          name: manage_topologies
  3593          required: false
  3594          schema:
  3595            type: boolean
  3596          style: form
  3597        - explode: true
  3598          in: query
  3599          name: manage_users_of_my_teams
  3600          required: false
  3601          schema:
  3602            type: boolean
  3603          style: form
  3604        - explode: true
  3605          in: query
  3606          name: monitor_tasks
  3607          required: false
  3608          schema:
  3609            type: boolean
  3610          style: form
  3611        - explode: true
  3612          in: query
  3613          name: monitor_team_tasks
  3614          required: false
  3615          schema:
  3616            type: boolean
  3617          style: form
  3618        - explode: true
  3619          in: query
  3620          name: mute_content
  3621          required: false
  3622          schema:
  3623            type: boolean
  3624          style: form
  3625        - explode: true
  3626          in: query
  3627          name: open_content_thread
  3628          required: false
  3629          schema:
  3630            type: boolean
  3631          style: form
  3632        - explode: true
  3633          in: query
  3634          name: publish_content
  3635          required: false
  3636          schema:
  3637            type: boolean
  3638          style: form
  3639        - explode: true
  3640          in: query
  3641          name: read_community
  3642          required: false
  3643          schema:
  3644            type: boolean
  3645          style: form
  3646        - explode: true
  3647          in: query
  3648          name: read_content_source
  3649          required: false
  3650          schema:
  3651            type: boolean
  3652          style: form
  3653        - explode: true
  3654          in: query
  3655          name: read_event
  3656          required: false
  3657          schema:
  3658            type: boolean
  3659          style: form
  3660        - explode: true
  3661          in: query
  3662          name: read_export
  3663          required: false
  3664          schema:
  3665            type: boolean
  3666          style: form
  3667        - explode: true
  3668          in: query
  3669          name: read_identity
  3670          required: false
  3671          schema:
  3672            type: boolean
  3673          style: form
  3674        - explode: true
  3675          in: query
  3676          name: read_own_stats
  3677          required: false
  3678          schema:
  3679            type: boolean
  3680          style: form
  3681        - explode: true
  3682          in: query
  3683          name: read_presence
  3684          required: false
  3685          schema:
  3686            type: boolean
  3687          style: form
  3688        - explode: true
  3689          in: query
  3690          name: read_stats
  3691          required: false
  3692          schema:
  3693            type: boolean
  3694          style: form
  3695        - description: permission only available with the corresponding extension enabled
  3696          explode: true
  3697          in: query
  3698          name: read_surveys
  3699          required: false
  3700          schema:
  3701            type: boolean
  3702          style: form
  3703        - explode: true
  3704          in: query
  3705          name: read_user
  3706          required: false
  3707          schema:
  3708            type: boolean
  3709          style: form
  3710        - explode: true
  3711          in: query
  3712          name: receive_tasks
  3713          required: false
  3714          schema:
  3715            type: boolean
  3716          style: form
  3717        - description: permission only available with the corresponding extension enabled
  3718          explode: true
  3719          in: query
  3720          name: reply_with_assistant
  3721          required: false
  3722          schema:
  3723            type: boolean
  3724          style: form
  3725        - explode: true
  3726          in: query
  3727          name: search_contents
  3728          required: false
  3729          schema:
  3730            type: boolean
  3731          style: form
  3732        - explode: true
  3733          in: query
  3734          name: search_event
  3735          required: false
  3736          schema:
  3737            type: boolean
  3738          style: form
  3739        - explode: true
  3740          in: query
  3741          name: update_community
  3742          required: false
  3743          schema:
  3744            type: boolean
  3745          style: form
  3746        - explode: true
  3747          in: query
  3748          name: update_content_source
  3749          required: false
  3750          schema:
  3751            type: boolean
  3752          style: form
  3753        - explode: true
  3754          in: query
  3755          name: update_extension
  3756          required: false
  3757          schema:
  3758            type: boolean
  3759          style: form
  3760        - explode: true
  3761          in: query
  3762          name: update_identity
  3763          required: false
  3764          schema:
  3765            type: boolean
  3766          style: form
  3767        - explode: true
  3768          in: query
  3769          name: update_intervention
  3770          required: false
  3771          schema:
  3772            type: boolean
  3773          style: form
  3774        - explode: true
  3775          in: query
  3776          name: update_own_intervention
  3777          required: false
  3778          schema:
  3779            type: boolean
  3780          style: form
  3781        - explode: true
  3782          in: query
  3783          name: update_settings
  3784          required: false
  3785          schema:
  3786            type: boolean
  3787          style: form
  3788        - explode: true
  3789          in: query
  3790          name: update_time_sheet
  3791          required: false
  3792          schema:
  3793            type: boolean
  3794          style: form
  3795        - explode: true
  3796          in: query
  3797          name: update_user
  3798          required: false
  3799          schema:
  3800            type: boolean
  3801          style: form
  3802        - explode: true
  3803          in: query
  3804          name: use_emoji
  3805          required: false
  3806          schema:
  3807            type: boolean
  3808          style: form
  3809        responses:
  3810          200:
  3811            content:
  3812              application/json:
  3813                schema:
  3814                  $ref: '#/components/schemas/Role'
  3815            description: Success
  3816        summary: Creating a role
  3817        tags:
  3818        - Roles
  3819    /roles/{roleId}:
  3820      get:
  3821        description: |-
  3822          This method renders a role from given id.
  3823  
  3824          Authorization​: only users that can manage roles.
  3825        operationId: getRole
  3826        parameters:
  3827        - explode: false
  3828          in: path
  3829          name: roleId
  3830          required: true
  3831          schema:
  3832            type: string
  3833          style: simple
  3834        responses:
  3835          200:
  3836            content:
  3837              application/json:
  3838                schema:
  3839                  $ref: '#/components/schemas/Role'
  3840            description: Success
  3841        summary: Getting a role from its id
  3842        tags:
  3843        - Roles
  3844      put:
  3845        description: |-
  3846          This method updates an existing role from given attributes and renders it in case of success.
  3847  
  3848          Authorization​: A user can’t update roles with more permissions than himself and can’t give a role a permission he doesn’t have.
  3849  
  3850          Any permission updated with a user that does not have this permission will be ignored (The update is done, just not the unallowed permission)
  3851        operationId: updateRole
  3852        parameters:
  3853        - explode: false
  3854          in: path
  3855          name: roleId
  3856          required: true
  3857          schema:
  3858            type: string
  3859          style: simple
  3860        - explode: true
  3861          in: query
  3862          name: access_help_center
  3863          required: false
  3864          schema:
  3865            type: boolean
  3866          style: form
  3867        - explode: true
  3868          in: query
  3869          name: access_previous_messages
  3870          required: false
  3871          schema:
  3872            type: boolean
  3873          style: form
  3874        - explode: true
  3875          in: query
  3876          name: access_pull_mode
  3877          required: false
  3878          schema:
  3879            type: boolean
  3880          style: form
  3881        - explode: true
  3882          in: query
  3883          name: admin_stamp_answer
  3884          required: false
  3885          schema:
  3886            type: boolean
  3887          style: form
  3888        - explode: true
  3889          in: query
  3890          name: approve_content
  3891          required: false
  3892          schema:
  3893            type: boolean
  3894          style: form
  3895        - explode: true
  3896          in: query
  3897          name: assign_intervention
  3898          required: false
  3899          schema:
  3900            type: boolean
  3901          style: form
  3902        - explode: true
  3903          in: query
  3904          name: author_block_content
  3905          required: false
  3906          schema:
  3907            type: boolean
  3908          style: form
  3909        - explode: true
  3910          in: query
  3911          name: close_content_thread
  3912          required: false
  3913          schema:
  3914            type: boolean
  3915          style: form
  3916        - explode: true
  3917          in: query
  3918          name: create_and_destroy_extension
  3919          required: false
  3920          schema:
  3921            type: boolean
  3922          style: form
  3923        - explode: true
  3924          in: query
  3925          name: create_community
  3926          required: false
  3927          schema:
  3928            type: boolean
  3929          style: form
  3930        - explode: true
  3931          in: query
  3932          name: create_content_source
  3933          required: false
  3934          schema:
  3935            type: boolean
  3936          style: form
  3937        - explode: true
  3938          in: query
  3939          name: create_user
  3940          required: false
  3941          schema:
  3942            type: boolean
  3943          style: form
  3944        - explode: true
  3945          in: query
  3946          name: delay_export_content
  3947          required: false
  3948          schema:
  3949            type: boolean
  3950          style: form
  3951        - explode: true
  3952          in: query
  3953          name: delete_content_thread
  3954          required: false
  3955          schema:
  3956            type: boolean
  3957          style: form
  3958        - explode: true
  3959          in: query
  3960          name: impersonate_user
  3961          required: false
  3962          schema:
  3963            type: boolean
  3964          style: form
  3965        - explode: true
  3966          in: query
  3967          name: invite_user
  3968          required: false
  3969          schema:
  3970            type: boolean
  3971          style: form
  3972        - explode: true
  3973          in: query
  3974          name: manage_api_access_tokens
  3975          required: false
  3976          schema:
  3977            type: boolean
  3978          style: form
  3979        - explode: true
  3980          in: query
  3981          name: manage_app_sdk_applications
  3982          required: false
  3983          schema:
  3984            type: boolean
  3985          style: form
  3986        - description: permission only available with the corresponding extension enabled
  3987          explode: true
  3988          in: query
  3989          name: manage_automatic_exports_tasks
  3990          required: false
  3991          schema:
  3992            type: boolean
  3993          style: form
  3994        - explode: true
  3995          in: query
  3996          name: manage_categories
  3997          required: false
  3998          schema:
  3999            type: boolean
  4000          style: form
  4001        - explode: true
  4002          in: query
  4003          name: manage_chat
  4004          required: false
  4005          schema:
  4006            type: boolean
  4007          style: form
  4008        - explode: true
  4009          in: query
  4010          name: manage_custom_fields
  4011          required: false
  4012          schema:
  4013            type: boolean
  4014          style: form
  4015        - explode: true
  4016          in: query
  4017          name: manage_custom_notifications
  4018          required: false
  4019          schema:
  4020            type: boolean
  4021          style: form
  4022        - explode: true
  4023          in: query
  4024          name: manage_emails_templates
  4025          required: false
  4026          schema:
  4027            type: boolean
  4028          style: form
  4029        - explode: true
  4030          in: query
  4031          name: manage_folders
  4032          required: false
  4033          schema:
  4034            type: boolean
  4035          style: form
  4036        - explode: true
  4037          in: query
  4038          name: manage_ice
  4039          required: false
  4040          schema:
  4041            type: boolean
  4042          style: form
  4043        - explode: true
  4044          in: query
  4045          name: manage_identities
  4046          required: false
  4047          schema:
  4048            type: boolean
  4049          style: form
  4050        - explode: true
  4051          in: query
  4052          name: manage_own_notifications
  4053          required: false
  4054          schema:
  4055            type: boolean
  4056          style: form
  4057        - description: permission only available with the corresponding extension enabled
  4058          explode: true
  4059          in: query
  4060          name: manage_reply_assistant
  4061          required: false
  4062          schema:
  4063            type: boolean
  4064          style: form
  4065        - explode: true
  4066          in: query
  4067          name: manage_roles
  4068          required: false
  4069          schema:
  4070            type: boolean
  4071          style: form
  4072        - description: permission only available with the corresponding extension enabled
  4073          explode: true
  4074          in: query
  4075          name: manage_rules_engine_rules
  4076          required: false
  4077          schema:
  4078            type: boolean
  4079          style: form
  4080        - description: permission only available with the corresponding extension enabled
  4081          explode: true
  4082          in: query
  4083          name: manage_surveys
  4084          required: false
  4085          schema:
  4086            type: boolean
  4087          style: form
  4088        - explode: true
  4089          in: query
  4090          name: manage_tags
  4091          required: false
  4092          schema:
  4093            type: boolean
  4094          style: form
  4095        - explode: true
  4096          in: query
  4097          name: manage_teams
  4098          required: false
  4099          schema:
  4100            type: boolean
  4101          style: form
  4102        - explode: true
  4103          in: query
  4104          name: manage_topologies
  4105          required: false
  4106          schema:
  4107            type: boolean
  4108          style: form
  4109        - explode: true
  4110          in: query
  4111          name: manage_users_of_my_teams
  4112          required: false
  4113          schema:
  4114            type: boolean
  4115          style: form
  4116        - explode: true
  4117          in: query
  4118          name: monitor_tasks
  4119          required: false
  4120          schema:
  4121            type: boolean
  4122          style: form
  4123        - explode: true
  4124          in: query
  4125          name: monitor_team_tasks
  4126          required: false
  4127          schema:
  4128            type: boolean
  4129          style: form
  4130        - explode: true
  4131          in: query
  4132          name: mute_content
  4133          required: false
  4134          schema:
  4135            type: boolean
  4136          style: form
  4137        - explode: true
  4138          in: query
  4139          name: open_content_thread
  4140          required: false
  4141          schema:
  4142            type: boolean
  4143          style: form
  4144        - explode: true
  4145          in: query
  4146          name: publish_content
  4147          required: false
  4148          schema:
  4149            type: boolean
  4150          style: form
  4151        - explode: true
  4152          in: query
  4153          name: read_community
  4154          required: false
  4155          schema:
  4156            type: boolean
  4157          style: form
  4158        - explode: true
  4159          in: query
  4160          name: read_content_source
  4161          required: false
  4162          schema:
  4163            type: boolean
  4164          style: form
  4165        - explode: true
  4166          in: query
  4167          name: read_event
  4168          required: false
  4169          schema:
  4170            type: boolean
  4171          style: form
  4172        - explode: true
  4173          in: query
  4174          name: read_export
  4175          required: false
  4176          schema:
  4177            type: boolean
  4178          style: form
  4179        - explode: true
  4180          in: query
  4181          name: read_identity
  4182          required: false
  4183          schema:
  4184            type: boolean
  4185          style: form
  4186        - explode: true
  4187          in: query
  4188          name: read_own_stats
  4189          required: false
  4190          schema:
  4191            type: boolean
  4192          style: form
  4193        - explode: true
  4194          in: query
  4195          name: read_presence
  4196          required: false
  4197          schema:
  4198            type: boolean
  4199          style: form
  4200        - explode: true
  4201          in: query
  4202          name: read_stats
  4203          required: false
  4204          schema:
  4205            type: boolean
  4206          style: form
  4207        - description: permission only available with the corresponding extension enabled
  4208          explode: true
  4209          in: query
  4210          name: read_surveys
  4211          required: false
  4212          schema:
  4213            type: boolean
  4214          style: form
  4215        - explode: true
  4216          in: query
  4217          name: read_user
  4218          required: false
  4219          schema:
  4220            type: boolean
  4221          style: form
  4222        - explode: true
  4223          in: query
  4224          name: receive_tasks
  4225          required: false
  4226          schema:
  4227            type: boolean
  4228          style: form
  4229        - description: permission only available with the corresponding extension enabled
  4230          explode: true
  4231          in: query
  4232          name: reply_with_assistant
  4233          required: false
  4234          schema:
  4235            type: boolean
  4236          style: form
  4237        - explode: true
  4238          in: query
  4239          name: search_contents
  4240          required: false
  4241          schema:
  4242            type: boolean
  4243          style: form
  4244        - explode: true
  4245          in: query
  4246          name: search_event
  4247          required: false
  4248          schema:
  4249            type: boolean
  4250          style: form
  4251        - explode: true
  4252          in: query
  4253          name: update_community
  4254          required: false
  4255          schema:
  4256            type: boolean
  4257          style: form
  4258        - explode: true
  4259          in: query
  4260          name: update_content_source
  4261          required: false
  4262          schema:
  4263            type: boolean
  4264          style: form
  4265        - explode: true
  4266          in: query
  4267          name: update_extension
  4268          required: false
  4269          schema:
  4270            type: boolean
  4271          style: form
  4272        - explode: true
  4273          in: query
  4274          name: update_identity
  4275          required: false
  4276          schema:
  4277            type: boolean
  4278          style: form
  4279        - explode: true
  4280          in: query
  4281          name: update_intervention
  4282          required: false
  4283          schema:
  4284            type: boolean
  4285          style: form
  4286        - explode: true
  4287          in: query
  4288          name: update_own_intervention
  4289          required: false
  4290          schema:
  4291            type: boolean
  4292          style: form
  4293        - explode: true
  4294          in: query
  4295          name: update_settings
  4296          required: false
  4297          schema:
  4298            type: boolean
  4299          style: form
  4300        - explode: true
  4301          in: query
  4302          name: update_time_sheet
  4303          required: false
  4304          schema:
  4305            type: boolean
  4306          style: form
  4307        - explode: true
  4308          in: query
  4309          name: update_user
  4310          required: false
  4311          schema:
  4312            type: boolean
  4313          style: form
  4314        - explode: true
  4315          in: query
  4316          name: use_emoji
  4317          required: false
  4318          schema:
  4319            type: boolean
  4320          style: form
  4321        responses:
  4322          200:
  4323            content:
  4324              application/json:
  4325                schema:
  4326                  $ref: '#/components/schemas/Role'
  4327            description: Success
  4328        summary: Updating a role
  4329        tags:
  4330        - Roles
  4331    /settings:
  4332      get:
  4333        description: |-
  4334          This method renders all settings of your domain.
  4335  
  4336          Authorization​: only users that can update settings.
  4337        operationId: getAllSettings
  4338        responses:
  4339          200:
  4340            content:
  4341              application/json:
  4342                schema:
  4343                  $ref: '#/components/schemas/Settings'
  4344            description: Success
  4345        summary: Getting all settings
  4346        tags:
  4347        - Settings
  4348      put:
  4349        description: |-
  4350          This method updates the current domain settings.
  4351  
  4352          Authorization​: only users that can update settings.
  4353        operationId: updateSettings
  4354        parameters:
  4355        - description: (in hours).
  4356          explode: true
  4357          in: query
  4358          name: activity_presence_threshold
  4359          required: false
  4360          schema:
  4361            type: integer
  4362          style: form
  4363        - description: ​Enable activity tracking (Boolean)
  4364          explode: true
  4365          in: query
  4366          name: activity_tracking
  4367          required: false
  4368          schema:
  4369            type: boolean
  4370          style: form
  4371        - description: (Day of week)
  4372          explode: true
  4373          in: query
  4374          name: beginning_of_week
  4375          required: false
  4376          schema:
  4377            type: string
  4378          style: form
  4379        - description: A​ ctivate the forced categorization by source.​ (Boolean)
  4380          explode: true
  4381          in: query
  4382          name: category_tagging
  4383          required: false
  4384          schema:
  4385            type: boolean
  4386          style: form
  4387        - description: (See format)
  4388          explode: true
  4389          in: query
  4390          name: content_languages
  4391          required: false
  4392          schema:
  4393            type: string
  4394          style: form
  4395        - description: Activate the dashboard (Boolean)
  4396          explode: true
  4397          in: query
  4398          name: dashboard
  4399          required: false
  4400          schema:
  4401            type: boolean
  4402          style: form
  4403        - description: Prevent the DD to be embed by other websites (Boolean)
  4404          explode: true
  4405          in: query
  4406          name: deny_iframe_integration
  4407          required: false
  4408          schema:
  4409            type: boolean
  4410          style: form
  4411        - description: (Boolean)
  4412          explode: true
  4413          in: query
  4414          name: disable_password_autocomplete
  4415          required: false
  4416          schema:
  4417            type: boolean
  4418          style: form
  4419        - description: password expiration delay (in seconds)
  4420          explode: true
  4421          in: query
  4422          name: expire_password_after
  4423          required: false
  4424          schema:
  4425            type: integer
  4426          style: form
  4427        - description: enable password expiration (Boolean)
  4428          explode: true
  4429          in: query
  4430          name: expire_password_enabled
  4431          required: false
  4432          schema:
  4433            type: boolean
  4434          style: form
  4435        - description: provide durations in seconds in export (Boolean)
  4436          explode: true
  4437          in: query
  4438          name: export_in_seconds
  4439          required: false
  4440          schema:
  4441            type: boolean
  4442          style: form
  4443        - description: fold archived contents (Boolean)
  4444          explode: true
  4445          in: query
  4446          name: fold_useless_contents
  4447          required: false
  4448          schema:
  4449            type: boolean
  4450          style: form
  4451        - description: FTE data period (in hours)
  4452          explode: true
  4453          in: query
  4454          name: fte_duration
  4455          required: false
  4456          schema:
  4457            type: integer
  4458          style: form
  4459        - description: enable identity merge (Boolean)
  4460          explode: true
  4461          in: query
  4462          name: identity_merge
  4463          required: false
  4464          schema:
  4465            type: boolean
  4466          style: form
  4467        - description: (Array of times in seconds)
  4468          explode: true
  4469          in: query
  4470          name: intervention_defer_rates[]
  4471          required: false
  4472          schema:
  4473            items:
  4474              type: integer
  4475            type: array
  4476          style: form
  4477        - description: (in seconds)
  4478          explode: true
  4479          in: query
  4480          name: intervention_defer_threshold
  4481          required: false
  4482          schema:
  4483            type: integer
  4484          style: form
  4485        - description: (Array of times in seconds)
  4486          explode: true
  4487          in: query
  4488          name: intervention_rates
  4489          required: false
  4490          schema:
  4491            items:
  4492              type: integer
  4493            type: array
  4494          style: form
  4495        - description: locale code (String)
  4496          explode: true
  4497          in: query
  4498          name: locale
  4499          required: false
  4500          schema:
  4501            type: string
  4502          style: form
  4503        - description: activate multi language support for messages (Boolean)
  4504          explode: true
  4505          in: query
  4506          name: multi_lang
  4507          required: false
  4508          schema:
  4509            type: boolean
  4510          style: form
  4511        - description: Name of the Dimelo Digital (String)
  4512          explode: true
  4513          in: query
  4514          name: name
  4515          required: false
  4516          schema:
  4517            type: string
  4518          style: form
  4519        - description: prohibit reusing old passwords (Boolean)
  4520          explode: true
  4521          in: query
  4522          name: password_archivable_enabled
  4523          required: false
  4524          schema:
  4525            type: boolean
  4526          style: form
  4527        - description: number of archived passwords
  4528          explode: true
  4529          in: query
  4530          name: password_archivable_size
  4531          required: false
  4532          schema:
  4533            type: integer
  4534          style: form
  4535        - description: minimum character length
  4536          explode: true
  4537          in: query
  4538          name: password_min_length
  4539          required: false
  4540          schema:
  4541            type: integer
  4542          style: form
  4543        - description: should contain at least 1 non alphanumeric char (Boolean)
  4544          explode: true
  4545          in: query
  4546          name: password_non_word
  4547          required: false
  4548          schema:
  4549            type: boolean
  4550          style: form
  4551        - description: should contain at least 1 number (Boolean)
  4552          explode: true
  4553          in: query
  4554          name: password_numbers
  4555          required: false
  4556          schema:
  4557            type: boolean
  4558          style: form
  4559        - description: disable password recovery by email (Boolean)
  4560          explode: true
  4561          in: query
  4562          name: password_recovery_disabled
  4563          required: false
  4564          schema:
  4565            type: boolean
  4566          style: form
  4567        - description: Enable push mode (Boolean)
  4568          explode: true
  4569          in: query
  4570          name: push_enabled
  4571          required: false
  4572          schema:
  4573            type: boolean
  4574          style: form
  4575        - description: Enable reply as any identity (Boolean)
  4576          explode: true
  4577          in: query
  4578          name: reply_as_any_identity
  4579          required: false
  4580          schema:
  4581            type: boolean
  4582          style: form
  4583        - description: Enable right to left support (Boolean)
  4584          explode: true
  4585          in: query
  4586          name: rtl_support
  4587          required: false
  4588          schema:
  4589            type: boolean
  4590          style: form
  4591        - description: ​Allow authors to ask approval of their messages (Boolean)
  4592          explode: true
  4593          in: query
  4594          name: self_approval_required
  4595          required: false
  4596          schema:
  4597            type: boolean
  4598          style: form
  4599        - description: Session timeout (in minutes)
  4600          explode: true
  4601          in: query
  4602          name: session_timeout
  4603          required: false
  4604          schema:
  4605            type: integer
  4606          style: form
  4607        - description: Enable spellchecking (Boolean)
  4608          explode: true
  4609          in: query
  4610          name: spellchecking
  4611          required: false
  4612          schema:
  4613            type: boolean
  4614          style: form
  4615        - description: Defines the DD’s design (String)
  4616          explode: true
  4617          in: query
  4618          name: style
  4619          required: false
  4620          schema:
  4621            type: string
  4622          style: form
  4623        - description: Disable third-party services (tracking...) (Boolean)
  4624          explode: true
  4625          in: query
  4626          name: third_party_services_disabled
  4627          required: false
  4628          schema:
  4629            type: boolean
  4630          style: form
  4631        - description: Use the timezone endpoint to get the timezone name (String)
  4632          explode: true
  4633          in: query
  4634          name: timezone
  4635          required: false
  4636          schema:
  4637            type: string
  4638          style: form
  4639        - description: Track JS errors (Boolean)
  4640          explode: true
  4641          in: query
  4642          name: track_js
  4643          required: false
  4644          schema:
  4645            type: boolean
  4646          style: form
  4647        - description: Can be ‘demo’, ‘production’ or ‘archived’
  4648          explode: true
  4649          in: query
  4650          name: type
  4651          required: false
  4652          schema:
  4653            enum:
  4654            - demo
  4655            - production
  4656            - archived
  4657            type: string
  4658          style: form
  4659        - description: Chat max response time (in seconds)
  4660          explode: true
  4661          in: query
  4662          name: urgent_task_threshold
  4663          required: false
  4664          schema:
  4665            type: integer
  4666          style: form
  4667        - description: Experimental (Boolean)
  4668          explode: true
  4669          in: query
  4670          name: use_system_font
  4671          required: false
  4672          schema:
  4673            type: boolean
  4674          style: form
  4675        responses:
  4676          200:
  4677            content:
  4678              application/json:
  4679                schema:
  4680                  $ref: '#/components/schemas/Settings'
  4681            description: Success
  4682        summary: Updating settings
  4683        tags:
  4684        - Settings
  4685    /status:
  4686      get:
  4687        description: |-
  4688          This method get all currently connected agents & their status.
  4689  
  4690          Authorization​: only users that have the right to monitor the task view.
  4691        operationId: getAllAgentStatus
  4692        responses:
  4693          200:
  4694            content:
  4695              application/json:
  4696                schema:
  4697                  items:
  4698                    $ref: '#/components/schemas/AgentStatus'
  4699                  type: array
  4700            description: Success
  4701        summary: Get all connected agents status
  4702        tags:
  4703        - Agent Status
  4704    /status/{agentId}:
  4705      get:
  4706        description: |-
  4707          This method get the status of a connected agent. Returns a 404 if the user does not exist (not_found) or if he’s not connected (disconnected).
  4708  
  4709          Authorization​: only users that have the right to monitor the task view.
  4710        operationId: getAgentStatus
  4711        parameters:
  4712        - explode: false
  4713          in: path
  4714          name: agentId
  4715          required: true
  4716          schema:
  4717            type: string
  4718          style: simple
  4719        responses:
  4720          200:
  4721            content:
  4722              application/json:
  4723                schema:
  4724                  $ref: '#/components/schemas/AgentStatus'
  4725            description: Success
  4726        summary: Get a connected agent status
  4727        tags:
  4728        - Agent Status
  4729      put:
  4730        description: |-
  4731          This method updates an agent's availability. Can be used to set either channels statuses OR custom  status. If both parameters are provided, ignores custom status.The status parameter​ **MUST** b​e either “away” or “available”.
  4732  
  4733          Authorization​: only users that have the right to monitor the task view.
  4734        operationId: changeAgentStatus
  4735        parameters:
  4736        - explode: false
  4737          in: path
  4738          name: agentId
  4739          required: true
  4740          schema:
  4741            type: string
  4742          style: simple
  4743        - description: A hash of channel_id => availability (must contain all channels).
  4744          explode: true
  4745          in: query
  4746          name: status
  4747          required: false
  4748          schema:
  4749            type: string
  4750          style: form
  4751        - description: id of presence status (optional)
  4752          explode: true
  4753          in: query
  4754          name: custom_status_id
  4755          required: false
  4756          schema:
  4757            type: string
  4758          style: form
  4759        responses:
  4760          200:
  4761            content:
  4762              application/json:
  4763                schema:
  4764                  $ref: '#/components/schemas/AgentStatus'
  4765            description: Success
  4766        summary: Changing an agent's status
  4767        tags:
  4768        - Agent Status
  4769    /tags:
  4770      get:
  4771        description: This method renders tags ordered by name (ascending).
  4772        operationId: getAllTags
  4773        parameters:
  4774        - description: The record index to start. Default value is 0.
  4775          explode: true
  4776          in: query
  4777          name: offset
  4778          required: false
  4779          schema:
  4780            format: int32
  4781            type: integer
  4782          style: form
  4783        - description: The max number of records to return. Default value is 30, max
  4784            value is 150.
  4785          explode: true
  4786          in: query
  4787          name: limit
  4788          required: false
  4789          schema:
  4790            format: int32
  4791            type: integer
  4792          style: form
  4793        responses:
  4794          200:
  4795            content:
  4796              application/json:
  4797                schema:
  4798                  $ref: '#/components/schemas/GetAllTagsResponse'
  4799            description: Success
  4800        summary: Getting all tags
  4801        tags:
  4802        - Tags
  4803      post:
  4804        description: This method creates a new tag. In case of success it renders the
  4805          created tag, otherwise, it renders an error (422 HTTP code).
  4806        operationId: createTag
  4807        parameters:
  4808        - description: Tag name (mandatory).
  4809          explode: true
  4810          in: query
  4811          name: name
  4812          required: true
  4813          schema:
  4814            type: string
  4815          style: form
  4816        responses:
  4817          200:
  4818            content:
  4819              application/json:
  4820                schema:
  4821                  $ref: '#/components/schemas/Tag'
  4822            description: Success
  4823        summary: Creating a tag
  4824        tags:
  4825        - Tags
  4826    /tags/{tagId}:
  4827      delete:
  4828        description: |-
  4829          This method destroys an existing tag. It renders tag itself. It renders a 404 if id is invalid.
  4830  
  4831          Authorization​: only users that are able to destroy tags.
  4832        operationId: deleteTag
  4833        parameters:
  4834        - explode: false
  4835          in: path
  4836          name: tagId
  4837          required: true
  4838          schema:
  4839            type: string
  4840          style: simple
  4841        responses:
  4842          200:
  4843            content:
  4844              application/json:
  4845                schema:
  4846                  $ref: '#/components/schemas/Tag'
  4847            description: Success
  4848        summary: Deleting a tag
  4849        tags:
  4850        - Tags
  4851      get:
  4852        description: This method renders a tag from given id.
  4853        operationId: getTag
  4854        parameters:
  4855        - explode: false
  4856          in: path
  4857          name: tagId
  4858          required: true
  4859          schema:
  4860            type: string
  4861          style: simple
  4862        responses:
  4863          200:
  4864            content:
  4865              application/json:
  4866                schema:
  4867                  $ref: '#/components/schemas/Tag'
  4868            description: Success
  4869        summary: Getting a tag from its id
  4870        tags:
  4871        - Tags
  4872      put:
  4873        description: |-
  4874          This method updates an existing tag from given attributes and renders it in case of success.
  4875  
  4876          Authorization​: only users that are able to update tags.
  4877        operationId: updateTag
  4878        parameters:
  4879        - explode: false
  4880          in: path
  4881          name: tagId
  4882          required: true
  4883          schema:
  4884            type: string
  4885          style: simple
  4886        - description: Tag’s label.
  4887          explode: true
  4888          in: query
  4889          name: name
  4890          required: true
  4891          schema:
  4892            type: string
  4893          style: form
  4894        responses:
  4895          200:
  4896            content:
  4897              application/json:
  4898                schema:
  4899                  $ref: '#/components/schemas/Tag'
  4900            description: Success
  4901        summary: Updating a tag
  4902        tags:
  4903        - Tags
  4904    /tasks:
  4905      get:
  4906        description: |-
  4907          This method renders tasks ordered by priority (highest first) and then by creation date (latest first).
  4908  
  4909          Authorization​: only users that can read tasks.
  4910        operationId: getAllTasks
  4911        parameters:
  4912        - description: 'To filter tasks on given queue name (filters on the “global”
  4913            queue by default).The most commonly used queues are: “global” (contains
  4914            every task pending assignation), “workbin_{agent_id}” (contains every tasks
  4915            assigned to the {agent_id} agent, “history” (contains every processed tasks),
  4916            and “undelivered” (contains every undelivered tasks). If queue is set to
  4917            “workbins” all the tasks currently in a workbin will be returned.'
  4918          explode: true
  4919          in: query
  4920          name: queue
  4921          required: false
  4922          schema:
  4923            type: string
  4924          style: form
  4925        - description: To filter tasks on given channel id.
  4926          explode: true
  4927          in: query
  4928          name: channel_id
  4929          required: false
  4930          schema:
  4931            type: string
  4932          style: form
  4933        - description: To filter tasks on the step they’re currently in.
  4934          explode: true
  4935          in: query
  4936          name: step
  4937          required: false
  4938          schema:
  4939            type: string
  4940          style: form
  4941        - description: The record index to start. Default value is 0.
  4942          explode: true
  4943          in: query
  4944          name: offset
  4945          required: false
  4946          schema:
  4947            format: int32
  4948            type: integer
  4949          style: form
  4950        - description: The max number of records to return. Default value is 30, max
  4951            value is 150.
  4952          explode: true
  4953          in: query
  4954          name: limit
  4955          required: false
  4956          schema:
  4957            format: int32
  4958            type: integer
  4959          style: form
  4960        responses:
  4961          200:
  4962            content:
  4963              application/json:
  4964                schema:
  4965                  $ref: '#/components/schemas/GetAllTasksResponse'
  4966            description: Success
  4967        summary: Getting all tasks
  4968        tags:
  4969        - Tasks
  4970    /tasks/{taskId}:
  4971      get:
  4972        description: This method renders a task from given id.
  4973        operationId: getTask
  4974        parameters:
  4975        - explode: false
  4976          in: path
  4977          name: taskId
  4978          required: true
  4979          schema:
  4980            type: string
  4981          style: simple
  4982        responses:
  4983          200:
  4984            content:
  4985              application/json:
  4986                schema:
  4987                  $ref: '#/components/schemas/Task'
  4988            description: Success
  4989        summary: Getting a task from its id
  4990        tags:
  4991        - Tasks
  4992    /tasks/{taskId}/move:
  4993      delete:
  4994        description: |-
  4995          This method changes a task queue and renders it in case of success. Only accepts “undelivered” and special queue defined in topology (e.g. triage).
  4996  
  4997          Authorization​: only users that have the right to monitor the task view.
  4998        operationId: moveTask
  4999        parameters:
  5000        - explode: false
  5001          in: path
  5002          name: taskId
  5003          required: true
  5004          schema:
  5005            type: string
  5006          style: simple
  5007        - description: Name of the queue task has to be moved in.
  5008          explode: true
  5009          in: query
  5010          name: queue
  5011          required: true
  5012          schema:
  5013            type: string
  5014          style: form
  5015        responses:
  5016          200:
  5017            content:
  5018              application/json:
  5019                schema:
  5020                  $ref: '#/components/schemas/Task'
  5021            description: Success
  5022        summary: Move a task to another queue
  5023        tags:
  5024        - Tasks
  5025    /tasks/{taskId}/transfer:
  5026      put:
  5027        description: |-
  5028          This method transfers an existing task and renders it in case of success.
  5029  
  5030          Authorization​: only users that have the right to monitor the task view.
  5031        operationId: transferTask
  5032        parameters:
  5033        - explode: false
  5034          in: path
  5035          name: taskId
  5036          required: true
  5037          schema:
  5038            type: string
  5039          style: simple
  5040        - description: List of agents to transfer the task to (multiple).
  5041          explode: true
  5042          in: query
  5043          name: agent_ids
  5044          required: false
  5045          schema:
  5046            items:
  5047              type: string
  5048            type: array
  5049          style: form
  5050        - description: Force the transfer to the first agent in agent_ids if set. When
  5051            bypass is used,
  5052          explode: true
  5053          in: query
  5054          name: bypass
  5055          required: false
  5056          schema:
  5057            type: string
  5058          style: form
  5059        - description: Filter agents receiving the task depending on their categories.
  5060          explode: true
  5061          in: query
  5062          name: category_ids
  5063          required: false
  5064          schema:
  5065            items:
  5066              type: string
  5067            type: array
  5068          style: form
  5069        - description: Filter agents receiving the task depending on their spoken languages.
  5070          explode: true
  5071          in: query
  5072          name: language
  5073          required: false
  5074          schema:
  5075            type: string
  5076          style: form
  5077        - description: Filter agents receiving the task depending on their teams.
  5078          explode: true
  5079          in: query
  5080          name: team_ids
  5081          required: false
  5082          schema:
  5083            items:
  5084              type: string
  5085            type: array
  5086          style: form
  5087        - description: Add a comment to the task.
  5088          explode: true
  5089          in: query
  5090          name: comment
  5091          required: false
  5092          schema:
  5093            type: string
  5094          style: form
  5095        responses:
  5096          200:
  5097            content:
  5098              application/json:
  5099                schema:
  5100                  $ref: '#/components/schemas/Task'
  5101            description: Success
  5102        summary: Transferring a task
  5103        tags:
  5104        - Tasks
  5105    /teams:
  5106      get:
  5107        description: This method renders teams ordered by creation date (ascending).
  5108        operationId: getAllTeams
  5109        parameters:
  5110        - description: The record index to start. Default value is 0.
  5111          explode: true
  5112          in: query
  5113          name: offset
  5114          required: false
  5115          schema:
  5116            format: int32
  5117            type: integer
  5118          style: form
  5119        - description: The max number of records to return. Default value is 30, max
  5120            value is 150.
  5121          explode: true
  5122          in: query
  5123          name: limit
  5124          required: false
  5125          schema:
  5126            format: int32
  5127            type: integer
  5128          style: form
  5129        responses:
  5130          200:
  5131            content:
  5132              application/json:
  5133                schema:
  5134                  $ref: '#/components/schemas/GetAllTeamsResponse'
  5135            description: Success
  5136        summary: Getting all teams
  5137        tags:
  5138        - Teams
  5139      post:
  5140        description: This method creates a new team. In case of success it renders the
  5141          created tag, otherwise, it renders an error (422 HTTP code).
  5142        operationId: createTeam
  5143        parameters:
  5144        - description: Team name.
  5145          explode: true
  5146          in: query
  5147          name: name
  5148          required: false
  5149          schema:
  5150            type: string
  5151          style: form
  5152        - description: List of user id as leaders
  5153          explode: true
  5154          in: query
  5155          name: leader_ids[]
  5156          required: false
  5157          schema:
  5158            items:
  5159              type: string
  5160            type: array
  5161          style: form
  5162        - description: List of user id as team members.
  5163          explode: true
  5164          in: query
  5165          name: user_ids[]
  5166          required: false
  5167          schema:
  5168            items:
  5169              type: string
  5170            type: array
  5171          style: form
  5172        responses:
  5173          200:
  5174            content:
  5175              application/json:
  5176                schema:
  5177                  $ref: '#/components/schemas/Team'
  5178            description: Success
  5179        summary: Creating a team
  5180        tags:
  5181        - Teams
  5182    /teams/{teamId}:
  5183      delete:
  5184        description: This method destroys an existing team. It renders the team itself.
  5185          It renders a 404 if id is invalid.
  5186        operationId: deleteTeam
  5187        parameters:
  5188        - explode: false
  5189          in: path
  5190          name: teamId
  5191          required: true
  5192          schema:
  5193            type: string
  5194          style: simple
  5195        - description: ID of a category to recategorize (optional).
  5196          explode: true
  5197          in: query
  5198          name: take_over_category_id
  5199          required: false
  5200          schema:
  5201            type: string
  5202          style: form
  5203        responses:
  5204          200:
  5205            content:
  5206              application/json:
  5207                schema:
  5208                  $ref: '#/components/schemas/Team'
  5209            description: Success
  5210        summary: Deleting a team
  5211        tags:
  5212        - Teams
  5213      get:
  5214        description: This method renders a team from given id.
  5215        operationId: getTeam
  5216        parameters:
  5217        - explode: false
  5218          in: path
  5219          name: teamId
  5220          required: true
  5221          schema:
  5222            type: string
  5223          style: simple
  5224        responses:
  5225          200:
  5226            content:
  5227              application/json:
  5228                schema:
  5229                  $ref: '#/components/schemas/Team'
  5230            description: Success
  5231        summary: Getting a team from its id
  5232        tags:
  5233        - Teams
  5234      put:
  5235        description: This method updates an existing team from given attributes and
  5236          renders it in case of success.
  5237        operationId: updateTeam
  5238        parameters:
  5239        - explode: false
  5240          in: path
  5241          name: teamId
  5242          required: true
  5243          schema:
  5244            type: string
  5245          style: simple
  5246        - description: Team name.
  5247          explode: true
  5248          in: query
  5249          name: name
  5250          required: false
  5251          schema:
  5252            type: string
  5253          style: form
  5254        - description: List of user id as leaders
  5255          explode: true
  5256          in: query
  5257          name: leader_ids[]
  5258          required: false
  5259          schema:
  5260            items:
  5261              type: string
  5262            type: array
  5263          style: form
  5264        - description: List of user id as team members.
  5265          explode: true
  5266          in: query
  5267          name: user_ids[]
  5268          required: false
  5269          schema:
  5270            items:
  5271              type: string
  5272            type: array
  5273          style: form
  5274        responses:
  5275          200:
  5276            content:
  5277              application/json:
  5278                schema:
  5279                  $ref: '#/components/schemas/Team'
  5280            description: Success
  5281        summary: Updating a team
  5282        tags:
  5283        - Teams
  5284    /time_sheets:
  5285      get:
  5286        description: This method renders time sheets ordered by active and label.
  5287        operationId: getAllTimeSheets
  5288        parameters:
  5289        - description: The record index to start. Default value is 0.
  5290          explode: true
  5291          in: query
  5292          name: offset
  5293          required: false
  5294          schema:
  5295            format: int32
  5296            type: integer
  5297          style: form
  5298        - description: The max number of records to return. Default value is 30, max
  5299            value is 150.
  5300          explode: true
  5301          in: query
  5302          name: limit
  5303          required: false
  5304          schema:
  5305            format: int32
  5306            type: integer
  5307          style: form
  5308        responses:
  5309          200:
  5310            content:
  5311              application/json:
  5312                schema:
  5313                  $ref: '#/components/schemas/GetAllTimeSheetsResponse'
  5314            description: Success
  5315        summary: Getting all time sheets
  5316        tags:
  5317        - Time Sheets
  5318      post:
  5319        description: |-
  5320          This method creates a time sheet. In case of success it renders the time sheet, otherwise, it renders an error (422 HTTP code).
  5321  
  5322          Authorization​: only users that can create time sheet.
  5323        operationId: createTimeSheet
  5324        parameters:
  5325        - description: true or false, this field is used to enable/disable a time sheet.
  5326          explode: true
  5327          in: query
  5328          name: active
  5329          required: false
  5330          schema:
  5331            type: boolean
  5332          style: form
  5333        - description: The label of the time sheet.
  5334          explode: true
  5335          in: query
  5336          name: label
  5337          required: true
  5338          schema:
  5339            type: string
  5340          style: form
  5341        - description: An array containing id of each source using your time sheet.
  5342          explode: true
  5343          in: query
  5344          name: source_ids
  5345          required: false
  5346          schema:
  5347            items:
  5348              type: string
  5349            type: array
  5350          style: form
  5351        - description: 'A string containing the first two letters of your country (example:
  5352            "fr"/"en"/"es"), useful to bootstrap default holidays following to a country.'
  5353          explode: true
  5354          in: query
  5355          name: holidays_region
  5356          required: false
  5357          schema:
  5358            enum:
  5359            - de
  5360            - es
  5361            - fr
  5362            - gb
  5363            - it
  5364            - nl
  5365            - us
  5366            type: string
  5367          style: form
  5368        - description: An array containing one or more hash of holidays, a holiday must
  5369            contain a name (string) and a date (string), the date must be in a valid
  5370            format, a valid format is a format corresponding to your domain’s locale).
  5371          explode: true
  5372          in: query
  5373          name: holidays
  5374          required: false
  5375          schema:
  5376            type: string
  5377          style: form
  5378        - description: 'this field define the time intervals of the day (in secs). An
  5379            empty string means that there are no business hours on this day. For example:
  5380            “a-b,c-d”: “a” is the beginning of the first interval of the day, “b” is
  5381            the ending of the first interval of the day, “c” is the beginning of the
  5382            second interval of the day, “d” is the ending of the second interval of
  5383            the day'
  5384          explode: true
  5385          in: query
  5386          name: monday_hours
  5387          required: false
  5388          schema:
  5389            type: string
  5390          style: form
  5391        - description: this field define the time intervals of the day (in secs). An
  5392            empty string means that there are no business hours on this day. See `monday_hours`
  5393            for the format.
  5394          explode: true
  5395          in: query
  5396          name: tuesday_hours
  5397          required: false
  5398          schema:
  5399            type: string
  5400          style: form
  5401        - description: this field define the time intervals of the day (in secs). An
  5402            empty string means that there are no business hours on this day. See `monday_hours`
  5403            for the format.
  5404          explode: true
  5405          in: query
  5406          name: wednesday_hours
  5407          required: false
  5408          schema:
  5409            type: string
  5410          style: form
  5411        - description: this field define the time intervals of the day (in secs). An
  5412            empty string means that there are no business hours on this day. See `monday_hours`
  5413            for the format.
  5414          explode: true
  5415          in: query
  5416          name: thursday_hours
  5417          required: false
  5418          schema:
  5419            type: string
  5420          style: form
  5421        - description: this field define the time intervals of the day (in secs). An
  5422            empty string means that there are no business hours on this day. See `monday_hours`
  5423            for the format.
  5424          explode: true
  5425          in: query
  5426          name: friday_hours
  5427          required: false
  5428          schema:
  5429            type: string
  5430          style: form
  5431        - description: this field define the time intervals of the day (in secs). An
  5432            empty string means that there are no business hours on this day. See `monday_hours`
  5433            for the format.
  5434          explode: true
  5435          in: query
  5436          name: saturday_hours
  5437          required: false
  5438          schema:
  5439            type: string
  5440          style: form
  5441        - description: this field define the time intervals of the day (in secs). An
  5442            empty string means that there are no business hours on this day. See `monday_hours`
  5443            for the format.
  5444          explode: true
  5445          in: query
  5446          name: sunday_hours
  5447          required: false
  5448          schema:
  5449            type: string
  5450          style: form
  5451        responses:
  5452          200:
  5453            content:
  5454              application/json:
  5455                schema:
  5456                  $ref: '#/components/schemas/TimeSheet'
  5457            description: Success
  5458        summary: Creating a time sheet
  5459        tags:
  5460        - Time Sheets
  5461    /time_sheets/{timeSheetId}:
  5462      delete:
  5463        description: This method destroys an existing time sheet. It renders time sheet
  5464          itself. It renders a 404 if id is invalid.
  5465        operationId: deleteTimeSheet
  5466        parameters:
  5467        - explode: false
  5468          in: path
  5469          name: timeSheetId
  5470          required: true
  5471          schema:
  5472            type: string
  5473          style: simple
  5474        responses:
  5475          200:
  5476            content:
  5477              application/json:
  5478                schema:
  5479                  $ref: '#/components/schemas/TimeSheet'
  5480            description: Success
  5481        summary: Deleting a time sheet
  5482        tags:
  5483        - Time Sheets
  5484      get:
  5485        description: |-
  5486          This method renders a time sheet from given id.
  5487  
  5488          Authorization​: only users that can see time sheets in administration section.
  5489        operationId: getTimeSheet
  5490        parameters:
  5491        - explode: false
  5492          in: path
  5493          name: timeSheetId
  5494          required: true
  5495          schema:
  5496            type: string
  5497          style: simple
  5498        responses:
  5499          200:
  5500            content:
  5501              application/json:
  5502                schema:
  5503                  $ref: '#/components/schemas/TimeSheet'
  5504            description: Success
  5505        summary: Getting a time sheet from its id
  5506        tags:
  5507        - Time Sheets
  5508      put:
  5509        description: This method updates an existing team from given attributes and
  5510          renders it in case of success.
  5511        operationId: updateTimeSheet
  5512        parameters:
  5513        - explode: false
  5514          in: path
  5515          name: timeSheetId
  5516          required: true
  5517          schema:
  5518            type: string
  5519          style: simple
  5520        - description: true or false, this field is used to enable/disable a time sheet.
  5521          explode: true
  5522          in: query
  5523          name: active
  5524          required: false
  5525          schema:
  5526            type: boolean
  5527          style: form
  5528        - description: The label of the time sheet.
  5529          explode: true
  5530          in: query
  5531          name: label
  5532          required: false
  5533          schema:
  5534            type: string
  5535          style: form
  5536        - description: An array containing id of each source using your time sheet.
  5537          explode: true
  5538          in: query
  5539          name: source_ids[]
  5540          required: false
  5541          schema:
  5542            items:
  5543              type: string
  5544            type: array
  5545          style: form
  5546        - description: An array containing one or more hash of holidays, a holiday must
  5547            contain a name (string) and a date (string), the date must be in a valid
  5548            format, a valid format is a format corresponding to your domain’s locale).
  5549          explode: true
  5550          in: query
  5551          name: holidays
  5552          required: false
  5553          schema:
  5554            type: string
  5555          style: form
  5556        - description: 'this field define the time intervals of the day (in secs). An
  5557            empty string means that there are no business hours on this day. For example:
  5558            “a-b,c-d”: “a” is the beginning of the first interval of the day, “b” is
  5559            the ending of the first interval of the day, “c” is the beginning of the
  5560            second interval of the day, “d” is the ending of the second interval of
  5561            the day'
  5562          explode: true
  5563          in: query
  5564          name: monday_hours
  5565          required: false
  5566          schema:
  5567            type: string
  5568          style: form
  5569        - description: this field define the time intervals of the day (in secs). An
  5570            empty string means that there are no business hours on this day. See `monday_hours`
  5571            for the format.
  5572          explode: true
  5573          in: query
  5574          name: tuesday_hours
  5575          required: false
  5576          schema:
  5577            type: string
  5578          style: form
  5579        - description: this field define the time intervals of the day (in secs). An
  5580            empty string means that there are no business hours on this day. See `monday_hours`
  5581            for the format.
  5582          explode: true
  5583          in: query
  5584          name: wednesday_hours
  5585          required: false
  5586          schema:
  5587            type: string
  5588          style: form
  5589        - description: this field define the time intervals of the day (in secs). An
  5590            empty string means that there are no business hours on this day. See `monday_hours`
  5591            for the format.
  5592          explode: true
  5593          in: query
  5594          name: thursday_hours
  5595          required: false
  5596          schema:
  5597            type: string
  5598          style: form
  5599        - description: this field define the time intervals of the day (in secs). An
  5600            empty string means that there are no business hours on this day. See `monday_hours`
  5601            for the format.
  5602          explode: true
  5603          in: query
  5604          name: friday_hours
  5605          required: false
  5606          schema:
  5607            type: string
  5608          style: form
  5609        - description: this field define the time intervals of the day (in secs). An
  5610            empty string means that there are no business hours on this day. See `monday_hours`
  5611            for the format.
  5612          explode: true
  5613          in: query
  5614          name: saturday_hours
  5615          required: false
  5616          schema:
  5617            type: string
  5618          style: form
  5619        - description: this field define the time intervals of the day (in secs). An
  5620            empty string means that there are no business hours on this day. See `monday_hours`
  5621            for the format.
  5622          explode: true
  5623          in: query
  5624          name: sunday_hours
  5625          required: false
  5626          schema:
  5627            type: string
  5628          style: form
  5629        responses:
  5630          200:
  5631            content:
  5632              application/json:
  5633                schema:
  5634                  $ref: '#/components/schemas/TimeSheet'
  5635            description: Success
  5636        summary: Updating a time sheet
  5637        tags:
  5638        - Time Sheets
  5639    /timezones:
  5640      get:
  5641        description: This method renders all available timezones.
  5642        operationId: getAllTimezones
  5643        responses:
  5644          200:
  5645            content:
  5646              application/json:
  5647                schema:
  5648                  items:
  5649                    $ref: '#/components/schemas/Timezone'
  5650                  type: array
  5651            description: List of all timezones
  5652        summary: Getting all timezones
  5653        tags:
  5654        - Timezones
  5655    /users:
  5656      get:
  5657        description: |-
  5658          This method renders users ordered by creation date (descending).
  5659  
  5660          Authorization​: only users that can view users. If the user affiliated to the token has the manage_users_of_my_teams permission, only the users belonging to at least one of the teams he’s the leader of will be returned.
  5661        operationId: getAllUsers
  5662        parameters:
  5663        - description: To filter users on given email.
  5664          explode: true
  5665          in: query
  5666          name: email
  5667          required: false
  5668          schema:
  5669            type: string
  5670          style: form
  5671        - description: To filter users on given category id.
  5672          explode: true
  5673          in: query
  5674          name: category_id
  5675          required: false
  5676          schema:
  5677            type: string
  5678          style: form
  5679        - description: To filter users on given identity id.
  5680          explode: true
  5681          in: query
  5682          name: identity_id
  5683          required: false
  5684          schema:
  5685            type: string
  5686          style: form
  5687        - description: To filter users on given external id.
  5688          explode: true
  5689          in: query
  5690          name: external_id
  5691          required: false
  5692          schema:
  5693            type: string
  5694          style: form
  5695        - description: To filter users on given role id.
  5696          explode: true
  5697          in: query
  5698          name: role_id
  5699          required: false
  5700          schema:
  5701            type: string
  5702          style: form
  5703        - description: To filter users on given team id.
  5704          explode: true
  5705          in: query
  5706          name: team_id
  5707          required: false
  5708          schema:
  5709            type: string
  5710          style: form
  5711        - description: The record index to start. Default value is 0.
  5712          explode: true
  5713          in: query
  5714          name: offset
  5715          required: false
  5716          schema:
  5717            format: int32
  5718            type: integer
  5719          style: form
  5720        - description: The max number of records to return. Default value is 30, max
  5721            value is 150.
  5722          explode: true
  5723          in: query
  5724          name: limit
  5725          required: false
  5726          schema:
  5727            format: int32
  5728            type: integer
  5729          style: form
  5730        responses:
  5731          200:
  5732            content:
  5733              application/json:
  5734                schema:
  5735                  $ref: '#/components/schemas/GetAllUsersResponse'
  5736            description: Success
  5737        summary: Getting all users
  5738        tags:
  5739        - Users
  5740      post:
  5741        description: This method creates a new user. In case of success it renders the
  5742          created user, otherwise, it renders an error (422 HTTP code).
  5743        operationId: createUser
  5744        parameters:
  5745        - description: User list of category ids (multiple).
  5746          explode: true
  5747          in: query
  5748          name: category_ids[]
  5749          required: false
  5750          schema:
  5751            items:
  5752              type: string
  5753            type: array
  5754          style: form
  5755        - description: User email (mandatory).
  5756          explode: true
  5757          in: query
  5758          name: email
  5759          required: true
  5760          schema:
  5761            type: string
  5762          style: form
  5763        - description: Whether the user is enabled or not (boolean).
  5764          explode: true
  5765          in: query
  5766          name: enabled
  5767          required: false
  5768          schema:
  5769            type: boolean
  5770          style: form
  5771        - description: User external id, used for SSO.
  5772          explode: true
  5773          in: query
  5774          name: external_id
  5775          required: false
  5776          schema:
  5777            type: string
  5778          style: form
  5779        - description: User firstname (mandatory).
  5780          explode: true
  5781          in: query
  5782          name: firstname
  5783          required: true
  5784          schema:
  5785            type: string
  5786          style: form
  5787        - description: User gender ("man" or "woman").
  5788          explode: true
  5789          in: query
  5790          name: gender
  5791          required: false
  5792          schema:
  5793            enum:
  5794            - man
  5795            - woman
  5796            type: string
  5797          style: form
  5798        - description: User list of identity ids (multiple).
  5799          explode: true
  5800          in: query
  5801          name: identity_ids[]
  5802          required: false
  5803          schema:
  5804            items:
  5805              type: string
  5806            type: array
  5807          style: form
  5808        - description: User lastname (mandatory).
  5809          explode: true
  5810          in: query
  5811          name: lastname
  5812          required: true
  5813          schema:
  5814            type: string
  5815          style: form
  5816        - description: Language for the user interface.
  5817          explode: true
  5818          in: query
  5819          name: locale
  5820          required: false
  5821          schema:
  5822            type: string
  5823          style: form
  5824        - description: User nickname.
  5825          explode: true
  5826          in: query
  5827          name: nickname
  5828          required: false
  5829          schema:
  5830            type: string
  5831          style: form
  5832        - description: User plain password (mandatory).
  5833          explode: true
  5834          in: query
  5835          name: password
  5836          required: true
  5837          schema:
  5838            type: string
  5839          style: form
  5840        - description: User role id (mandatory).
  5841          explode: true
  5842          in: query
  5843          name: role_id
  5844          required: true
  5845          schema:
  5846            type: string
  5847          style: form
  5848        - description: User list of team ids (multiple).
  5849          explode: true
  5850          in: query
  5851          name: team_ids[]
  5852          required: false
  5853          schema:
  5854            items:
  5855              type: string
  5856            type: array
  5857          style: form
  5858        - description: Use the timezone endpoint to get the timezone name (String),
  5859            default is empty for domain timezone.
  5860          explode: true
  5861          in: query
  5862          name: timezone
  5863          required: false
  5864          schema:
  5865            type: string
  5866          style: form
  5867        - description: List of locales corresponding to the languages spoken by the
  5868            user (multiple).
  5869          explode: true
  5870          in: query
  5871          name: spoken_languages[]
  5872          required: false
  5873          schema:
  5874            items:
  5875              type: string
  5876            type: array
  5877          style: form
  5878        responses:
  5879          200:
  5880            content:
  5881              application/json:
  5882                schema:
  5883                  $ref: '#/components/schemas/User'
  5884            description: Success
  5885        summary: Creating a user
  5886        tags:
  5887        - Users
  5888    /users/invite:
  5889      post:
  5890        description: |-
  5891          This method invites a new user. In case of success it renders the created user, otherwise, it renders an error (422 HTTP code).
  5892  
  5893          Authorization​: only users that can invite other users. If the user affiliated to the token has the manage_users_of_my_teams permission, the invited user will need to belong to at least one of the teams he’s the leader of. It will not be possible to assign the user to other teams.
  5894        operationId: inviteUser
  5895        parameters:
  5896        - description: User list of category ids (multiple).
  5897          explode: true
  5898          in: query
  5899          name: category_ids
  5900          required: false
  5901          schema:
  5902            items:
  5903              type: string
  5904            type: array
  5905          style: form
  5906        - description: User email (mandatory).
  5907          explode: true
  5908          in: query
  5909          name: email
  5910          required: true
  5911          schema:
  5912            type: string
  5913          style: form
  5914        - description: Whether the user is enabled or not (boolean).
  5915          explode: true
  5916          in: query
  5917          name: enabled
  5918          required: false
  5919          schema:
  5920            type: boolean
  5921          style: form
  5922        - description: User external id.
  5923          explode: true
  5924          in: query
  5925          name: external_id
  5926          required: false
  5927          schema:
  5928            type: string
  5929          style: form
  5930        - description: User firstname (mandatory).
  5931          explode: true
  5932          in: query
  5933          name: firstname
  5934          required: true
  5935          schema:
  5936            type: string
  5937          style: form
  5938        - description: User gender ("man" or "woman").
  5939          explode: true
  5940          in: query
  5941          name: gender
  5942          required: false
  5943          schema:
  5944            enum:
  5945            - man
  5946            - woman
  5947            type: string
  5948          style: form
  5949        - description: User list of identity ids (multiple).
  5950          explode: true
  5951          in: query
  5952          name: identity_ids
  5953          required: false
  5954          schema:
  5955            items:
  5956              type: string
  5957            type: array
  5958          style: form
  5959        - description: User lastname (mandatory).
  5960          explode: true
  5961          in: query
  5962          name: lastname
  5963          required: true
  5964          schema:
  5965            type: string
  5966          style: form
  5967        - description: Language for the user interface.
  5968          explode: true
  5969          in: query
  5970          name: locale
  5971          required: false
  5972          schema:
  5973            type: string
  5974          style: form
  5975        - description: User nickname.
  5976          explode: true
  5977          in: query
  5978          name: nickname
  5979          required: false
  5980          schema:
  5981            type: string
  5982          style: form
  5983        - description: User role id (mandatory).
  5984          explode: true
  5985          in: query
  5986          name: role_id
  5987          required: true
  5988          schema:
  5989            type: string
  5990          style: form
  5991        - description: User list of team ids (multiple).
  5992          explode: true
  5993          in: query
  5994          name: team_ids
  5995          required: false
  5996          schema:
  5997            items:
  5998              type: string
  5999            type: array
  6000          style: form
  6001        - description: Use the timezone endpoint to get the timezone name (String),
  6002            default is empty for
  6003          explode: true
  6004          in: query
  6005          name: timezone
  6006          required: false
  6007          schema:
  6008            type: string
  6009          style: form
  6010        - description: List of locales corresponding to the languages spoken by the
  6011            user (multiple).
  6012          explode: true
  6013          in: query
  6014          name: spoken_languages
  6015          required: false
  6016          schema:
  6017            items:
  6018              type: string
  6019            type: array
  6020          style: form
  6021        responses:
  6022          200:
  6023            content:
  6024              application/json:
  6025                schema:
  6026                  $ref: '#/components/schemas/User'
  6027            description: Success
  6028          422:
  6029            description: Unprocessable Entity
  6030        summary: Inviting a user
  6031        tags:
  6032        - Users
  6033    /users/{userId}:
  6034      delete:
  6035        description: |-
  6036          This method deletes the given user. In case of success it renders the deleted user, otherwise, it renders an error (422 HTTP code).
  6037  
  6038          Authorization​: only users that can update users. The user affiliated to the token must have at least all the permissions of the other user. If the user affiliated to the token has the manage_users_of_my_teams permission, the deleted user will need to belong to at least one of the teams he’s the leader of.
  6039        operationId: deleteUser
  6040        parameters:
  6041        - explode: false
  6042          in: path
  6043          name: userId
  6044          required: true
  6045          schema:
  6046            type: string
  6047          style: simple
  6048        responses:
  6049          200:
  6050            content:
  6051              application/json:
  6052                schema:
  6053                  $ref: '#/components/schemas/User'
  6054            description: Success
  6055        summary: Deleting a user
  6056        tags:
  6057        - Users
  6058      get:
  6059        description: This method renders a user from given id.
  6060        operationId: getUser
  6061        parameters:
  6062        - explode: false
  6063          in: path
  6064          name: userId
  6065          required: true
  6066          schema:
  6067            type: string
  6068          style: simple
  6069        responses:
  6070          200:
  6071            content:
  6072              application/json:
  6073                schema:
  6074                  $ref: '#/components/schemas/User'
  6075            description: Success
  6076        summary: Getting a user from its id
  6077        tags:
  6078        - Users
  6079      put:
  6080        description: |-
  6081          This method updates users from given attributes and renders it in case of success.
  6082  
  6083          Authorization​: only users that can update users. If the user affiliated to the token has the `manage_users_of_my_teams` permission, the updated user will need to belong to at least one of the teams he’s the leader of. The teams the user affiliated to the token is the leader of will be the only ones which can be added or removed.
  6084        operationId: updateUser
  6085        parameters:
  6086        - explode: false
  6087          in: path
  6088          name: userId
  6089          required: true
  6090          schema:
  6091            type: string
  6092          style: simple
  6093        - description: User list of category ids (multiple).
  6094          explode: true
  6095          in: query
  6096          name: category_ids[]
  6097          required: false
  6098          schema:
  6099            items:
  6100              type: string
  6101            type: array
  6102          style: form
  6103        - description: User email.
  6104          explode: true
  6105          in: query
  6106          name: email
  6107          required: false
  6108          schema:
  6109            type: string
  6110          style: form
  6111        - description: Whether the user is enabled or not (boolean).
  6112          explode: true
  6113          in: query
  6114          name: enabled
  6115          required: false
  6116          schema:
  6117            type: boolean
  6118          style: form
  6119        - description: User external id, used for SSO.
  6120          explode: true
  6121          in: query
  6122          name: external_id
  6123          required: false
  6124          schema:
  6125            type: string
  6126          style: form
  6127        - description: User firstname.
  6128          explode: true
  6129          in: query
  6130          name: firstname
  6131          required: false
  6132          schema:
  6133            type: string
  6134          style: form
  6135        - description: User gender ("man" or "woman").
  6136          explode: true
  6137          in: query
  6138          name: gender
  6139          required: false
  6140          schema:
  6141            enum:
  6142            - man
  6143            - woman
  6144            type: string
  6145          style: form
  6146        - description: User list of identity ids (multiple).
  6147          explode: true
  6148          in: query
  6149          name: identity_ids[]
  6150          required: false
  6151          schema:
  6152            items:
  6153              type: string
  6154            type: array
  6155          style: form
  6156        - description: User lastname.
  6157          explode: true
  6158          in: query
  6159          name: lastname
  6160          required: false
  6161          schema:
  6162            type: string
  6163          style: form
  6164        - description: Language for the user interface.
  6165          explode: true
  6166          in: query
  6167          name: locale
  6168          required: false
  6169          schema:
  6170            type: string
  6171          style: form
  6172        - description: User nickname.
  6173          explode: true
  6174          in: query
  6175          name: nickname
  6176          required: false
  6177          schema:
  6178            type: string
  6179          style: form
  6180        - description: User plain password.
  6181          explode: true
  6182          in: query
  6183          name: password
  6184          required: false
  6185          schema:
  6186            type: string
  6187          style: form
  6188        - description: User role id.
  6189          explode: true
  6190          in: query
  6191          name: role_id
  6192          required: false
  6193          schema:
  6194            type: string
  6195          style: form
  6196        - description: User list of team ids (multiple).
  6197          explode: true
  6198          in: query
  6199          name: team_ids[]
  6200          required: false
  6201          schema:
  6202            items:
  6203              type: string
  6204            type: array
  6205          style: form
  6206        - description: Use the timezone endpoint to get the timezone name (String),
  6207            default is empty for domain timezone.
  6208          explode: true
  6209          in: query
  6210          name: timezone
  6211          required: false
  6212          schema:
  6213            type: string
  6214          style: form
  6215        - description: List of locales corresponding to the languages spoken by the
  6216            user (multiple).
  6217          explode: true
  6218          in: query
  6219          name: spoken_languages[]
  6220          required: false
  6221          schema:
  6222            items:
  6223              type: string
  6224            type: array
  6225          style: form
  6226        responses:
  6227          200:
  6228            content:
  6229              application/json:
  6230                schema:
  6231                  $ref: '#/components/schemas/User'
  6232            description: Success
  6233        summary: Updating a user
  6234        tags:
  6235        - Users
  6236    /webhooks:
  6237      get:
  6238        description: |-
  6239          This method renders webhooks ordered by active and staging_use (descending).
  6240  
  6241          Authorization​: users having manage_api_access_tokens permission can see all webhooks / users don’t having the manage_api_access_tokens permission can see only the webhooks belonging to access token created by them.
  6242        operationId: getAllWebhooks
  6243        parameters:
  6244        - description: Access token.
  6245          explode: true
  6246          in: query
  6247          name: access_token
  6248          required: true
  6249          schema:
  6250            type: string
  6251          style: form
  6252        - description: The record index to start. Default value is 0.
  6253          explode: true
  6254          in: query
  6255          name: offset
  6256          required: false
  6257          schema:
  6258            format: int32
  6259            type: integer
  6260          style: form
  6261        - description: The max number of records to return. Default value is 30, max
  6262            value is 150.
  6263          explode: true
  6264          in: query
  6265          name: limit
  6266          required: false
  6267          schema:
  6268            format: int32
  6269            type: integer
  6270          style: form
  6271        responses:
  6272          200:
  6273            content:
  6274              application/json:
  6275                schema:
  6276                  $ref: '#/components/schemas/GetAllWebhooksResponse'
  6277            description: Success
  6278        summary: Getting all webhooks
  6279        tags:
  6280        - Webhooks
  6281      post:
  6282        description: |-
  6283          This method creates a webhook. In case of success it renders the webhook, otherwise, it renders an error (422 HTTP code).
  6284  
  6285          Authorization​: All users having the manage_api_access_tokens permission or all users having an api access token.
  6286        operationId: createWebhook
  6287        parameters:
  6288        - description: Access token.
  6289          explode: true
  6290          in: query
  6291          name: access_token
  6292          required: true
  6293          schema:
  6294            type: string
  6295          style: form
  6296        - description: true or false, this field is used to enable/disable a webhook.
  6297          explode: true
  6298          in: query
  6299          name: active
  6300          required: false
  6301          schema:
  6302            type: boolean
  6303          style: form
  6304        - description: The label of the webhook.
  6305          explode: true
  6306          in: query
  6307          name: label
  6308          required: true
  6309          schema:
  6310            type: string
  6311          style: form
  6312        - description: true or false, this field is used to determine if a webhook will
  6313            be run in staging
  6314          explode: true
  6315          in: query
  6316          name: staging_use
  6317          required: false
  6318          schema:
  6319            type: boolean
  6320          style: form
  6321        - description: The url of a webhook. This is used to determine the endpoint
  6322            of your webhook, where
  6323          explode: true
  6324          in: query
  6325          name: url
  6326          required: true
  6327          schema:
  6328            type: string
  6329          style: form
  6330        - description: The token used in your webhook.
  6331          explode: true
  6332          in: query
  6333          name: verify_token
  6334          required: false
  6335          schema:
  6336            type: string
  6337          style: form
  6338        - description: The secret key that will be served as a ​`X-Dimelo-Secret​` header
  6339            in every request.
  6340          explode: true
  6341          in: query
  6342          name: secret
  6343          required: false
  6344          schema:
  6345            type: string
  6346          style: form
  6347        - description: An array containing all the events that your webhook wants to
  6348            subscribe.
  6349          explode: true
  6350          in: query
  6351          name: registered_events[]
  6352          required: true
  6353          schema:
  6354            items:
  6355              enum:
  6356              - api_access_token.created
  6357              - api_access_token.destroyed
  6358              - api_access_token.updated
  6359              - automatic_exports_task.created
  6360              - automatic_exports_task.destroyed
  6361              - automatic_exports_task.failed
  6362              - automatic_exports_task.succeed
  6363              - automatic_exports_task.updated
  6364              - category.created
  6365              - category.destroyed
  6366              - category.updated
  6367              - community.created
  6368              - community.destroyed
  6369              - community.updated
  6370              - content.admin_stamped
  6371              - content.approved
  6372              - content.author_blocked
  6373              - content.author_stamped
  6374              - content.author_unblocked
  6375              - content.auto_categorization_infirmed
  6376              - content.auto_categorization_not_precise
  6377              - content.auto_categorized
  6378              - content.auto_ignored
  6379              - content.categorized
  6380              - content.destroyed
  6381              - content.discussion_initiated
  6382              - content.discussion_planned
  6383              - content.ice_nth_content_ignored
  6384              - content.ignored
  6385              - content.imported
  6386              - content.liked
  6387              - content.moderated_ban
  6388              - content.moderated_modif
  6389              - content.moderated_nok
  6390              - content.moderated_ok
  6391              - content.planned_discussion_synchronized
  6392              - content.published
  6393              - content.recategorized
  6394              - content.replied
  6395              - content.reply_assistant_used
  6396              - content.retried_synchronization
  6397              - content.retweeted
  6398              - content.source_changed
  6399              - content.stared
  6400              - content.thread_closed
  6401              - content.thread_opened
  6402              - content.unliked
  6403              - content.unpublished
  6404              - content.unstamped
  6405              - content.unstared
  6406              - content.updated
  6407              - content_source.created
  6408              - content_source.destroyed
  6409              - content_source.updated
  6410              - content_thread.categorized
  6411              - content_thread.destroyed
  6412              - content_thread.recategorized
  6413              - custom_field.created
  6414              - custom_field.destroyed
  6415              - custom_field.updated
  6416              - expired_data_purge.deleted
  6417              - extension.created
  6418              - extension.destroyed
  6419              - extension.updated
  6420              - folder.created
  6421              - folder.destroyed
  6422              - folder.updated
  6423              - identity.followed
  6424              - identity.unfollowed
  6425              - identity.updated
  6426              - intervention.assigned
  6427              - intervention.canceled
  6428              - intervention.closed
  6429              - intervention.deferred
  6430              - intervention.opened
  6431              - intervention.recategorized
  6432              - intervention.reopened
  6433              - intervention.updated
  6434              - intervention.user_updated
  6435              - intervention_comment.created
  6436              - intervention_comment.destroyed
  6437              - reply_assistant_knowledge_base_entry.created
  6438              - reply_assistant_knowledge_base_entry.destroyed
  6439              - reply_assistant_knowledge_base_entry.updated
  6440              - reply_assistant_knowledge_base_version.created
  6441              - reply_assistant_knowledge_base_version.destroyed
  6442              - reply_assistant_knowledge_base_version.updated
  6443              - reply_assistant_sentence_entry.created
  6444              - reply_assistant_sentence_entry.destroyed
  6445              - reply_assistant_sentence_entry.updated
  6446              - reply_assistant_sentence_version.created
  6447              - reply_assistant_sentence_version.destroyed
  6448              - reply_assistant_sentence_version.updated
  6449              - reply_assistant_version_permalink.created
  6450              - reply_assistant_version_permalink.destroyed
  6451              - reply_assistant_version_permalink.updated
  6452              - role.created
  6453              - role.destroyed
  6454              - role.updated
  6455              - security.updated
  6456              - session.created
  6457              - session.destroyed
  6458              - settings.updated
  6459              - survey.created
  6460              - survey.destroyed
  6461              - survey.updated
  6462              - tag.created
  6463              - tag.destroyed
  6464              - tag.updated
  6465              - team.created
  6466              - team.destroyed
  6467              - team.updated
  6468              - user.created
  6469              - user.destroyed
  6470              - user.disconnected
  6471              - user.impersonated
  6472              - user.invited
  6473              - user.notifications_updated
  6474              - user.updated
  6475              type: string
  6476            type: array
  6477          style: form
  6478        responses:
  6479          200:
  6480            content:
  6481              application/json:
  6482                schema:
  6483                  $ref: '#/components/schemas/Webhook'
  6484            description: Success
  6485        summary: Creating a webhook
  6486        tags:
  6487        - Webhooks
  6488    /webhooks/{webhookId}:
  6489      delete:
  6490        description: |-
  6491          This method destroys an existing webhook. It renders webhook itself. It renders a 404 if id is invalid.
  6492  
  6493          Authorization​: All users having the manage_api_access_tokens permission or all users having an api access token belonging to the webhook you’re deleting.
  6494        operationId: deleteWebhook
  6495        parameters:
  6496        - explode: false
  6497          in: path
  6498          name: webhookId
  6499          required: true
  6500          schema:
  6501            type: string
  6502          style: simple
  6503        - description: Access token.
  6504          explode: true
  6505          in: query
  6506          name: access_token
  6507          required: true
  6508          schema:
  6509            type: string
  6510          style: form
  6511        responses:
  6512          200:
  6513            content:
  6514              application/json:
  6515                schema:
  6516                  $ref: '#/components/schemas/Webhook'
  6517            description: Success
  6518        summary: Deleting a webhook
  6519        tags:
  6520        - Webhooks
  6521      get:
  6522        description: |-
  6523          This method renders a webhook from given id.
  6524  
  6525          Authorization​: users having manage_api_access_tokens permission can see any webhook / users don’t having the `manage_api_access_tokens` permission can see only the webhook in case the webhook is associated to an access token created by them.
  6526        operationId: getWebhook
  6527        parameters:
  6528        - explode: false
  6529          in: path
  6530          name: webhookId
  6531          required: true
  6532          schema:
  6533            type: string
  6534          style: simple
  6535        - description: Access token.
  6536          explode: true
  6537          in: query
  6538          name: access_token
  6539          required: true
  6540          schema:
  6541            type: string
  6542          style: form
  6543        responses:
  6544          200:
  6545            content:
  6546              application/json:
  6547                schema:
  6548                  $ref: '#/components/schemas/Webhook'
  6549            description: Success
  6550        summary: Getting a webhook from its id
  6551        tags:
  6552        - Webhooks
  6553      put:
  6554        description: |-
  6555          This method updates an existing webhook from given attributes and renders it in case of success.
  6556  
  6557          Authorization​: All users having the manage_api_access_tokens permission or all users having an api access token belonging to the webhook you’re updating.
  6558        operationId: updateWebhook
  6559        parameters:
  6560        - explode: false
  6561          in: path
  6562          name: webhookId
  6563          required: true
  6564          schema:
  6565            type: string
  6566          style: simple
  6567        - description: Access token.
  6568          explode: true
  6569          in: query
  6570          name: access_token
  6571          required: true
  6572          schema:
  6573            type: string
  6574          style: form
  6575        - description: true or false, this field is used to enable/disable a webhook.
  6576          explode: true
  6577          in: query
  6578          name: active
  6579          required: false
  6580          schema:
  6581            type: boolean
  6582          style: form
  6583        - description: The label of the webhook.
  6584          explode: true
  6585          in: query
  6586          name: label
  6587          required: false
  6588          schema:
  6589            type: string
  6590          style: form
  6591        - description: true or false, this field is used to determine if a webhook will
  6592            be run in staging
  6593          explode: true
  6594          in: query
  6595          name: staging_use
  6596          required: false
  6597          schema:
  6598            type: boolean
  6599          style: form
  6600        - description: The url of a webhook. This is used to determine the endpoint
  6601            of your webhook, where
  6602          explode: true
  6603          in: query
  6604          name: url
  6605          required: false
  6606          schema:
  6607            type: string
  6608          style: form
  6609        - description: The token used in your webhook.
  6610          explode: true
  6611          in: query
  6612          name: verify_token
  6613          required: false
  6614          schema:
  6615            type: string
  6616          style: form
  6617        - description: The secret key that will be served as a ​`X-Dimelo-Secret​` header
  6618            in every request.
  6619          explode: true
  6620          in: query
  6621          name: secret
  6622          required: false
  6623          schema:
  6624            type: string
  6625          style: form
  6626        - description: An array containing all the events that your webhook wants to
  6627            subscribe.
  6628          explode: true
  6629          in: query
  6630          name: registered_events[]
  6631          required: false
  6632          schema:
  6633            items:
  6634              type: string
  6635            type: array
  6636          style: form
  6637        responses:
  6638          200:
  6639            content:
  6640              application/json:
  6641                schema:
  6642                  $ref: '#/components/schemas/Webhook'
  6643            description: Success
  6644        summary: Updating a webhook
  6645        tags:
  6646        - Webhooks
  6647  components:
  6648    schemas:
  6649      AgentCustomStatus:
  6650        description: |-
  6651          The "custom_status" attribute represent the custom "away" status selected, it can either be:
  6652          * 1. null — ​The agent is available or in the generic "Away" status
  6653          2. { "id":"5582b1f4776562af9b000008" } — ​The id of the custom status
  6654        example:
  6655          id: id
  6656        properties:
  6657          id:
  6658            type: string
  6659      AgentStatus:
  6660        example:
  6661          agent_id: agent_id
  6662          channels:
  6663          - busyness: unoccupied
  6664            name: name
  6665            id: id
  6666            status: status
  6667          - busyness: unoccupied
  6668            name: name
  6669            id: id
  6670            status: status
  6671          custom_status:
  6672            id: id
  6673        properties:
  6674          agent_id:
  6675            type: string
  6676          channels:
  6677            items:
  6678              $ref: '#/components/schemas/AgentStatusChannel'
  6679            type: array
  6680          custom_status:
  6681            $ref: '#/components/schemas/AgentCustomStatus'
  6682      AgentStatusChannel:
  6683        example:
  6684          busyness: unoccupied
  6685          name: name
  6686          id: id
  6687          status: status
  6688        properties:
  6689          busyness:
  6690            enum:
  6691            - unoccupied
  6692            - ok
  6693            - busy
  6694            - full
  6695            type: string
  6696          id:
  6697            type: string
  6698          name:
  6699            type: string
  6700          status:
  6701            type: string
  6702      Attachment:
  6703        example:
  6704          foreign_id: foreign_id
  6705          video_metadata:
  6706          - video_metadata
  6707          - video_metadata
  6708          filename: filename
  6709          content_type: content_type
  6710          size: 5
  6711          updated_at: 2000-01-23T04:56:07.000+00:00
  6712          created_at: 2000-01-23T04:56:07.000+00:00
  6713          embed: true
  6714          id: id
  6715          public?: true
  6716          url: url
  6717        properties:
  6718          content_type:
  6719            type: string
  6720          created_at:
  6721            format: date-time
  6722            type: string
  6723          embed:
  6724            type: boolean
  6725          filename:
  6726            type: string
  6727          foreign_id:
  6728            type: string
  6729          id:
  6730            type: string
  6731          public?:
  6732            type: boolean
  6733          size:
  6734            type: integer
  6735          updated_at:
  6736            format: date-time
  6737            type: string
  6738          url:
  6739            type: string
  6740          video_metadata:
  6741            items:
  6742              type: string
  6743            type: array
  6744      Category:
  6745        example:
  6746          source_ids:
  6747          - source_ids
  6748          - source_ids
  6749          color: 5
  6750          updated_at: 2000-01-23T04:56:07.000+00:00
  6751          parent_id: parent_id
  6752          multiple: true
  6753          name: name
  6754          unselectable: true
  6755          created_at: 2000-01-23T04:56:07.000+00:00
  6756          post_qualification: true
  6757          id: id
  6758          mandatory: true
  6759        properties:
  6760          color:
  6761            type: integer
  6762          created_at:
  6763            format: date-time
  6764            type: string
  6765          id:
  6766            type: string
  6767          mandatory:
  6768            type: boolean
  6769          multiple:
  6770            type: boolean
  6771          name:
  6772            type: string
  6773          parent_id:
  6774            type: string
  6775          post_qualification:
  6776            type: boolean
  6777          source_ids:
  6778            items:
  6779              type: string
  6780            type: array
  6781          unselectable:
  6782            type: boolean
  6783          updated_at:
  6784            format: date-time
  6785            type: string
  6786        required:
  6787        - id
  6788      Channel:
  6789        example:
  6790          source_ids:
  6791          - source_ids
  6792          - source_ids
  6793          updated_at: 2000-01-23T04:56:07.000+00:00
  6794          name: name
  6795          created_at: 2000-01-23T04:56:07.000+00:00
  6796          soft_capability: 5
  6797          id: id
  6798          label: label
  6799          task_timeout_seconds: 2
  6800          hard_capability: 5
  6801        properties:
  6802          created_at:
  6803            format: date-time
  6804            type: string
  6805          hard_capability:
  6806            type: integer
  6807          id:
  6808            type: string
  6809          label:
  6810            type: string
  6811          name:
  6812            type: string
  6813          soft_capability:
  6814            type: integer
  6815          source_ids:
  6816            items:
  6817              type: string
  6818            type: array
  6819          task_timeout_seconds:
  6820            type: integer
  6821          updated_at:
  6822            format: date-time
  6823            type: string
  6824      Community:
  6825        example:
  6826          updated_at: 2000-01-23T04:56:07.000+00:00
  6827          name: name
  6828          active: true
  6829          created_at: 2000-01-23T04:56:07.000+00:00
  6830          id: id
  6831          type: type
  6832        properties:
  6833          active:
  6834            type: boolean
  6835          created_at:
  6836            format: date-time
  6837            type: string
  6838          id:
  6839            type: string
  6840          name:
  6841            type: string
  6842          type:
  6843            type: string
  6844          updated_at:
  6845            format: date-time
  6846            type: string
  6847      Content:
  6848        example:
  6849          private_message: true
  6850          intervention_id: intervention_id
  6851          attachments:
  6852          - foreign_id: foreign_id
  6853            filename: filename
  6854            content_type: content_type
  6855            size: 5
  6856            updated_at: 2000-01-23T04:56:07.000+00:00
  6857            created_at: 2000-01-23T04:56:07.000+00:00
  6858            embed: embed
  6859            id: id
  6860            public?: public?
  6861            url: url
  6862          - foreign_id: foreign_id
  6863            filename: filename
  6864            content_type: content_type
  6865            size: 5
  6866            updated_at: 2000-01-23T04:56:07.000+00:00
  6867            created_at: 2000-01-23T04:56:07.000+00:00
  6868            embed: embed
  6869            id: id
  6870            public?: public?
  6871            url: url
  6872          in_reply_to_id: in_reply_to_id
  6873          created_at: 2000-01-23T04:56:07.000+00:00
  6874          language: language
  6875          body: body
  6876          title: title
  6877          type: type
  6878          source_url: source_url
  6879          synchronization_status: synchronization_status
  6880          thread_id: thread_id
  6881          updated_at: 2000-01-23T04:56:07.000+00:00
  6882          body_input_format: text
  6883          category_ids:
  6884          - category_ids
  6885          - category_ids
  6886          id: id
  6887          remotely_deleted: true
  6888          approval_required: true
  6889          source_type: source_type
  6890          published: true
  6891          body_formatted:
  6892            html: html
  6893            text: text
  6894          foreign_id: foreign_id
  6895          context_data: '{}'
  6896          in_reply_to_author_id: in_reply_to_author_id
  6897          creator_id: creator_id
  6898          attachments_count: 5
  6899          source_id: source_id
  6900          author_id: author_id
  6901          created_from: created_from
  6902          status: status
  6903        properties:
  6904          approval_required:
  6905            type: boolean
  6906          attachments:
  6907            items:
  6908              $ref: '#/components/schemas/ContentAttachment'
  6909            type: array
  6910          attachments_count:
  6911            type: integer
  6912          author_id:
  6913            type: string
  6914          body:
  6915            type: string
  6916          body_formatted:
  6917            $ref: '#/components/schemas/ContentBodyFormatted'
  6918          body_input_format:
  6919            description: 'values can be: text or html.'
  6920            enum:
  6921            - text
  6922            - html
  6923            type: string
  6924          category_ids:
  6925            description: are content categories if none, they are default to intervention
  6926              categories or thread categories
  6927            items:
  6928              type: string
  6929            type: array
  6930          context_data:
  6931            description: is present only if the content has context_data associated.
  6932              The context_data hash keys are the custom fields keys.
  6933            type: object
  6934          created_at:
  6935            format: date-time
  6936            type: string
  6937          created_from:
  6938            type: string
  6939          creator_id:
  6940            type: string
  6941          foreign_id:
  6942            type: string
  6943          id:
  6944            type: string
  6945          in_reply_to_author_id:
  6946            type: string
  6947          in_reply_to_id:
  6948            type: string
  6949          intervention_id:
  6950            type: string
  6951          language:
  6952            type: string
  6953          private_message:
  6954            type: boolean
  6955          published:
  6956            type: boolean
  6957          remotely_deleted:
  6958            type: boolean
  6959          source_id:
  6960            type: string
  6961          source_type:
  6962            type: string
  6963          source_url:
  6964            type: string
  6965          status:
  6966            type: string
  6967          synchronization_status:
  6968            type: string
  6969          thread_id:
  6970            type: string
  6971          title:
  6972            type: string
  6973          type:
  6974            type: string
  6975          updated_at:
  6976            format: date-time
  6977            type: string
  6978        required:
  6979        - id
  6980      ContentAttachment:
  6981        example:
  6982          foreign_id: foreign_id
  6983          filename: filename
  6984          content_type: content_type
  6985          size: 5
  6986          updated_at: 2000-01-23T04:56:07.000+00:00
  6987          created_at: 2000-01-23T04:56:07.000+00:00
  6988          embed: embed
  6989          id: id
  6990          public?: public?
  6991          url: url
  6992        properties:
  6993          content_type:
  6994            type: string
  6995          created_at:
  6996            format: date-time
  6997            type: string
  6998          embed:
  6999            type: string
  7000          filename:
  7001            type: string
  7002          foreign_id:
  7003            type: string
  7004          id:
  7005            type: string
  7006          public?:
  7007            type: string
  7008          size:
  7009            type: integer
  7010          updated_at:
  7011            format: date-time
  7012            type: string
  7013          url:
  7014            description: 'You can download the attachments by using an API access token
  7015              with the following URL: https://[your-domain].engagement.dimelo.com/attachments/[attachment_id]?access_token=[your_​
  7016              access_token]'
  7017            type: string
  7018      ContentBodyFormatted:
  7019        description: always contains text a​nd​ html versions.
  7020        example:
  7021          html: html
  7022          text: text
  7023        properties:
  7024          html:
  7025            type: string
  7026          text:
  7027            type: string
  7028      CustomField:
  7029        example:
  7030          updated_at: 2000-01-23T04:56:07.000+00:00
  7031          multiple: true
  7032          created_at: 2000-01-23T04:56:07.000+00:00
  7033          id: id
  7034          label: label
  7035          position: 5
  7036          type: type
  7037          associated_type_name: associated_type_name
  7038          key: key
  7039        properties:
  7040          associated_type_name:
  7041            type: string
  7042          created_at:
  7043            format: date-time
  7044            type: string
  7045          id:
  7046            type: string
  7047          key:
  7048            type: string
  7049          label:
  7050            type: string
  7051          multiple:
  7052            type: boolean
  7053          position:
  7054            type: integer
  7055          type:
  7056            type: string
  7057          updated_at:
  7058            format: date-time
  7059            type: string
  7060        required:
  7061        - id
  7062        - label
  7063      Event:
  7064        example:
  7065          updated_at: 2000-01-23T04:56:07.000+00:00
  7066          extra_infos:
  7067            intervention_id: intervention_id
  7068            request_ip: request_ip
  7069            authentication_strategy: authentication_strategy
  7070            business/time_sheet_id: business/time_sheet_id
  7071            content_id: content_id
  7072            deletions: '{}'
  7073            deferred_duration: deferred_duration
  7074            task_id: task_id
  7075            closed_automatically: closed_automatically
  7076            content_thread_id: content_thread_id
  7077            foreign_id: foreign_id
  7078            user_id: user_id
  7079            content_source_id: content_source_id
  7080            category_ids:
  7081            - category_ids
  7082            - category_ids
  7083          user_id: user_id
  7084          name: name
  7085          created_at: 2000-01-23T04:56:07.000+00:00
  7086          id: id
  7087        properties:
  7088          created_at:
  7089            format: date-time
  7090            type: string
  7091          extra_infos:
  7092            $ref: '#/components/schemas/EventExtraInfo'
  7093          id:
  7094            type: string
  7095          name:
  7096            type: string
  7097          updated_at:
  7098            format: date-time
  7099            type: string
  7100          user_id:
  7101            type: string
  7102        required:
  7103        - id
  7104      EventExtraInfo:
  7105        description: attributes in extra_infos are optional and unspecified/not guaranteed,
  7106          don’t rely on it for critical tasks, this is provided as information only
  7107        example:
  7108          intervention_id: intervention_id
  7109          request_ip: request_ip
  7110          authentication_strategy: authentication_strategy
  7111          business/time_sheet_id: business/time_sheet_id
  7112          content_id: content_id
  7113          deletions: '{}'
  7114          deferred_duration: deferred_duration
  7115          task_id: task_id
  7116          closed_automatically: closed_automatically
  7117          content_thread_id: content_thread_id
  7118          foreign_id: foreign_id
  7119          user_id: user_id
  7120          content_source_id: content_source_id
  7121          category_ids:
  7122          - category_ids
  7123          - category_ids
  7124        properties:
  7125          authentication_strategy:
  7126            type: string
  7127          business/time_sheet_id:
  7128            type: string
  7129          category_ids:
  7130            items:
  7131              type: string
  7132            type: array
  7133          closed_automatically:
  7134            type: string
  7135          content_id:
  7136            type: string
  7137          content_source_id:
  7138            type: string
  7139          content_thread_id:
  7140            type: string
  7141          deferred_duration:
  7142            type: string
  7143          deletions:
  7144            type: object
  7145          foreign_id:
  7146            description: can be null
  7147            type: string
  7148          intervention_id:
  7149            type: string
  7150          request_ip:
  7151            type: string
  7152          task_id:
  7153            type: string
  7154          user_id:
  7155            type: string
  7156      Folder:
  7157        example:
  7158          render_threads_count: true
  7159          updated_at: 2000-01-23T04:56:07.000+00:00
  7160          parent_id: parent_id
  7161          query: query
  7162          created_at: 2000-01-23T04:56:07.000+00:00
  7163          role_restriction:
  7164            only:
  7165            - only
  7166            - only
  7167          id: id
  7168          label: label
  7169          position: 5
  7170        properties:
  7171          created_at:
  7172            format: date-time
  7173            type: string
  7174          id:
  7175            type: string
  7176          label:
  7177            type: string
  7178          parent_id:
  7179            type: string
  7180          position:
  7181            type: integer
  7182          query:
  7183            type: string
  7184          render_threads_count:
  7185            type: boolean
  7186          role_restriction:
  7187            $ref: '#/components/schemas/Restriction'
  7188          updated_at:
  7189            format: date-time
  7190            type: string
  7191        required:
  7192        - id
  7193      GetAllAgentStatusResponse:
  7194        properties:
  7195          count:
  7196            format: int32
  7197            type: integer
  7198          limit:
  7199            format: int32
  7200            type: integer
  7201          offset:
  7202            format: int32
  7203            type: integer
  7204          records:
  7205            items:
  7206              $ref: '#/components/schemas/AgentStatus'
  7207            type: array
  7208      GetAllAttachmentsResponse:
  7209        example:
  7210          offset: 1
  7211          records:
  7212          - foreign_id: foreign_id
  7213            video_metadata:
  7214            - video_metadata
  7215            - video_metadata
  7216            filename: filename
  7217            content_type: content_type
  7218            size: 5
  7219            updated_at: 2000-01-23T04:56:07.000+00:00
  7220            created_at: 2000-01-23T04:56:07.000+00:00
  7221            embed: true
  7222            id: id
  7223            public?: true
  7224            url: url
  7225          - foreign_id: foreign_id
  7226            video_metadata:
  7227            - video_metadata
  7228            - video_metadata
  7229            filename: filename
  7230            content_type: content_type
  7231            size: 5
  7232            updated_at: 2000-01-23T04:56:07.000+00:00
  7233            created_at: 2000-01-23T04:56:07.000+00:00
  7234            embed: true
  7235            id: id
  7236            public?: true
  7237            url: url
  7238          count: 0
  7239          limit: 6
  7240        properties:
  7241          count:
  7242            format: int32
  7243            type: integer
  7244          limit:
  7245            format: int32
  7246            type: integer
  7247          offset:
  7248            format: int32
  7249            type: integer
  7250          records:
  7251            items:
  7252              $ref: '#/components/schemas/Attachment'
  7253            type: array
  7254      GetAllCategoriesResponse:
  7255        example:
  7256          offset: 1
  7257          records:
  7258          - source_ids:
  7259            - source_ids
  7260            - source_ids
  7261            color: 5
  7262            updated_at: 2000-01-23T04:56:07.000+00:00
  7263            parent_id: parent_id
  7264            multiple: true
  7265            name: name
  7266            unselectable: true
  7267            created_at: 2000-01-23T04:56:07.000+00:00
  7268            post_qualification: true
  7269            id: id
  7270            mandatory: true
  7271          - source_ids:
  7272            - source_ids
  7273            - source_ids
  7274            color: 5
  7275            updated_at: 2000-01-23T04:56:07.000+00:00
  7276            parent_id: parent_id
  7277            multiple: true
  7278            name: name
  7279            unselectable: true
  7280            created_at: 2000-01-23T04:56:07.000+00:00
  7281            post_qualification: true
  7282            id: id
  7283            mandatory: true
  7284          count: 0
  7285          limit: 6
  7286        properties:
  7287          count:
  7288            format: int32
  7289            type: integer
  7290          limit:
  7291            format: int32
  7292            type: integer
  7293          offset:
  7294            format: int32
  7295            type: integer
  7296          records:
  7297            items:
  7298              $ref: '#/components/schemas/Category'
  7299            type: array
  7300      GetAllChannelsResponse:
  7301        example:
  7302          offset: 1
  7303          records:
  7304          - source_ids:
  7305            - source_ids
  7306            - source_ids
  7307            updated_at: 2000-01-23T04:56:07.000+00:00
  7308            name: name
  7309            created_at: 2000-01-23T04:56:07.000+00:00
  7310            soft_capability: 5
  7311            id: id
  7312            label: label
  7313            task_timeout_seconds: 2
  7314            hard_capability: 5
  7315          - source_ids:
  7316            - source_ids
  7317            - source_ids
  7318            updated_at: 2000-01-23T04:56:07.000+00:00
  7319            name: name
  7320            created_at: 2000-01-23T04:56:07.000+00:00
  7321            soft_capability: 5
  7322            id: id
  7323            label: label
  7324            task_timeout_seconds: 2
  7325            hard_capability: 5
  7326          count: 0
  7327          limit: 6
  7328        properties:
  7329          count:
  7330            format: int32
  7331            type: integer
  7332          limit:
  7333            format: int32
  7334            type: integer
  7335          offset:
  7336            format: int32
  7337            type: integer
  7338          records:
  7339            items:
  7340              $ref: '#/components/schemas/Channel'
  7341            type: array
  7342      GetAllCommunitiesResponse:
  7343        example:
  7344          offset: 1
  7345          records:
  7346          - updated_at: 2000-01-23T04:56:07.000+00:00
  7347            name: name
  7348            active: true
  7349            created_at: 2000-01-23T04:56:07.000+00:00
  7350            id: id
  7351            type: type
  7352          - updated_at: 2000-01-23T04:56:07.000+00:00
  7353            name: name
  7354            active: true
  7355            created_at: 2000-01-23T04:56:07.000+00:00
  7356            id: id
  7357            type: type
  7358          count: 0
  7359          limit: 6
  7360        properties:
  7361          count:
  7362            format: int32
  7363            type: integer
  7364          limit:
  7365            format: int32
  7366            type: integer
  7367          offset:
  7368            format: int32
  7369            type: integer
  7370          records:
  7371            items:
  7372              $ref: '#/components/schemas/Community'
  7373            type: array
  7374      GetAllContentsResponse:
  7375        example:
  7376          offset: 1
  7377          records:
  7378          - private_message: true
  7379            intervention_id: intervention_id
  7380            attachments:
  7381            - foreign_id: foreign_id
  7382              filename: filename
  7383              content_type: content_type
  7384              size: 5
  7385              updated_at: 2000-01-23T04:56:07.000+00:00
  7386              created_at: 2000-01-23T04:56:07.000+00:00
  7387              embed: embed
  7388              id: id
  7389              public?: public?
  7390              url: url
  7391            - foreign_id: foreign_id
  7392              filename: filename
  7393              content_type: content_type
  7394              size: 5
  7395              updated_at: 2000-01-23T04:56:07.000+00:00
  7396              created_at: 2000-01-23T04:56:07.000+00:00
  7397              embed: embed
  7398              id: id
  7399              public?: public?
  7400              url: url
  7401            in_reply_to_id: in_reply_to_id
  7402            created_at: 2000-01-23T04:56:07.000+00:00
  7403            language: language
  7404            body: body
  7405            title: title
  7406            type: type
  7407            source_url: source_url
  7408            synchronization_status: synchronization_status
  7409            thread_id: thread_id
  7410            updated_at: 2000-01-23T04:56:07.000+00:00
  7411            body_input_format: text
  7412            category_ids:
  7413            - category_ids
  7414            - category_ids
  7415            id: id
  7416            remotely_deleted: true
  7417            approval_required: true
  7418            source_type: source_type
  7419            published: true
  7420            body_formatted:
  7421              html: html
  7422              text: text
  7423            foreign_id: foreign_id
  7424            context_data: '{}'
  7425            in_reply_to_author_id: in_reply_to_author_id
  7426            creator_id: creator_id
  7427            attachments_count: 5
  7428            source_id: source_id
  7429            author_id: author_id
  7430            created_from: created_from
  7431            status: status
  7432          - private_message: true
  7433            intervention_id: intervention_id
  7434            attachments:
  7435            - foreign_id: foreign_id
  7436              filename: filename
  7437              content_type: content_type
  7438              size: 5
  7439              updated_at: 2000-01-23T04:56:07.000+00:00
  7440              created_at: 2000-01-23T04:56:07.000+00:00
  7441              embed: embed
  7442              id: id
  7443              public?: public?
  7444              url: url
  7445            - foreign_id: foreign_id
  7446              filename: filename
  7447              content_type: content_type
  7448              size: 5
  7449              updated_at: 2000-01-23T04:56:07.000+00:00
  7450              created_at: 2000-01-23T04:56:07.000+00:00
  7451              embed: embed
  7452              id: id
  7453              public?: public?
  7454              url: url
  7455            in_reply_to_id: in_reply_to_id
  7456            created_at: 2000-01-23T04:56:07.000+00:00
  7457            language: language
  7458            body: body
  7459            title: title
  7460            type: type
  7461            source_url: source_url
  7462            synchronization_status: synchronization_status
  7463            thread_id: thread_id
  7464            updated_at: 2000-01-23T04:56:07.000+00:00
  7465            body_input_format: text
  7466            category_ids:
  7467            - category_ids
  7468            - category_ids
  7469            id: id
  7470            remotely_deleted: true
  7471            approval_required: true
  7472            source_type: source_type
  7473            published: true
  7474            body_formatted:
  7475              html: html
  7476              text: text
  7477            foreign_id: foreign_id
  7478            context_data: '{}'
  7479            in_reply_to_author_id: in_reply_to_author_id
  7480            creator_id: creator_id
  7481            attachments_count: 5
  7482            source_id: source_id
  7483            author_id: author_id
  7484            created_from: created_from
  7485            status: status
  7486          count: 0
  7487          limit: 6
  7488        properties:
  7489          count:
  7490            format: int32
  7491            type: integer
  7492          limit:
  7493            format: int32
  7494            type: integer
  7495          offset:
  7496            format: int32
  7497            type: integer
  7498          records:
  7499            items:
  7500              $ref: '#/components/schemas/Content'
  7501            type: array
  7502      GetAllCustomFieldsResponse:
  7503        example:
  7504          offset: 1
  7505          records:
  7506          - updated_at: 2000-01-23T04:56:07.000+00:00
  7507            multiple: true
  7508            created_at: 2000-01-23T04:56:07.000+00:00
  7509            id: id
  7510            label: label
  7511            position: 5
  7512            type: type
  7513            associated_type_name: associated_type_name
  7514            key: key
  7515          - updated_at: 2000-01-23T04:56:07.000+00:00
  7516            multiple: true
  7517            created_at: 2000-01-23T04:56:07.000+00:00
  7518            id: id
  7519            label: label
  7520            position: 5
  7521            type: type
  7522            associated_type_name: associated_type_name
  7523            key: key
  7524          count: 0
  7525          limit: 6
  7526        properties:
  7527          count:
  7528            format: int32
  7529            type: integer
  7530          limit:
  7531            format: int32
  7532            type: integer
  7533          offset:
  7534            format: int32
  7535            type: integer
  7536          records:
  7537            items:
  7538              $ref: '#/components/schemas/CustomField'
  7539            type: array
  7540      GetAllEventsResponse:
  7541        example:
  7542          offset: 1
  7543          records:
  7544          - updated_at: 2000-01-23T04:56:07.000+00:00
  7545            extra_infos:
  7546              intervention_id: intervention_id
  7547              request_ip: request_ip
  7548              authentication_strategy: authentication_strategy
  7549              business/time_sheet_id: business/time_sheet_id
  7550              content_id: content_id
  7551              deletions: '{}'
  7552              deferred_duration: deferred_duration
  7553              task_id: task_id
  7554              closed_automatically: closed_automatically
  7555              content_thread_id: content_thread_id
  7556              foreign_id: foreign_id
  7557              user_id: user_id
  7558              content_source_id: content_source_id
  7559              category_ids:
  7560              - category_ids
  7561              - category_ids
  7562            user_id: user_id
  7563            name: name
  7564            created_at: 2000-01-23T04:56:07.000+00:00
  7565            id: id
  7566          - updated_at: 2000-01-23T04:56:07.000+00:00
  7567            extra_infos:
  7568              intervention_id: intervention_id
  7569              request_ip: request_ip
  7570              authentication_strategy: authentication_strategy
  7571              business/time_sheet_id: business/time_sheet_id
  7572              content_id: content_id
  7573              deletions: '{}'
  7574              deferred_duration: deferred_duration
  7575              task_id: task_id
  7576              closed_automatically: closed_automatically
  7577              content_thread_id: content_thread_id
  7578              foreign_id: foreign_id
  7579              user_id: user_id
  7580              content_source_id: content_source_id
  7581              category_ids:
  7582              - category_ids
  7583              - category_ids
  7584            user_id: user_id
  7585            name: name
  7586            created_at: 2000-01-23T04:56:07.000+00:00
  7587            id: id
  7588          count: 0
  7589          limit: 6
  7590        properties:
  7591          count:
  7592            format: int32
  7593            type: integer
  7594          limit:
  7595            format: int32
  7596            type: integer
  7597          offset:
  7598            format: int32
  7599            type: integer
  7600          records:
  7601            items:
  7602              $ref: '#/components/schemas/Event'
  7603            type: array
  7604      GetAllFoldersResponse:
  7605        example:
  7606          offset: 1
  7607          records:
  7608          - render_threads_count: true
  7609            updated_at: 2000-01-23T04:56:07.000+00:00
  7610            parent_id: parent_id
  7611            query: query
  7612            created_at: 2000-01-23T04:56:07.000+00:00
  7613            role_restriction:
  7614              only:
  7615              - only
  7616              - only
  7617            id: id
  7618            label: label
  7619            position: 5
  7620          - render_threads_count: true
  7621            updated_at: 2000-01-23T04:56:07.000+00:00
  7622            parent_id: parent_id
  7623            query: query
  7624            created_at: 2000-01-23T04:56:07.000+00:00
  7625            role_restriction:
  7626              only:
  7627              - only
  7628              - only
  7629            id: id
  7630            label: label
  7631            position: 5
  7632          count: 0
  7633          limit: 6
  7634        properties:
  7635          count:
  7636            format: int32
  7637            type: integer
  7638          limit:
  7639            format: int32
  7640            type: integer
  7641          offset:
  7642            format: int32
  7643            type: integer
  7644          records:
  7645            items:
  7646              $ref: '#/components/schemas/Folder'
  7647            type: array
  7648      GetAllIdentitiesResponse:
  7649        example:
  7650          offset: 1
  7651          records:
  7652          - home_phone: home_phone
  7653            firstname: firstname
  7654            extra_values: '{}'
  7655            gender: gender
  7656            user_ids:
  7657            - user_ids
  7658            - user_ids
  7659            created_at: 2000-01-23T04:56:07.000+00:00
  7660            display_name: display_name
  7661            type: type
  7662            uuid: uuid
  7663            community_url: community_url
  7664            lastname: lastname
  7665            foreign_id: foreign_id
  7666            community_id: community_id
  7667            avatar_url: avatar_url
  7668            updated_at: 2000-01-23T04:56:07.000+00:00
  7669            mobile_phone: mobile_phone
  7670            identity_group_id: identity_group_id
  7671            company: company
  7672            id: id
  7673            screenname: screenname
  7674            email: email
  7675          - home_phone: home_phone
  7676            firstname: firstname
  7677            extra_values: '{}'
  7678            gender: gender
  7679            user_ids:
  7680            - user_ids
  7681            - user_ids
  7682            created_at: 2000-01-23T04:56:07.000+00:00
  7683            display_name: display_name
  7684            type: type
  7685            uuid: uuid
  7686            community_url: community_url
  7687            lastname: lastname
  7688            foreign_id: foreign_id
  7689            community_id: community_id
  7690            avatar_url: avatar_url
  7691            updated_at: 2000-01-23T04:56:07.000+00:00
  7692            mobile_phone: mobile_phone
  7693            identity_group_id: identity_group_id
  7694            company: company
  7695            id: id
  7696            screenname: screenname
  7697            email: email
  7698          count: 0
  7699          limit: 6
  7700        properties:
  7701          count:
  7702            format: int32
  7703            type: integer
  7704          limit:
  7705            format: int32
  7706            type: integer
  7707          offset:
  7708            format: int32
  7709            type: integer
  7710          records:
  7711            items:
  7712              $ref: '#/components/schemas/Identity'
  7713            type: array
  7714      GetAllIdentityGroupsResponse:
  7715        example:
  7716          offset: 1
  7717          records:
  7718          - firstname: firstname
  7719            tag_ids:
  7720            - tag_ids
  7721            - tag_ids
  7722            notes: notes
  7723            gender: gender
  7724            identity_ids:
  7725            - identity_ids
  7726            - identity_ids
  7727            created_at: 2000-01-23T04:56:07.000+00:00
  7728            mobile_phones:
  7729            - mobile_phones
  7730            - mobile_phones
  7731            lastname: lastname
  7732            emails:
  7733            - emails
  7734            - emails
  7735            home_phones:
  7736            - home_phones
  7737            - home_phones
  7738            avatar_url: avatar_url
  7739            custom_field_values: '{}'
  7740            updated_at: 2000-01-23T04:56:07.000+00:00
  7741            company: company
  7742            id: id
  7743          - firstname: firstname
  7744            tag_ids:
  7745            - tag_ids
  7746            - tag_ids
  7747            notes: notes
  7748            gender: gender
  7749            identity_ids:
  7750            - identity_ids
  7751            - identity_ids
  7752            created_at: 2000-01-23T04:56:07.000+00:00
  7753            mobile_phones:
  7754            - mobile_phones
  7755            - mobile_phones
  7756            lastname: lastname
  7757            emails:
  7758            - emails
  7759            - emails
  7760            home_phones:
  7761            - home_phones
  7762            - home_phones
  7763            avatar_url: avatar_url
  7764            custom_field_values: '{}'
  7765            updated_at: 2000-01-23T04:56:07.000+00:00
  7766            company: company
  7767            id: id
  7768          count: 0
  7769          limit: 6
  7770        properties:
  7771          count:
  7772            format: int32
  7773            type: integer
  7774          limit:
  7775            format: int32
  7776            type: integer
  7777          offset:
  7778            format: int32
  7779            type: integer
  7780          records:
  7781            items:
  7782              $ref: '#/components/schemas/IdentityGroup'
  7783            type: array
  7784      GetAllInterventionCommentsResponse:
  7785        example:
  7786          offset: 1
  7787          records:
  7788          - intervention_id: intervention_id
  7789            thread_id: thread_id
  7790            updated_at: 2000-01-23T04:56:07.000+00:00
  7791            user_id: user_id
  7792            created_at: 2000-01-23T04:56:07.000+00:00
  7793            id: id
  7794            body: body
  7795            videntity_id: videntity_id
  7796          - intervention_id: intervention_id
  7797            thread_id: thread_id
  7798            updated_at: 2000-01-23T04:56:07.000+00:00
  7799            user_id: user_id
  7800            created_at: 2000-01-23T04:56:07.000+00:00
  7801            id: id
  7802            body: body
  7803            videntity_id: videntity_id
  7804          count: 0
  7805          limit: 6
  7806        properties:
  7807          count:
  7808            format: int32
  7809            type: integer
  7810          limit:
  7811            format: int32
  7812            type: integer
  7813          offset:
  7814            format: int32
  7815            type: integer
  7816          records:
  7817            items:
  7818              $ref: '#/components/schemas/InterventionComment'
  7819            type: array
  7820      GetAllInterventionsResponse:
  7821        example:
  7822          offset: 1
  7823          records:
  7824          - closed_at: 2000-01-23T04:56:07.000+00:00
  7825            deferred_at: 2000-01-23T04:56:07.000+00:00
  7826            content_id: content_id
  7827            identity_id: identity_id
  7828            custom_fields: '{}'
  7829            created_at: 2000-01-23T04:56:07.000+00:00
  7830            first_user_reply_in_bh: 2
  7831            last_user_reply_in_bh: 9
  7832            thread_id: thread_id
  7833            first_user_reply_id: first_user_reply_id
  7834            updated_at: 2000-01-23T04:56:07.000+00:00
  7835            last_user_reply_in: 7
  7836            user_id: user_id
  7837            comments_count: 5
  7838            user_replies_count: 3
  7839            closed: true
  7840            first_user_reply_in: 5
  7841            category_ids:
  7842            - category_ids
  7843            - category_ids
  7844            id: id
  7845            source_id: source_id
  7846            user_reply_in_average_count: 7
  7847            user_reply_in_average: 2
  7848            status: status
  7849            user_reply_in_average_bh: 4
  7850          - closed_at: 2000-01-23T04:56:07.000+00:00
  7851            deferred_at: 2000-01-23T04:56:07.000+00:00
  7852            content_id: content_id
  7853            identity_id: identity_id
  7854            custom_fields: '{}'
  7855            created_at: 2000-01-23T04:56:07.000+00:00
  7856            first_user_reply_in_bh: 2
  7857            last_user_reply_in_bh: 9
  7858            thread_id: thread_id
  7859            first_user_reply_id: first_user_reply_id
  7860            updated_at: 2000-01-23T04:56:07.000+00:00
  7861            last_user_reply_in: 7
  7862            user_id: user_id
  7863            comments_count: 5
  7864            user_replies_count: 3
  7865            closed: true
  7866            first_user_reply_in: 5
  7867            category_ids:
  7868            - category_ids
  7869            - category_ids
  7870            id: id
  7871            source_id: source_id
  7872            user_reply_in_average_count: 7
  7873            user_reply_in_average: 2
  7874            status: status
  7875            user_reply_in_average_bh: 4
  7876          count: 0
  7877          limit: 6
  7878        properties:
  7879          count:
  7880            format: int32
  7881            type: integer
  7882          limit:
  7883            format: int32
  7884            type: integer
  7885          offset:
  7886            format: int32
  7887            type: integer
  7888          records:
  7889            items:
  7890              $ref: '#/components/schemas/Intervention'
  7891            type: array
  7892      GetAllPresenceStatusResponse:
  7893        example:
  7894          offset: 1
  7895          records:
  7896          - updated_at: 2000-01-23T04:56:07.000+00:00
  7897            name: name
  7898            created_at: 2000-01-23T04:56:07.000+00:00
  7899            id: id
  7900          - updated_at: 2000-01-23T04:56:07.000+00:00
  7901            name: name
  7902            created_at: 2000-01-23T04:56:07.000+00:00
  7903            id: id
  7904          count: 0
  7905          limit: 6
  7906        properties:
  7907          count:
  7908            format: int32
  7909            type: integer
  7910          limit:
  7911            format: int32
  7912            type: integer
  7913          offset:
  7914            format: int32
  7915            type: integer
  7916          records:
  7917            items:
  7918              $ref: '#/components/schemas/PresenceStatus'
  7919            type: array
  7920      GetAllReplyAssistantEntriesResponse:
  7921        example:
  7922          offset: 1
  7923          records:
  7924          - foreign_id: foreign_id
  7925            source_ids:
  7926            - source_ids
  7927            - source_ids
  7928            updated_at: 2000-01-23T04:56:07.000+00:00
  7929            entry_group_id: entry_group_id
  7930            version_ids:
  7931            - version_ids
  7932            - version_ids
  7933            shortcuts: shortcuts
  7934            created_at: 2000-01-23T04:56:07.000+00:00
  7935            category_ids:
  7936            - category_ids
  7937            - category_ids
  7938            id: id
  7939            label: label
  7940          - foreign_id: foreign_id
  7941            source_ids:
  7942            - source_ids
  7943            - source_ids
  7944            updated_at: 2000-01-23T04:56:07.000+00:00
  7945            entry_group_id: entry_group_id
  7946            version_ids:
  7947            - version_ids
  7948            - version_ids
  7949            shortcuts: shortcuts
  7950            created_at: 2000-01-23T04:56:07.000+00:00
  7951            category_ids:
  7952            - category_ids
  7953            - category_ids
  7954            id: id
  7955            label: label
  7956          count: 0
  7957          limit: 6
  7958        properties:
  7959          count:
  7960            format: int32
  7961            type: integer
  7962          limit:
  7963            format: int32
  7964            type: integer
  7965          offset:
  7966            format: int32
  7967            type: integer
  7968          records:
  7969            items:
  7970              $ref: '#/components/schemas/ReplyAssistantEntry'
  7971            type: array
  7972      GetAllReplyAssistantGroupsResponse:
  7973        example:
  7974          offset: 1
  7975          records:
  7976          - updated_at: 2000-01-23T04:56:07.000+00:00
  7977            autocomplete: true
  7978            name: name
  7979            created_at: 2000-01-23T04:56:07.000+00:00
  7980            entry_ids:
  7981            - entry_ids
  7982            - entry_ids
  7983            id: id
  7984            position: 5
  7985          - updated_at: 2000-01-23T04:56:07.000+00:00
  7986            autocomplete: true
  7987            name: name
  7988            created_at: 2000-01-23T04:56:07.000+00:00
  7989            entry_ids:
  7990            - entry_ids
  7991            - entry_ids
  7992            id: id
  7993            position: 5
  7994          count: 0
  7995          limit: 6
  7996        properties:
  7997          count:
  7998            format: int32
  7999            type: integer
  8000          limit:
  8001            format: int32
  8002            type: integer
  8003          offset:
  8004            format: int32
  8005            type: integer
  8006          records:
  8007            items:
  8008              $ref: '#/components/schemas/ReplyAssistantGroup'
  8009            type: array
  8010      GetAllReplyAssistantVersionsResponse:
  8011        example:
  8012          offset: 1
  8013          records:
  8014          - source_ids:
  8015            - source_ids
  8016            - source_ids
  8017            updated_at: 2000-01-23T04:56:07.000+00:00
  8018            format: text
  8019            created_at: 2000-01-23T04:56:07.000+00:00
  8020            language: language
  8021            attachments_count: 5
  8022            id: id
  8023            body: body
  8024            entry_id: entry_id
  8025          - source_ids:
  8026            - source_ids
  8027            - source_ids
  8028            updated_at: 2000-01-23T04:56:07.000+00:00
  8029            format: text
  8030            created_at: 2000-01-23T04:56:07.000+00:00
  8031            language: language
  8032            attachments_count: 5
  8033            id: id
  8034            body: body
  8035            entry_id: entry_id
  8036          count: 0
  8037          limit: 6
  8038        properties:
  8039          count:
  8040            format: int32
  8041            type: integer
  8042          limit:
  8043            format: int32
  8044            type: integer
  8045          offset:
  8046            format: int32
  8047            type: integer
  8048          records:
  8049            items:
  8050              $ref: '#/components/schemas/ReplyAssistantVersion'
  8051            type: array
  8052      GetAllRolesResponse:
  8053        example:
  8054          offset: 1
  8055          records:
  8056          - manage_ice: true
  8057            update_own_intervention: true
  8058            author_block_content: true
  8059            update_settings: true
  8060            receive_tasks: true
  8061            manage_reply_assistant: true
  8062            access_previous_messages: true
  8063            update_time_sheet: true
  8064            read_presence: true
  8065            search_event: true
  8066            manage_folders: true
  8067            id: id
  8068            publish_content: true
  8069            manage_custom_fields: true
  8070            manage_topologies: true
  8071            manage_chat: true
  8072            invite_user: true
  8073            read_community: true
  8074            update_extension: true
  8075            anonymize_identity: true
  8076            manage_emails_templates: true
  8077            export_identity: true
  8078            update_content_source: true
  8079            delay_export_content: true
  8080            read_stats: true
  8081            use_emoji: true
  8082            manage_roles: true
  8083            manage_own_notifications: true
  8084            read_export: true
  8085            open_content_thread: true
  8086            monitor_team_tasks: true
  8087            manage_teams: true
  8088            manage_api_access_tokens: true
  8089            create_user: true
  8090            manage_custom_notifications: true
  8091            update_identity: true
  8092            update_community: true
  8093            update_intervention: true
  8094            reply_with_assistant: true
  8095            created_at: 2000-01-23T04:56:07.000+00:00
  8096            read_content_source: true
  8097            use_cobrowsing: true
  8098            impersonate_user: true
  8099            manage_identities: true
  8100            read_identity: true
  8101            update_user: true
  8102            manage_app_sdk_applications: true
  8103            updated_at: 2000-01-23T04:56:07.000+00:00
  8104            access_pull_mode: true
  8105            create_content_source: true
  8106            admin_stamp_answer: true
  8107            approve_content: true
  8108            delete_content_thread: true
  8109            mute_content: true
  8110            create_community: true
  8111            monitor_tasks: true
  8112            read_event: true
  8113            manage_tags: true
  8114            label: label
  8115            manage_categories: true
  8116            manage_users_of_my_teams: true
  8117            lock_identity: true
  8118            create_and_destroy_extension: true
  8119            close_content_thread: true
  8120            read_own_stats: true
  8121            read_user: true
  8122            access_help_center: true
  8123            manage_messaging: true
  8124            manage_rules_engine_rules: true
  8125            assign_intervention: true
  8126            search_contents: true
  8127          - manage_ice: true
  8128            update_own_intervention: true
  8129            author_block_content: true
  8130            update_settings: true
  8131            receive_tasks: true
  8132            manage_reply_assistant: true
  8133            access_previous_messages: true
  8134            update_time_sheet: true
  8135            read_presence: true
  8136            search_event: true
  8137            manage_folders: true
  8138            id: id
  8139            publish_content: true
  8140            manage_custom_fields: true
  8141            manage_topologies: true
  8142            manage_chat: true
  8143            invite_user: true
  8144            read_community: true
  8145            update_extension: true
  8146            anonymize_identity: true
  8147            manage_emails_templates: true
  8148            export_identity: true
  8149            update_content_source: true
  8150            delay_export_content: true
  8151            read_stats: true
  8152            use_emoji: true
  8153            manage_roles: true
  8154            manage_own_notifications: true
  8155            read_export: true
  8156            open_content_thread: true
  8157            monitor_team_tasks: true
  8158            manage_teams: true
  8159            manage_api_access_tokens: true
  8160            create_user: true
  8161            manage_custom_notifications: true
  8162            update_identity: true
  8163            update_community: true
  8164            update_intervention: true
  8165            reply_with_assistant: true
  8166            created_at: 2000-01-23T04:56:07.000+00:00
  8167            read_content_source: true
  8168            use_cobrowsing: true
  8169            impersonate_user: true
  8170            manage_identities: true
  8171            read_identity: true
  8172            update_user: true
  8173            manage_app_sdk_applications: true
  8174            updated_at: 2000-01-23T04:56:07.000+00:00
  8175            access_pull_mode: true
  8176            create_content_source: true
  8177            admin_stamp_answer: true
  8178            approve_content: true
  8179            delete_content_thread: true
  8180            mute_content: true
  8181            create_community: true
  8182            monitor_tasks: true
  8183            read_event: true
  8184            manage_tags: true
  8185            label: label
  8186            manage_categories: true
  8187            manage_users_of_my_teams: true
  8188            lock_identity: true
  8189            create_and_destroy_extension: true
  8190            close_content_thread: true
  8191            read_own_stats: true
  8192            read_user: true
  8193            access_help_center: true
  8194            manage_messaging: true
  8195            manage_rules_engine_rules: true
  8196            assign_intervention: true
  8197            search_contents: true
  8198          count: 0
  8199          limit: 6
  8200        properties:
  8201          count:
  8202            format: int32
  8203            type: integer
  8204          limit:
  8205            format: int32
  8206            type: integer
  8207          offset:
  8208            format: int32
  8209            type: integer
  8210          records:
  8211            items:
  8212              $ref: '#/components/schemas/Role'
  8213            type: array
  8214      GetAllSourcesResponse:
  8215        example:
  8216          offset: 1
  8217          records:
  8218          - error_message: error_message
  8219            sla_response: 7
  8220            default_category_ids:
  8221            - default_category_ids
  8222            - default_category_ids
  8223            color: 5
  8224            default_content_language: default_content_language
  8225            sla_expired_strategy: max
  8226            active: true
  8227            created_at: 2000-01-23T04:56:07.000+00:00
  8228            content_archiving: true
  8229            content_languages:
  8230            - content_languages
  8231            - content_languages
  8232            type: type
  8233            auto_detect_content_language: true
  8234            content_archiving_period: 5
  8235            intervention_messages_boost: 2
  8236            community_id: community_id
  8237            time_sheet_ids:
  8238            - time_sheet_ids
  8239            - time_sheet_ids
  8240            updated_at: 2000-01-23T04:56:07.000+00:00
  8241            transferred_tasks_boost: 9
  8242            name: name
  8243            id: id
  8244            channel_id: channel_id
  8245            user_thread_default_category_ids:
  8246            - user_thread_default_category_ids
  8247            - user_thread_default_category_ids
  8248            hidden_from_stats: true
  8249            status: status
  8250          - error_message: error_message
  8251            sla_response: 7
  8252            default_category_ids:
  8253            - default_category_ids
  8254            - default_category_ids
  8255            color: 5
  8256            default_content_language: default_content_language
  8257            sla_expired_strategy: max
  8258            active: true
  8259            created_at: 2000-01-23T04:56:07.000+00:00
  8260            content_archiving: true
  8261            content_languages:
  8262            - content_languages
  8263            - content_languages
  8264            type: type
  8265            auto_detect_content_language: true
  8266            content_archiving_period: 5
  8267            intervention_messages_boost: 2
  8268            community_id: community_id
  8269            time_sheet_ids:
  8270            - time_sheet_ids
  8271            - time_sheet_ids
  8272            updated_at: 2000-01-23T04:56:07.000+00:00
  8273            transferred_tasks_boost: 9
  8274            name: name
  8275            id: id
  8276            channel_id: channel_id
  8277            user_thread_default_category_ids:
  8278            - user_thread_default_category_ids
  8279            - user_thread_default_category_ids
  8280            hidden_from_stats: true
  8281            status: status
  8282          count: 0
  8283          limit: 6
  8284        properties:
  8285          count:
  8286            format: int32
  8287            type: integer
  8288          limit:
  8289            format: int32
  8290            type: integer
  8291          offset:
  8292            format: int32
  8293            type: integer
  8294          records:
  8295            items:
  8296              $ref: '#/components/schemas/Source'
  8297            type: array
  8298      GetAllTagsResponse:
  8299        example:
  8300          offset: 1
  8301          records:
  8302          - updated_at: 2000-01-23T04:56:07.000+00:00
  8303            name: name
  8304            created_at: 2000-01-23T04:56:07.000+00:00
  8305            id: id
  8306          - updated_at: 2000-01-23T04:56:07.000+00:00
  8307            name: name
  8308            created_at: 2000-01-23T04:56:07.000+00:00
  8309            id: id
  8310          count: 0
  8311          limit: 6
  8312        properties:
  8313          count:
  8314            format: int32
  8315            type: integer
  8316          limit:
  8317            format: int32
  8318            type: integer
  8319          offset:
  8320            format: int32
  8321            type: integer
  8322          records:
  8323            items:
  8324              $ref: '#/components/schemas/Tag'
  8325            type: array
  8326      GetAllTasksResponse:
  8327        example:
  8328          offset: 1
  8329          records:
  8330          - intervention_id: intervention_id
  8331            content_id: content_id
  8332            created_at: 2000-01-23T04:56:07.000+00:00
  8333            transfered_at: 2000-01-23T04:56:07.000+00:00
  8334            priority: 5
  8335            accepted_at: 2000-01-23T04:56:07.000+00:00
  8336            completed_at: 2000-01-23T04:56:07.000+00:00
  8337            thread_id: thread_id
  8338            updated_at: 2000-01-23T04:56:07.000+00:00
  8339            locked_at: 2000-01-23T04:56:07.000+00:00
  8340            expire_at: 2000-01-23T04:56:07.000+00:00
  8341            step: step
  8342            id: id
  8343            channel_id: channel_id
  8344            agent_ids:
  8345            - agent_ids
  8346            - agent_ids
  8347          - intervention_id: intervention_id
  8348            content_id: content_id
  8349            created_at: 2000-01-23T04:56:07.000+00:00
  8350            transfered_at: 2000-01-23T04:56:07.000+00:00
  8351            priority: 5
  8352            accepted_at: 2000-01-23T04:56:07.000+00:00
  8353            completed_at: 2000-01-23T04:56:07.000+00:00
  8354            thread_id: thread_id
  8355            updated_at: 2000-01-23T04:56:07.000+00:00
  8356            locked_at: 2000-01-23T04:56:07.000+00:00
  8357            expire_at: 2000-01-23T04:56:07.000+00:00
  8358            step: step
  8359            id: id
  8360            channel_id: channel_id
  8361            agent_ids:
  8362            - agent_ids
  8363            - agent_ids
  8364          count: 0
  8365          limit: 6
  8366        properties:
  8367          count:
  8368            format: int32
  8369            type: integer
  8370          limit:
  8371            format: int32
  8372            type: integer
  8373          offset:
  8374            format: int32
  8375            type: integer
  8376          records:
  8377            items:
  8378              $ref: '#/components/schemas/Task'
  8379            type: array
  8380      GetAllTeamsResponse:
  8381        example:
  8382          offset: 1
  8383          records:
  8384          - updated_at: 2000-01-23T04:56:07.000+00:00
  8385            user_ids:
  8386            - user_ids
  8387            - user_ids
  8388            name: name
  8389            created_at: 2000-01-23T04:56:07.000+00:00
  8390            id: id
  8391            leader_ids:
  8392            - leader_ids
  8393            - leader_ids
  8394          - updated_at: 2000-01-23T04:56:07.000+00:00
  8395            user_ids:
  8396            - user_ids
  8397            - user_ids
  8398            name: name
  8399            created_at: 2000-01-23T04:56:07.000+00:00
  8400            id: id
  8401            leader_ids:
  8402            - leader_ids
  8403            - leader_ids
  8404          count: 0
  8405          limit: 6
  8406        properties:
  8407          count:
  8408            format: int32
  8409            type: integer
  8410          limit:
  8411            format: int32
  8412            type: integer
  8413          offset:
  8414            format: int32
  8415            type: integer
  8416          records:
  8417            items:
  8418              $ref: '#/components/schemas/Team'
  8419            type: array
  8420      GetAllThreadsResponse:
  8421        example:
  8422          offset: 1
  8423          records:
  8424          - foreign_id: foreign_id
  8425            updated_at: 2000-01-23T04:56:07.000+00:00
  8426            extra_data: '{}'
  8427            interventions_count: 5
  8428            thread_category_ids:
  8429            - thread_category_ids
  8430            - thread_category_ids
  8431            closed: true
  8432            created_at: 2000-01-23T04:56:07.000+00:00
  8433            category_ids:
  8434            - category_ids
  8435            - category_ids
  8436            id: id
  8437            source_id: source_id
  8438            title: title
  8439            contents_count: 5
  8440          - foreign_id: foreign_id
  8441            updated_at: 2000-01-23T04:56:07.000+00:00
  8442            extra_data: '{}'
  8443            interventions_count: 5
  8444            thread_category_ids:
  8445            - thread_category_ids
  8446            - thread_category_ids
  8447            closed: true
  8448            created_at: 2000-01-23T04:56:07.000+00:00
  8449            category_ids:
  8450            - category_ids
  8451            - category_ids
  8452            id: id
  8453            source_id: source_id
  8454            title: title
  8455            contents_count: 5
  8456          count: 0
  8457          limit: 6
  8458        properties:
  8459          count:
  8460            format: int32
  8461            type: integer
  8462          limit:
  8463            format: int32
  8464            type: integer
  8465          offset:
  8466            format: int32
  8467            type: integer
  8468          records:
  8469            items:
  8470              $ref: '#/components/schemas/Thread'
  8471            type: array
  8472      GetAllTimeSheetsResponse:
  8473        example:
  8474          offset: 1
  8475          records:
  8476          - saturday_hours: saturday_hours
  8477            wednesday_hours: wednesday_hours
  8478            thursday_hours: thursday_hours
  8479            monday_hours: monday_hours
  8480            timezone: timezone
  8481            friday_hours: friday_hours
  8482            active: true
  8483            created_at: 2000-01-23T04:56:07.000+00:00
  8484            label: label
  8485            sunday_hours: sunday_hours
  8486            tuesday_hours: tuesday_hours
  8487            source_ids:
  8488            - source_ids
  8489            - source_ids
  8490            updated_at: 2000-01-23T04:56:07.000+00:00
  8491            id: id
  8492            holidays[]:
  8493            - date: date
  8494              name: name
  8495            - date: date
  8496              name: name
  8497          - saturday_hours: saturday_hours
  8498            wednesday_hours: wednesday_hours
  8499            thursday_hours: thursday_hours
  8500            monday_hours: monday_hours
  8501            timezone: timezone
  8502            friday_hours: friday_hours
  8503            active: true
  8504            created_at: 2000-01-23T04:56:07.000+00:00
  8505            label: label
  8506            sunday_hours: sunday_hours
  8507            tuesday_hours: tuesday_hours
  8508            source_ids:
  8509            - source_ids
  8510            - source_ids
  8511            updated_at: 2000-01-23T04:56:07.000+00:00
  8512            id: id
  8513            holidays[]:
  8514            - date: date
  8515              name: name
  8516            - date: date
  8517              name: name
  8518          count: 0
  8519          limit: 6
  8520        properties:
  8521          count:
  8522            format: int32
  8523            type: integer
  8524          limit:
  8525            format: int32
  8526            type: integer
  8527          offset:
  8528            format: int32
  8529            type: integer
  8530          records:
  8531            items:
  8532              $ref: '#/components/schemas/TimeSheet'
  8533            type: array
  8534      GetAllUsersResponse:
  8535        example:
  8536          offset: 1
  8537          records:
  8538          - firstname: firstname
  8539            gender: gender
  8540            identity_ids:
  8541            - identity_ids
  8542            - identity_ids
  8543            team_ids:
  8544            - team_ids
  8545            - team_ids
  8546            timezone: timezone
  8547            created_at: 2000-01-23T04:56:07.000+00:00
  8548            external_id: external_id
  8549            locale: locale
  8550            enabled: true
  8551            invitation_pending: true
  8552            lastname: lastname
  8553            spoken_languages:
  8554            - spoken_languages
  8555            - spoken_languages
  8556            rc_user_id: rc_user_id
  8557            updated_at: 2000-01-23T04:56:07.000+00:00
  8558            role_id: role_id
  8559            nickname: nickname
  8560            category_ids:
  8561            - category_ids
  8562            - category_ids
  8563            id: id
  8564            email: email
  8565          - firstname: firstname
  8566            gender: gender
  8567            identity_ids:
  8568            - identity_ids
  8569            - identity_ids
  8570            team_ids:
  8571            - team_ids
  8572            - team_ids
  8573            timezone: timezone
  8574            created_at: 2000-01-23T04:56:07.000+00:00
  8575            external_id: external_id
  8576            locale: locale
  8577            enabled: true
  8578            invitation_pending: true
  8579            lastname: lastname
  8580            spoken_languages:
  8581            - spoken_languages
  8582            - spoken_languages
  8583            rc_user_id: rc_user_id
  8584            updated_at: 2000-01-23T04:56:07.000+00:00
  8585            role_id: role_id
  8586            nickname: nickname
  8587            category_ids:
  8588            - category_ids
  8589            - category_ids
  8590            id: id
  8591            email: email
  8592          count: 0
  8593          limit: 6
  8594        properties:
  8595          count:
  8596            format: int32
  8597            type: integer
  8598          limit:
  8599            format: int32
  8600            type: integer
  8601          offset:
  8602            format: int32
  8603            type: integer
  8604          records:
  8605            items:
  8606              $ref: '#/components/schemas/User'
  8607            type: array
  8608      GetAllWebhooksResponse:
  8609        example:
  8610          offset: 1
  8611          records:
  8612          - registered_events:
  8613            - registered_events
  8614            - registered_events
  8615            staging_use: true
  8616            active: true
  8617            api_access_token:
  8618              updated_at: 2000-01-23T04:56:07.000+00:00
  8619              created_at: 2000-01-23T04:56:07.000+00:00
  8620              id: id
  8621            id: id
  8622            verify_token: verify_token
  8623            url: url
  8624          - registered_events:
  8625            - registered_events
  8626            - registered_events
  8627            staging_use: true
  8628            active: true
  8629            api_access_token:
  8630              updated_at: 2000-01-23T04:56:07.000+00:00
  8631              created_at: 2000-01-23T04:56:07.000+00:00
  8632              id: id
  8633            id: id
  8634            verify_token: verify_token
  8635            url: url
  8636          count: 0
  8637          limit: 6
  8638        properties:
  8639          count:
  8640            format: int32
  8641            type: integer
  8642          limit:
  8643            format: int32
  8644            type: integer
  8645          offset:
  8646            format: int32
  8647            type: integer
  8648          records:
  8649            items:
  8650              $ref: '#/components/schemas/Webhook'
  8651            type: array
  8652      Identity:
  8653        example:
  8654          home_phone: home_phone
  8655          firstname: firstname
  8656          extra_values: '{}'
  8657          gender: gender
  8658          user_ids:
  8659          - user_ids
  8660          - user_ids
  8661          created_at: 2000-01-23T04:56:07.000+00:00
  8662          display_name: display_name
  8663          type: type
  8664          uuid: uuid
  8665          community_url: community_url
  8666          lastname: lastname
  8667          foreign_id: foreign_id
  8668          community_id: community_id
  8669          avatar_url: avatar_url
  8670          updated_at: 2000-01-23T04:56:07.000+00:00
  8671          mobile_phone: mobile_phone
  8672          identity_group_id: identity_group_id
  8673          company: company
  8674          id: id
  8675          screenname: screenname
  8676          email: email
  8677        properties:
  8678          avatar_url:
  8679            type: string
  8680          community_id:
  8681            type: string
  8682          community_url:
  8683            type: string
  8684          company:
  8685            type: string
  8686          created_at:
  8687            format: date-time
  8688            type: string
  8689          display_name:
  8690            type: string
  8691          email:
  8692            type: string
  8693          extra_values:
  8694            type: object
  8695          firstname:
  8696            type: string
  8697          foreign_id:
  8698            type: string
  8699          gender:
  8700            type: string
  8701          home_phone:
  8702            type: string
  8703          id:
  8704            type: string
  8705          identity_group_id:
  8706            description: The identity group id references the identity group that contains
  8707              all informations (phone, notes, etc.). Many identities may belong to this
  8708              group. If the identity group id is null, it means that identity does not
  8709              have a group and any extra information. Please refer to identity groups
  8710              API for more informations.
  8711            type: string
  8712          lastname:
  8713            type: string
  8714          mobile_phone:
  8715            type: string
  8716          screenname:
  8717            type: string
  8718          type:
  8719            type: string
  8720          updated_at:
  8721            format: date-time
  8722            type: string
  8723          user_ids:
  8724            items:
  8725              type: string
  8726            type: array
  8727          uuid:
  8728            type: string
  8729      IdentityGroup:
  8730        example:
  8731          firstname: firstname
  8732          tag_ids:
  8733          - tag_ids
  8734          - tag_ids
  8735          notes: notes
  8736          gender: gender
  8737          identity_ids:
  8738          - identity_ids
  8739          - identity_ids
  8740          created_at: 2000-01-23T04:56:07.000+00:00
  8741          mobile_phones:
  8742          - mobile_phones
  8743          - mobile_phones
  8744          lastname: lastname
  8745          emails:
  8746          - emails
  8747          - emails
  8748          home_phones:
  8749          - home_phones
  8750          - home_phones
  8751          avatar_url: avatar_url
  8752          custom_field_values: '{}'
  8753          updated_at: 2000-01-23T04:56:07.000+00:00
  8754          company: company
  8755          id: id
  8756        properties:
  8757          avatar_url:
  8758            type: string
  8759          company:
  8760            type: string
  8761          created_at:
  8762            format: date-time
  8763            type: string
  8764          custom_field_values:
  8765            type: object
  8766          emails:
  8767            items:
  8768              type: string
  8769            type: array
  8770          firstname:
  8771            type: string
  8772          gender:
  8773            type: string
  8774          home_phones:
  8775            items:
  8776              type: string
  8777            type: array
  8778          id:
  8779            type: string
  8780          identity_ids:
  8781            items:
  8782              type: string
  8783            type: array
  8784          lastname:
  8785            type: string
  8786          mobile_phones:
  8787            items:
  8788              type: string
  8789            type: array
  8790          notes:
  8791            type: string
  8792          tag_ids:
  8793            items:
  8794              type: string
  8795            type: array
  8796          updated_at:
  8797            format: date-time
  8798            type: string
  8799        required:
  8800        - id
  8801      Intervention:
  8802        example:
  8803          closed_at: 2000-01-23T04:56:07.000+00:00
  8804          deferred_at: 2000-01-23T04:56:07.000+00:00
  8805          content_id: content_id
  8806          identity_id: identity_id
  8807          custom_fields: '{}'
  8808          created_at: 2000-01-23T04:56:07.000+00:00
  8809          first_user_reply_in_bh: 2
  8810          last_user_reply_in_bh: 9
  8811          thread_id: thread_id
  8812          first_user_reply_id: first_user_reply_id
  8813          updated_at: 2000-01-23T04:56:07.000+00:00
  8814          last_user_reply_in: 7
  8815          user_id: user_id
  8816          comments_count: 5
  8817          user_replies_count: 3
  8818          closed: true
  8819          first_user_reply_in: 5
  8820          category_ids:
  8821          - category_ids
  8822          - category_ids
  8823          id: id
  8824          source_id: source_id
  8825          user_reply_in_average_count: 7
  8826          user_reply_in_average: 2
  8827          status: status
  8828          user_reply_in_average_bh: 4
  8829        properties:
  8830          category_ids:
  8831            items:
  8832              type: string
  8833            type: array
  8834          closed:
  8835            type: boolean
  8836          closed_at:
  8837            format: date-time
  8838            type: string
  8839          comments_count:
  8840            type: integer
  8841          content_id:
  8842            type: string
  8843          created_at:
  8844            format: date-time
  8845            type: string
  8846          custom_fields:
  8847            type: object
  8848          deferred_at:
  8849            format: date-time
  8850            type: string
  8851          first_user_reply_id:
  8852            type: string
  8853          first_user_reply_in:
  8854            type: integer
  8855          first_user_reply_in_bh:
  8856            type: integer
  8857          id:
  8858            type: string
  8859          identity_id:
  8860            type: string
  8861          last_user_reply_in:
  8862            type: integer
  8863          last_user_reply_in_bh:
  8864            type: integer
  8865          source_id:
  8866            type: string
  8867          status:
  8868            type: string
  8869          thread_id:
  8870            type: string
  8871          updated_at:
  8872            format: date-time
  8873            type: string
  8874          user_id:
  8875            type: string
  8876          user_replies_count:
  8877            type: integer
  8878          user_reply_in_average:
  8879            type: integer
  8880          user_reply_in_average_bh:
  8881            type: integer
  8882          user_reply_in_average_count:
  8883            type: integer
  8884        required:
  8885        - id
  8886      InterventionComment:
  8887        example:
  8888          intervention_id: intervention_id
  8889          thread_id: thread_id
  8890          updated_at: 2000-01-23T04:56:07.000+00:00
  8891          user_id: user_id
  8892          created_at: 2000-01-23T04:56:07.000+00:00
  8893          id: id
  8894          body: body
  8895          videntity_id: videntity_id
  8896        properties:
  8897          body:
  8898            type: string
  8899          created_at:
  8900            format: date-time
  8901            type: string
  8902          id:
  8903            type: string
  8904          intervention_id:
  8905            type: string
  8906          thread_id:
  8907            type: string
  8908          updated_at:
  8909            format: date-time
  8910            type: string
  8911          user_id:
  8912            type: string
  8913          videntity_id:
  8914            type: string
  8915      Locale:
  8916        example:
  8917          code: code
  8918          name: name
  8919          interface: true
  8920        properties:
  8921          code:
  8922            type: string
  8923          interface:
  8924            type: boolean
  8925          name:
  8926            type: string
  8927      PresenceStatus:
  8928        example:
  8929          updated_at: 2000-01-23T04:56:07.000+00:00
  8930          name: name
  8931          created_at: 2000-01-23T04:56:07.000+00:00
  8932          id: id
  8933        properties:
  8934          created_at:
  8935            format: date-time
  8936            type: string
  8937          id:
  8938            type: string
  8939          name:
  8940            type: string
  8941          updated_at:
  8942            format: date-time
  8943            type: string
  8944        required:
  8945        - id
  8946        - name
  8947      ReplyAssistantEntry:
  8948        example:
  8949          foreign_id: foreign_id
  8950          source_ids:
  8951          - source_ids
  8952          - source_ids
  8953          updated_at: 2000-01-23T04:56:07.000+00:00
  8954          entry_group_id: entry_group_id
  8955          version_ids:
  8956          - version_ids
  8957          - version_ids
  8958          shortcuts: shortcuts
  8959          created_at: 2000-01-23T04:56:07.000+00:00
  8960          category_ids:
  8961          - category_ids
  8962          - category_ids
  8963          id: id
  8964          label: label
  8965        properties:
  8966          category_ids:
  8967            items:
  8968              type: string
  8969            type: array
  8970          created_at:
  8971            format: date-time
  8972            type: string
  8973          entry_group_id:
  8974            type: string
  8975          foreign_id:
  8976            type: string
  8977          id:
  8978            type: string
  8979          label:
  8980            type: string
  8981          shortcuts:
  8982            type: string
  8983          source_ids:
  8984            items:
  8985              type: string
  8986            type: array
  8987          updated_at:
  8988            format: date-time
  8989            type: string
  8990          version_ids:
  8991            items:
  8992              type: string
  8993            type: array
  8994        required:
  8995        - id
  8996      ReplyAssistantGroup:
  8997        example:
  8998          updated_at: 2000-01-23T04:56:07.000+00:00
  8999          autocomplete: true
  9000          name: name
  9001          created_at: 2000-01-23T04:56:07.000+00:00
  9002          entry_ids:
  9003          - entry_ids
  9004          - entry_ids
  9005          id: id
  9006          position: 5
  9007        properties:
  9008          autocomplete:
  9009            type: boolean
  9010          created_at:
  9011            format: date-time
  9012            type: string
  9013          entry_ids:
  9014            items:
  9015              type: string
  9016            type: array
  9017          id:
  9018            type: string
  9019          name:
  9020            type: string
  9021          position:
  9022            type: integer
  9023          updated_at:
  9024            format: date-time
  9025            type: string
  9026        required:
  9027        - id
  9028      ReplyAssistantVersion:
  9029        example:
  9030          source_ids:
  9031          - source_ids
  9032          - source_ids
  9033          updated_at: 2000-01-23T04:56:07.000+00:00
  9034          format: text
  9035          created_at: 2000-01-23T04:56:07.000+00:00
  9036          language: language
  9037          attachments_count: 5
  9038          id: id
  9039          body: body
  9040          entry_id: entry_id
  9041        properties:
  9042          attachments_count:
  9043            type: integer
  9044          body:
  9045            type: string
  9046          created_at:
  9047            format: date-time
  9048            type: string
  9049          entry_id:
  9050            type: string
  9051          format:
  9052            enum:
  9053            - text
  9054            - html
  9055            type: string
  9056          id:
  9057            type: string
  9058          language:
  9059            type: string
  9060          source_ids:
  9061            items:
  9062              type: string
  9063            type: array
  9064          updated_at:
  9065            format: date-time
  9066            type: string
  9067        required:
  9068        - id
  9069      Restriction:
  9070        example:
  9071          only:
  9072          - only
  9073          - only
  9074        properties:
  9075          only:
  9076            items:
  9077              type: string
  9078            type: array
  9079      Role:
  9080        example:
  9081          manage_ice: true
  9082          update_own_intervention: true
  9083          author_block_content: true
  9084          update_settings: true
  9085          receive_tasks: true
  9086          manage_reply_assistant: true
  9087          access_previous_messages: true
  9088          update_time_sheet: true
  9089          read_presence: true
  9090          search_event: true
  9091          manage_folders: true
  9092          id: id
  9093          publish_content: true
  9094          manage_custom_fields: true
  9095          manage_topologies: true
  9096          manage_chat: true
  9097          invite_user: true
  9098          read_community: true
  9099          update_extension: true
  9100          anonymize_identity: true
  9101          manage_emails_templates: true
  9102          export_identity: true
  9103          update_content_source: true
  9104          delay_export_content: true
  9105          read_stats: true
  9106          use_emoji: true
  9107          manage_roles: true
  9108          manage_own_notifications: true
  9109          read_export: true
  9110          open_content_thread: true
  9111          monitor_team_tasks: true
  9112          manage_teams: true
  9113          manage_api_access_tokens: true
  9114          create_user: true
  9115          manage_custom_notifications: true
  9116          update_identity: true
  9117          update_community: true
  9118          update_intervention: true
  9119          reply_with_assistant: true
  9120          created_at: 2000-01-23T04:56:07.000+00:00
  9121          read_content_source: true
  9122          use_cobrowsing: true
  9123          impersonate_user: true
  9124          manage_identities: true
  9125          read_identity: true
  9126          update_user: true
  9127          manage_app_sdk_applications: true
  9128          updated_at: 2000-01-23T04:56:07.000+00:00
  9129          access_pull_mode: true
  9130          create_content_source: true
  9131          admin_stamp_answer: true
  9132          approve_content: true
  9133          delete_content_thread: true
  9134          mute_content: true
  9135          create_community: true
  9136          monitor_tasks: true
  9137          read_event: true
  9138          manage_tags: true
  9139          label: label
  9140          manage_categories: true
  9141          manage_users_of_my_teams: true
  9142          lock_identity: true
  9143          create_and_destroy_extension: true
  9144          close_content_thread: true
  9145          read_own_stats: true
  9146          read_user: true
  9147          access_help_center: true
  9148          manage_messaging: true
  9149          manage_rules_engine_rules: true
  9150          assign_intervention: true
  9151          search_contents: true
  9152        properties:
  9153          access_help_center:
  9154            type: boolean
  9155          access_previous_messages:
  9156            type: boolean
  9157          access_pull_mode:
  9158            type: boolean
  9159          admin_stamp_answer:
  9160            type: boolean
  9161          anonymize_identity:
  9162            type: boolean
  9163          approve_content:
  9164            type: boolean
  9165          assign_intervention:
  9166            type: boolean
  9167          author_block_content:
  9168            type: boolean
  9169          close_content_thread:
  9170            type: boolean
  9171          create_and_destroy_extension:
  9172            type: boolean
  9173          create_community:
  9174            type: boolean
  9175          create_content_source:
  9176            type: boolean
  9177          create_user:
  9178            type: boolean
  9179          created_at:
  9180            format: date-time
  9181            type: string
  9182          delay_export_content:
  9183            type: boolean
  9184          delete_content_thread:
  9185            type: boolean
  9186          export_identity:
  9187            type: boolean
  9188          id:
  9189            type: string
  9190          impersonate_user:
  9191            type: boolean
  9192          invite_user:
  9193            type: boolean
  9194          label:
  9195            type: string
  9196          lock_identity:
  9197            type: boolean
  9198          manage_api_access_tokens:
  9199            type: boolean
  9200          manage_app_sdk_applications:
  9201            type: boolean
  9202          manage_categories:
  9203            type: boolean
  9204          manage_chat:
  9205            type: boolean
  9206          manage_custom_fields:
  9207            type: boolean
  9208          manage_custom_notifications:
  9209            type: boolean
  9210          manage_emails_templates:
  9211            type: boolean
  9212          manage_folders:
  9213            type: boolean
  9214          manage_ice:
  9215            type: boolean
  9216          manage_identities:
  9217            type: boolean
  9218          manage_messaging:
  9219            type: boolean
  9220          manage_own_notifications:
  9221            type: boolean
  9222          manage_reply_assistant:
  9223            type: boolean
  9224          manage_roles:
  9225            type: boolean
  9226          manage_rules_engine_rules:
  9227            type: boolean
  9228          manage_tags:
  9229            type: boolean
  9230          manage_teams:
  9231            type: boolean
  9232          manage_topologies:
  9233            type: boolean
  9234          manage_users_of_my_teams:
  9235            type: boolean
  9236          monitor_tasks:
  9237            type: boolean
  9238          monitor_team_tasks:
  9239            type: boolean
  9240          mute_content:
  9241            type: boolean
  9242          open_content_thread:
  9243            type: boolean
  9244          publish_content:
  9245            type: boolean
  9246          read_community:
  9247            type: boolean
  9248          read_content_source:
  9249            type: boolean
  9250          read_event:
  9251            type: boolean
  9252          read_export:
  9253            type: boolean
  9254          read_identity:
  9255            type: boolean
  9256          read_own_stats:
  9257            type: boolean
  9258          read_presence:
  9259            type: boolean
  9260          read_stats:
  9261            type: boolean
  9262          read_user:
  9263            type: boolean
  9264          receive_tasks:
  9265            type: boolean
  9266          reply_with_assistant:
  9267            type: boolean
  9268          search_contents:
  9269            type: boolean
  9270          search_event:
  9271            type: boolean
  9272          update_community:
  9273            type: boolean
  9274          update_content_source:
  9275            type: boolean
  9276          update_extension:
  9277            type: boolean
  9278          update_identity:
  9279            type: boolean
  9280          update_intervention:
  9281            type: boolean
  9282          update_own_intervention:
  9283            type: boolean
  9284          update_settings:
  9285            type: boolean
  9286          update_time_sheet:
  9287            type: boolean
  9288          update_user:
  9289            type: boolean
  9290          updated_at:
  9291            format: date-time
  9292            type: string
  9293          use_cobrowsing:
  9294            type: boolean
  9295          use_emoji:
  9296            type: boolean
  9297      Settings:
  9298        example:
  9299          intervention_defer_threshold: 2
  9300          password_non_word: true
  9301          multi_lang: true
  9302          activity_tracking: true
  9303          rtl_support: true
  9304          spellchecking: true
  9305          timezone: timezone
  9306          beginning_of_week: beginning_of_week
  9307          created_at: 2000-01-23T04:56:07.000+00:00
  9308          expire_password_after: 6
  9309          locale: locale
  9310          type: type
  9311          sharding_key: sharding_key
  9312          intervention_rates:
  9313          - 7
  9314          - 7
  9315          updated_at: 2000-01-23T04:56:07.000+00:00
  9316          password_min_length: 3
  9317          password_numbers: true
  9318          intervention_defer_rates:
  9319          - 5
  9320          - 5
  9321          password_archivable_enabled: true
  9322          browser_notifications_disabled: true
  9323          dump_in_preprod: true
  9324          id: id
  9325          self_approval_required: true
  9326          use_two_letters_avatars: true
  9327          third_party_services_disabled: true
  9328          disable_password_autocomplete: true
  9329          deny_iframe_integration: true
  9330          password_recovery_disabled: true
  9331          urgent_task_threshold: 4
  9332          activity_presence_threshold: 0
  9333          fte_duration: 1
  9334          push_enabled: true
  9335          display_only_unknown_bbcode: true
  9336          identity_merge: true
  9337          name: name
  9338          content_languages[]:
  9339          - content_languages[]
  9340          - content_languages[]
  9341          style: style
  9342          reply_as_any_identity: true
  9343          password_archivable_size: 9
  9344          session_timeout: 2
  9345          expire_password_enabled: true
  9346          intervention_closing_period: 5
  9347        properties:
  9348          activity_presence_threshold:
  9349            type: integer
  9350          activity_tracking:
  9351            type: boolean
  9352          beginning_of_week:
  9353            type: string
  9354          browser_notifications_disabled:
  9355            type: boolean
  9356          content_languages[]:
  9357            items:
  9358              type: string
  9359            type: array
  9360          created_at:
  9361            format: date-time
  9362            type: string
  9363          deny_iframe_integration:
  9364            type: boolean
  9365          disable_password_autocomplete:
  9366            type: boolean
  9367          display_only_unknown_bbcode:
  9368            type: boolean
  9369          dump_in_preprod:
  9370            type: boolean
  9371          expire_password_after:
  9372            type: integer
  9373          expire_password_enabled:
  9374            type: boolean
  9375          fte_duration:
  9376            type: integer
  9377          id:
  9378            type: string
  9379          identity_merge:
  9380            type: boolean
  9381          intervention_closing_period:
  9382            type: integer
  9383          intervention_defer_rates:
  9384            items:
  9385              type: integer
  9386            type: array
  9387          intervention_defer_threshold:
  9388            type: integer
  9389          intervention_rates:
  9390            items:
  9391              type: integer
  9392            type: array
  9393          locale:
  9394            type: string
  9395          multi_lang:
  9396            type: boolean
  9397          name:
  9398            type: string
  9399          password_archivable_enabled:
  9400            type: boolean
  9401          password_archivable_size:
  9402            type: integer
  9403          password_min_length:
  9404            type: integer
  9405          password_non_word:
  9406            type: boolean
  9407          password_numbers:
  9408            type: boolean
  9409          password_recovery_disabled:
  9410            type: boolean
  9411          push_enabled:
  9412            type: boolean
  9413          reply_as_any_identity:
  9414            type: boolean
  9415          rtl_support:
  9416            type: boolean
  9417          self_approval_required:
  9418            type: boolean
  9419          session_timeout:
  9420            type: integer
  9421          sharding_key:
  9422            type: string
  9423          spellchecking:
  9424            type: boolean
  9425          style:
  9426            type: string
  9427          third_party_services_disabled:
  9428            type: boolean
  9429          timezone:
  9430            type: string
  9431          type:
  9432            type: string
  9433          updated_at:
  9434            format: date-time
  9435            type: string
  9436          urgent_task_threshold:
  9437            type: integer
  9438          use_two_letters_avatars:
  9439            type: boolean
  9440      Source:
  9441        example:
  9442          error_message: error_message
  9443          sla_response: 7
  9444          default_category_ids:
  9445          - default_category_ids
  9446          - default_category_ids
  9447          color: 5
  9448          default_content_language: default_content_language
  9449          sla_expired_strategy: max
  9450          active: true
  9451          created_at: 2000-01-23T04:56:07.000+00:00
  9452          content_archiving: true
  9453          content_languages:
  9454          - content_languages
  9455          - content_languages
  9456          type: type
  9457          auto_detect_content_language: true
  9458          content_archiving_period: 5
  9459          intervention_messages_boost: 2
  9460          community_id: community_id
  9461          time_sheet_ids:
  9462          - time_sheet_ids
  9463          - time_sheet_ids
  9464          updated_at: 2000-01-23T04:56:07.000+00:00
  9465          transferred_tasks_boost: 9
  9466          name: name
  9467          id: id
  9468          channel_id: channel_id
  9469          user_thread_default_category_ids:
  9470          - user_thread_default_category_ids
  9471          - user_thread_default_category_ids
  9472          hidden_from_stats: true
  9473          status: status
  9474        properties:
  9475          active:
  9476            description: Activate/deactivate the source
  9477            type: boolean
  9478          auto_detect_content_language:
  9479            description: Auto-detect content language (Boolean)
  9480            type: boolean
  9481          channel_id:
  9482            type: string
  9483          color:
  9484            description: 'Color of the icon: Default: 0 Blue: 1 Green: 2 Turquoise:
  9485              3 Purple: 4 Yellow: 5 Orange: 6 Red: 7 Asphalt: 8 Grey: 9'
  9486            format: int32
  9487            type: integer
  9488          community_id:
  9489            type: string
  9490          content_archiving:
  9491            description: Automatic archiving of old contents (Boolean)
  9492            type: boolean
  9493          content_archiving_period:
  9494            description: Archive contents older than (seconds)
  9495            format: int64
  9496            type: integer
  9497          content_languages:
  9498            items:
  9499              type: string
  9500            type: array
  9501          created_at:
  9502            format: date-time
  9503            type: string
  9504          default_category_ids:
  9505            description: Default categories
  9506            items:
  9507              type: string
  9508            type: array
  9509          default_content_language:
  9510            description: Default content language
  9511            type: string
  9512          error_message:
  9513            type: string
  9514          hidden_from_stats:
  9515            description: Hide from statistics
  9516            type: boolean
  9517          id:
  9518            type: string
  9519          intervention_messages_boost:
  9520            description: Priority boost of messages with intervention
  9521            format: int32
  9522            type: integer
  9523          name:
  9524            description: Source name
  9525            type: string
  9526          sla_expired_strategy:
  9527            description: SLA expired strategy ("max", "half" or "base")
  9528            enum:
  9529            - max
  9530            - half
  9531            - base
  9532            type: string
  9533          sla_response:
  9534            description: Response time (seconds)
  9535            format: int32
  9536            type: integer
  9537          status:
  9538            type: string
  9539          time_sheet_ids:
  9540            items:
  9541              type: string
  9542            type: array
  9543          transferred_tasks_boost:
  9544            description: Priority boost of transferred tasks
  9545            format: int32
  9546            type: integer
  9547          type:
  9548            type: string
  9549          updated_at:
  9550            format: date-time
  9551            type: string
  9552          user_thread_default_category_ids:
  9553            description: Default categories (agent messages)
  9554            items:
  9555              type: string
  9556            type: array
  9557      Tag:
  9558        example:
  9559          updated_at: 2000-01-23T04:56:07.000+00:00
  9560          name: name
  9561          created_at: 2000-01-23T04:56:07.000+00:00
  9562          id: id
  9563        properties:
  9564          created_at:
  9565            format: date-time
  9566            type: string
  9567          id:
  9568            type: string
  9569          name:
  9570            type: string
  9571          updated_at:
  9572            format: date-time
  9573            type: string
  9574        required:
  9575        - id
  9576        - name
  9577      Task:
  9578        example:
  9579          intervention_id: intervention_id
  9580          content_id: content_id
  9581          created_at: 2000-01-23T04:56:07.000+00:00
  9582          transfered_at: 2000-01-23T04:56:07.000+00:00
  9583          priority: 5
  9584          accepted_at: 2000-01-23T04:56:07.000+00:00
  9585          completed_at: 2000-01-23T04:56:07.000+00:00
  9586          thread_id: thread_id
  9587          updated_at: 2000-01-23T04:56:07.000+00:00
  9588          locked_at: 2000-01-23T04:56:07.000+00:00
  9589          expire_at: 2000-01-23T04:56:07.000+00:00
  9590          step: step
  9591          id: id
  9592          channel_id: channel_id
  9593          agent_ids:
  9594          - agent_ids
  9595          - agent_ids
  9596        properties:
  9597          accepted_at:
  9598            format: date-time
  9599            type: string
  9600          agent_ids:
  9601            items:
  9602              type: string
  9603            type: array
  9604          channel_id:
  9605            type: string
  9606          completed_at:
  9607            format: date-time
  9608            type: string
  9609          content_id:
  9610            type: string
  9611          created_at:
  9612            format: date-time
  9613            type: string
  9614          expire_at:
  9615            format: date-time
  9616            type: string
  9617          id:
  9618            type: string
  9619          intervention_id:
  9620            type: string
  9621          locked_at:
  9622            format: date-time
  9623            type: string
  9624          priority:
  9625            type: integer
  9626          step:
  9627            type: string
  9628          thread_id:
  9629            type: string
  9630          transfered_at:
  9631            format: date-time
  9632            type: string
  9633          updated_at:
  9634            format: date-time
  9635            type: string
  9636        required:
  9637        - id
  9638      Team:
  9639        example:
  9640          updated_at: 2000-01-23T04:56:07.000+00:00
  9641          user_ids:
  9642          - user_ids
  9643          - user_ids
  9644          name: name
  9645          created_at: 2000-01-23T04:56:07.000+00:00
  9646          id: id
  9647          leader_ids:
  9648          - leader_ids
  9649          - leader_ids
  9650        properties:
  9651          created_at:
  9652            format: date-time
  9653            type: string
  9654          id:
  9655            type: string
  9656          leader_ids:
  9657            items:
  9658              type: string
  9659            type: array
  9660          name:
  9661            type: string
  9662          updated_at:
  9663            format: date-time
  9664            type: string
  9665          user_ids:
  9666            items:
  9667              type: string
  9668            type: array
  9669        required:
  9670        - id
  9671      Thread:
  9672        example:
  9673          foreign_id: foreign_id
  9674          updated_at: 2000-01-23T04:56:07.000+00:00
  9675          extra_data: '{}'
  9676          interventions_count: 5
  9677          thread_category_ids:
  9678          - thread_category_ids
  9679          - thread_category_ids
  9680          closed: true
  9681          created_at: 2000-01-23T04:56:07.000+00:00
  9682          category_ids:
  9683          - category_ids
  9684          - category_ids
  9685          id: id
  9686          source_id: source_id
  9687          title: title
  9688          contents_count: 5
  9689        properties:
  9690          category_ids:
  9691            items:
  9692              type: string
  9693            type: array
  9694          closed:
  9695            type: boolean
  9696          contents_count:
  9697            type: integer
  9698          created_at:
  9699            format: date-time
  9700            type: string
  9701          extra_data:
  9702            type: object
  9703          foreign_id:
  9704            type: string
  9705          id:
  9706            type: string
  9707          interventions_count:
  9708            type: integer
  9709          source_id:
  9710            type: string
  9711          thread_category_ids:
  9712            items:
  9713              type: string
  9714            type: array
  9715          title:
  9716            type: string
  9717          updated_at:
  9718            format: date-time
  9719            type: string
  9720        required:
  9721        - id
  9722      TimeSheet:
  9723        example:
  9724          saturday_hours: saturday_hours
  9725          wednesday_hours: wednesday_hours
  9726          thursday_hours: thursday_hours
  9727          monday_hours: monday_hours
  9728          timezone: timezone
  9729          friday_hours: friday_hours
  9730          active: true
  9731          created_at: 2000-01-23T04:56:07.000+00:00
  9732          label: label
  9733          sunday_hours: sunday_hours
  9734          tuesday_hours: tuesday_hours
  9735          source_ids:
  9736          - source_ids
  9737          - source_ids
  9738          updated_at: 2000-01-23T04:56:07.000+00:00
  9739          id: id
  9740          holidays[]:
  9741          - date: date
  9742            name: name
  9743          - date: date
  9744            name: name
  9745        properties:
  9746          active:
  9747            type: boolean
  9748          created_at:
  9749            format: date-time
  9750            type: string
  9751          friday_hours:
  9752            type: string
  9753          holidays[]:
  9754            items:
  9755              $ref: '#/components/schemas/TimeSheetHoliday'
  9756            type: array
  9757          id:
  9758            type: string
  9759          label:
  9760            type: string
  9761          monday_hours:
  9762            type: string
  9763          saturday_hours:
  9764            type: string
  9765          source_ids:
  9766            items:
  9767              type: string
  9768            type: array
  9769          sunday_hours:
  9770            type: string
  9771          thursday_hours:
  9772            type: string
  9773          timezone:
  9774            type: string
  9775          tuesday_hours:
  9776            type: string
  9777          updated_at:
  9778            format: date-time
  9779            type: string
  9780          wednesday_hours:
  9781            type: string
  9782        required:
  9783        - id
  9784      TimeSheetHoliday:
  9785        example:
  9786          date: date
  9787          name: name
  9788        properties:
  9789          date:
  9790            type: string
  9791          name:
  9792            type: string
  9793      Timezone:
  9794        example:
  9795          utc_offset: ""
  9796          name: ""
  9797        properties:
  9798          name:
  9799            format: string
  9800          utc_offset:
  9801            format: integer
  9802      User:
  9803        example:
  9804          firstname: firstname
  9805          gender: gender
  9806          identity_ids:
  9807          - identity_ids
  9808          - identity_ids
  9809          team_ids:
  9810          - team_ids
  9811          - team_ids
  9812          timezone: timezone
  9813          created_at: 2000-01-23T04:56:07.000+00:00
  9814          external_id: external_id
  9815          locale: locale
  9816          enabled: true
  9817          invitation_pending: true
  9818          lastname: lastname
  9819          spoken_languages:
  9820          - spoken_languages
  9821          - spoken_languages
  9822          rc_user_id: rc_user_id
  9823          updated_at: 2000-01-23T04:56:07.000+00:00
  9824          role_id: role_id
  9825          nickname: nickname
  9826          category_ids:
  9827          - category_ids
  9828          - category_ids
  9829          id: id
  9830          email: email
  9831        properties:
  9832          category_ids:
  9833            items:
  9834              type: string
  9835            type: array
  9836          created_at:
  9837            format: date-time
  9838            type: string
  9839          email:
  9840            type: string
  9841          enabled:
  9842            type: boolean
  9843          external_id:
  9844            type: string
  9845          firstname:
  9846            type: string
  9847          gender:
  9848            type: string
  9849          id:
  9850            type: string
  9851          identity_ids:
  9852            items:
  9853              type: string
  9854            type: array
  9855          invitation_pending:
  9856            type: boolean
  9857          lastname:
  9858            type: string
  9859          locale:
  9860            type: string
  9861          nickname:
  9862            type: string
  9863          rc_user_id:
  9864            type: string
  9865          role_id:
  9866            type: string
  9867          spoken_languages:
  9868            items:
  9869              type: string
  9870            type: array
  9871          team_ids:
  9872            items:
  9873              type: string
  9874            type: array
  9875          timezone:
  9876            type: string
  9877          updated_at:
  9878            format: date-time
  9879            type: string
  9880        required:
  9881        - id
  9882      Webhook:
  9883        example:
  9884          registered_events:
  9885          - registered_events
  9886          - registered_events
  9887          staging_use: true
  9888          active: true
  9889          api_access_token:
  9890            updated_at: 2000-01-23T04:56:07.000+00:00
  9891            created_at: 2000-01-23T04:56:07.000+00:00
  9892            id: id
  9893          id: id
  9894          verify_token: verify_token
  9895          url: url
  9896        properties:
  9897          active:
  9898            type: boolean
  9899          api_access_token:
  9900            $ref: '#/components/schemas/WebhookAccessToken'
  9901          id:
  9902            type: string
  9903          registered_events:
  9904            items:
  9905              type: string
  9906            type: array
  9907          staging_use:
  9908            type: boolean
  9909          url:
  9910            type: string
  9911          verify_token:
  9912            type: string
  9913        required:
  9914        - id
  9915      WebhookAccessToken:
  9916        example:
  9917          updated_at: 2000-01-23T04:56:07.000+00:00
  9918          created_at: 2000-01-23T04:56:07.000+00:00
  9919          id: id
  9920        properties:
  9921          created_at:
  9922            format: date-time
  9923            type: string
  9924          id:
  9925            type: string
  9926          updated_at:
  9927            format: date-time
  9928            type: string
  9929        required:
  9930        - id
  9931    securitySchemes:
  9932      bearerAuth:
  9933        scheme: bearer
  9934        type: http