instruction
stringlengths
77
217
input
stringlengths
50
1.19k
output
stringlengths
104
270
Provide a HTTP example that uses the DELETE /api/v2/flows/milestones/{milestoneId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Delete a flow milestone.
```DELETE /api/v2/flows/milestones/{milestoneId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/milestones/{milestoneId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get a flow milestone. Returns a specified flow milestone
```GET /api/v2/flows/milestones/{milestoneId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/flows/milestones/{milestoneId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Updates a flow milestone
```PUT /api/v2/flows/milestones/{milestoneId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/outcomes Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get a pageable list of flow outcomes, filtered by query parameters. Multiple IDs can be specified, in which case all matching flow outcomes will be returned, and no other parameters will be evaluated.
```GET /api/v2/flows/outcomes HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/flows/outcomes Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Create a flow outcome. Asynchronous. Notification topic: v2.flows.outcomes.{flowOutcomeId}
```POST /api/v2/flows/outcomes HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/outcomes/divisionviews Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get a pageable list of basic flow outcome information objects filterable by query parameters. This returns flow outcomes consisting of name and division. If one or more IDs are specified, the search will fetch flow outcomes that match the given ID(s) and not use any additional supplied query parameters in the search.
```GET /api/v2/flows/outcomes/divisionviews HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/outcomes/{flowOutcomeId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get a flow outcome. Returns a specified flow outcome
```GET /api/v2/flows/outcomes/{flowOutcomeId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/flows/outcomes/{flowOutcomeId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Updates a flow outcome. Updates a flow outcome. Asynchronous. Notification topic: v2.flowoutcomes.{flowoutcomeId}
```PUT /api/v2/flows/outcomes/{flowOutcomeId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the DELETE /api/v2/flows/{flowId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Delete flow
```DELETE /api/v2/flows/{flowId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/{flowId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get flow
```GET /api/v2/flows/{flowId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/flows/{flowId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Update flow
```PUT /api/v2/flows/{flowId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/flows/{flowId}/history Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Generate flow history. Asynchronous. Notification topic: v2.flows.{flowId}
```POST /api/v2/flows/{flowId}/history HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/{flowId}/history/{historyId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get generated flow history
```GET /api/v2/flows/{flowId}/history/{historyId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the DELETE /api/v2/flows/{flowId}/instances/settings/loglevels Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Deletes a log level for a flow by flow id. Deletes the associated log level for a flow by flow id
```DELETE /api/v2/flows/{flowId}/instances/settings/loglevels HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/{flowId}/instances/settings/loglevels Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Retrieves the log level for a flow by flow id. Retrieves the log level for a flow by flow id.
```GET /api/v2/flows/{flowId}/instances/settings/loglevels HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/flows/{flowId}/instances/settings/loglevels Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Set the logLevel for a particular flow id. Assigns a new loglevel to a flow id
```POST /api/v2/flows/{flowId}/instances/settings/loglevels HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/flows/{flowId}/instances/settings/loglevels Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Edit the logLevel for a particular flow id. Updates the loglevel for a flow id
```PUT /api/v2/flows/{flowId}/instances/settings/loglevels HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/{flowId}/latestconfiguration Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get the latest configuration for flow
```GET /api/v2/flows/{flowId}/latestconfiguration HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/{flowId}/versions Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get flow version list
```GET /api/v2/flows/{flowId}/versions HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/flows/{flowId}/versions Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Create flow version
```POST /api/v2/flows/{flowId}/versions HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/{flowId}/versions/{versionId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get flow version
```GET /api/v2/flows/{flowId}/versions/{versionId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/{flowId}/versions/{versionId}/configuration Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Create flow version configuration
```GET /api/v2/flows/{flowId}/versions/{versionId}/configuration HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/{flowId}/versions/{versionId}/health Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get overall health scores for all intents present in the NLU domain version associated with the bot flow version.
```GET /api/v2/flows/{flowId}/versions/{versionId}/health HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/health Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get health scores and other health metrics for a specific intent. This includes the health metrics for each utterance in an intent.
```GET /api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/health HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/utterances/{utteranceId}/health Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get health metrics associated with a specific utterance of an intent.
```GET /api/v2/flows/{flowId}/versions/{versionId}/intents/{intentId}/utterances/{utteranceId}/health HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/audits/query Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Create audit query execution. Use /api/v2/audits/query/servicemapping endpoint for a list of valid values
```POST /api/v2/audits/query HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/audits/query/realtime Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: This endpoint will only retrieve 14 days worth of audits for certain services. Please use /query to get a full list and older audits. Use /api/v2/audits/query/realtime/servicemapping endpoint for a list of valid values
```POST /api/v2/audits/query/realtime HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/audits/query/realtime/related Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Often a single action results in multiple audits. The endpoint retrieves all audits created by the same action as the given audit id.
```POST /api/v2/audits/query/realtime/related HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/audits/query/realtime/servicemapping Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get service mapping information used in realtime audits.
```GET /api/v2/audits/query/realtime/servicemapping HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/audits/query/servicemapping Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get service mapping information used in audits.
```GET /api/v2/audits/query/servicemapping HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/audits/query/{transactionId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get status of audit query execution
```GET /api/v2/audits/query/{transactionId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/audits/query/{transactionId}/results Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get results of audit query
```GET /api/v2/audits/query/{transactionId}/results HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/divisions Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Retrieve a list of all divisions defined for the organization. Request specific divisions by id using a query param "id", e.g. ?id=5f777167-63be-4c24-ad41-374155d9e28b&id=72e9fb25-c484-488d-9312-7acba82435b3
```GET /api/v2/authorization/divisions HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/authorization/divisions Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Create a division.
```POST /api/v2/authorization/divisions HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/divisions/home Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Retrieve the home division for the organization. Will not include object counts.
```GET /api/v2/authorization/divisions/home HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/divisions/limit Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Returns the maximum allowed number of divisions.
```GET /api/v2/authorization/divisions/limit HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the DELETE /api/v2/authorization/divisions/{divisionId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Delete a division.
```DELETE /api/v2/authorization/divisions/{divisionId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/divisions/{divisionId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Returns an authorization division.
```GET /api/v2/authorization/divisions/{divisionId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/authorization/divisions/{divisionId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Update a division.
```PUT /api/v2/authorization/divisions/{divisionId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/divisions/{divisionId}/grants Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Gets all grants for a given division. Returns all grants assigned to a given division. Maximum page size is 500.
```GET /api/v2/authorization/divisions/{divisionId}/grants HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/authorization/divisions/{divisionId}/objects/{objectType} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Assign a list of objects to a division. Set the division of a specified list of objects. The objects must all be of the same type, one of: CAMPAIGN, MANAGEMENTUNIT, FLOW, QUEUE, DATATABLES or USER. The body of the request is a list of object IDs, which are expected to be GUIDs, e.g. ["206ce31f-61ec-40ed-a8b1-be6f06303998","250a754e-f5e4-4f51-800f-a92f09d3bf8c"]
```POST /api/v2/authorization/divisions/{divisionId}/objects/{objectType} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/authorization/divisions/{divisionId}/restore Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Recreate a previously deleted division.
```POST /api/v2/authorization/divisions/{divisionId}/restore HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/divisionspermitted/paged/me Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Returns which divisions the current user has the given permission in.
```GET /api/v2/authorization/divisionspermitted/paged/me HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/permissions Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get all permissions. Retrieve a list of all permission defined in the system.
```GET /api/v2/authorization/permissions HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/products Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get the list of enabled products. Gets the list of enabled products. Some example product names are: collaborateFree, collaboratePro, communicate, and engage.
```GET /api/v2/authorization/products HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/roles Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Retrieve a list of all roles defined for the organization
```GET /api/v2/authorization/roles HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/authorization/roles Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Create an organization role.
```POST /api/v2/authorization/roles HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/authorization/roles/default Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Restores all default roles. This endpoint serves several purposes. 1. It provides the org with default roles. This is important for default roles that will be added after go-live (they can retroactively add the new default-role). Note: When not using a query param of force=true, it only adds the default roles not configured for the org; it does not overwrite roles. 2. Using the query param force=true, you can restore all default roles. Note: This does not have an effect on custom roles.
```POST /api/v2/authorization/roles/default HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/authorization/roles/default Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Restore specified default roles
```PUT /api/v2/authorization/roles/default HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/roles/settings Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get authorization role settings
```GET /api/v2/authorization/roles/settings HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/authorization/roles/settings Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Change authorization role settings. Change role settings
```PUT /api/v2/authorization/roles/settings HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get an org role to default role comparison. Compares any organization role to a default role id and show differences
```GET /api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get an unsaved org role to default role comparison. Allows users to compare their existing roles in an unsaved state to its default role
```POST /api/v2/authorization/roles/{leftRoleId}/comparedefault/{rightRoleId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the DELETE /api/v2/authorization/roles/{roleId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Delete an organization role.
```DELETE /api/v2/authorization/roles/{roleId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/roles/{roleId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get a single organization role. Get the organization role specified by its ID.
```GET /api/v2/authorization/roles/{roleId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PATCH /api/v2/authorization/roles/{roleId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Patch Organization Role for needsUpdate Field. Patch Organization Role for needsUpdate Field
```PATCH /api/v2/authorization/roles/{roleId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/authorization/roles/{roleId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Bulk-grant subjects and divisions with an organization role.
```POST /api/v2/authorization/roles/{roleId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/authorization/roles/{roleId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Update an organization role. Update
```PUT /api/v2/authorization/roles/{roleId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/roles/{roleId}/subjectgrants Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get the subjects' granted divisions in the specified role. Includes the divisions for which the subject has a grant.
```GET /api/v2/authorization/roles/{roleId}/subjectgrants HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/roles/{roleId}/users Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get a list of the users in a specified role. Get an array of the UUIDs of the users in the specified role.
```GET /api/v2/authorization/roles/{roleId}/users HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/authorization/roles/{roleId}/users/add Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Sets the users for the role
```PUT /api/v2/authorization/roles/{roleId}/users/add HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/authorization/roles/{roleId}/users/remove Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Removes the users from the role
```PUT /api/v2/authorization/roles/{roleId}/users/remove HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/settings Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get authorization settings
```GET /api/v2/authorization/settings HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PATCH /api/v2/authorization/settings Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Change authorization settings. Change authorization settings
```PATCH /api/v2/authorization/settings HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/subjects/me Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Returns a listing of roles and permissions for the currently authenticated user.
```GET /api/v2/authorization/subjects/me HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/subjects/rolecounts Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get the count of roles granted to a list of subjects
```GET /api/v2/authorization/subjects/rolecounts HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/authorization/subjects/{subjectId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Returns a listing of roles and permissions for a user.
```GET /api/v2/authorization/subjects/{subjectId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/authorization/subjects/{subjectId}/bulkadd Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Bulk-grant roles and divisions to a subject.
```POST /api/v2/authorization/subjects/{subjectId}/bulkadd HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/authorization/subjects/{subjectId}/bulkremove Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Bulk-remove grants from a subject.
```POST /api/v2/authorization/subjects/{subjectId}/bulkremove HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/authorization/subjects/{subjectId}/bulkreplace Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Replace subject's roles and divisions with the exact list supplied in the request. This operation will not remove grants that are inherited from group membership. It will only set the grants directly applied to the subject.
```POST /api/v2/authorization/subjects/{subjectId}/bulkreplace HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the DELETE /api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Delete a grant of a role in a division
```DELETE /api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Make a grant of a role in a division
```POST /api/v2/authorization/subjects/{subjectId}/divisions/{divisionId}/roles/{roleId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/users/{subjectId}/roles Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Returns a listing of roles and permissions for a user.
```GET /api/v2/users/{subjectId}/roles HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/users/{subjectId}/roles Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Sets the user's roles
```PUT /api/v2/users/{subjectId}/roles HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/billing/reports/billableusage Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get a report of the billable license usages. Report is of the billable usages (e.g. licenses and devices utilized) for a given period. If response's status is InProgress, wait a few seconds, then try the same request again.
```GET /api/v2/billing/reports/billableusage HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/billing/trusteebillingoverview/{trustorOrgId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get the billing overview for an organization that is managed by a partner. Tax Disclaimer: Prices returned by this API do not include applicable taxes. It is the responsibility of the customer to pay all taxes that are appropriate in their jurisdiction. See the PureCloud API Documentation in the Developer Center for more information about this API: https://developer.mypurecloud.com/api/rest/v2/
```GET /api/v2/billing/trusteebillingoverview/{trustorOrgId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/carrierservices/integrations/emergencylocations/me Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get location for the logged in user
```GET /api/v2/carrierservices/integrations/emergencylocations/me HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/carrierservices/integrations/emergencylocations/me Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Set current location for the logged in user
```POST /api/v2/carrierservices/integrations/emergencylocations/me HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/chats/messages/{messageId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get a message
```GET /api/v2/chats/messages/{messageId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/chats/messages/{messageId}/reactions Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Update reactions to a message
```PUT /api/v2/chats/messages/{messageId}/reactions HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/chats/rooms Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Create an adhoc room
```POST /api/v2/chats/rooms HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/chats/rooms/{roomJid} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get a room
```GET /api/v2/chats/rooms/{roomJid} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PATCH /api/v2/chats/rooms/{roomJid} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Set properties for a room
```PATCH /api/v2/chats/rooms/{roomJid} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/chats/rooms/{roomJid}/messages Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get a room's message history
```GET /api/v2/chats/rooms/{roomJid}/messages HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/chats/rooms/{roomJid}/messages Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Send a message to a room
```POST /api/v2/chats/rooms/{roomJid}/messages HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/chats/rooms/{roomJid}/messages/pins Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Add pinned messages for a room, up to a maximum of 5 pinned messages
```POST /api/v2/chats/rooms/{roomJid}/messages/pins HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the DELETE /api/v2/chats/rooms/{roomJid}/messages/pins/{pinnedMessageId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Remove a pinned message from a room
```DELETE /api/v2/chats/rooms/{roomJid}/messages/pins/{pinnedMessageId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/chats/rooms/{roomJid}/messages/{messageIds} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get messages by id(s) from a room
```GET /api/v2/chats/rooms/{roomJid}/messages/{messageIds} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the DELETE /api/v2/chats/rooms/{roomJid}/messages/{messageId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Delete a message in a room
```DELETE /api/v2/chats/rooms/{roomJid}/messages/{messageId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PATCH /api/v2/chats/rooms/{roomJid}/messages/{messageId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Edit a message in a room
```PATCH /api/v2/chats/rooms/{roomJid}/messages/{messageId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/chats/rooms/{roomJid}/participants Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get room participants in a room
```GET /api/v2/chats/rooms/{roomJid}/participants HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/chats/rooms/{roomJid}/participants/{participantJid} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get a room participant
```GET /api/v2/chats/rooms/{roomJid}/participants/{participantJid} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the DELETE /api/v2/chats/rooms/{roomJid}/participants/{userId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Remove a user from a room.
```DELETE /api/v2/chats/rooms/{roomJid}/participants/{userId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/chats/rooms/{roomJid}/participants/{userId} Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Join a room
```POST /api/v2/chats/rooms/{roomJid}/participants/{userId} HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/chats/settings Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get Chat Settings.
```GET /api/v2/chats/settings HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PATCH /api/v2/chats/settings Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Patch Chat Settings.
```PATCH /api/v2/chats/settings HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the PUT /api/v2/chats/settings Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Update Chat Settings.
```PUT /api/v2/chats/settings HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/chats/threads/{threadId}/messages Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get history by thread
```GET /api/v2/chats/threads/{threadId}/messages HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the GET /api/v2/chats/users/{userId}/messages Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Get 1on1 History between a user
```GET /api/v2/chats/users/{userId}/messages HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```
Provide a HTTP example that uses the POST /api/v2/chats/users/{userId}/messages Genesys Cloud HTTP SDK.
Genesys describes this as an API used to: Send a message to a user
```POST /api/v2/chats/users/{userId}/messages HTTP/1.1 Host: api.mypurecloud.com Authorization: Bearer ******************* Content-Type: application/json```