Skip to main content

Auvious Auth Server API v1.8.8-beta.0

Auvious Auth Server provides the core security related services.

info

You are viewing REST API documentation. This documentation is auto-generated from a swagger specification which itself is generated from annotations in the source code of the project. It is possible that this documentation includes bugs and that code samples are incomplete or wrong.

Authentication

Facades Service

Create room,ticket and return ticket and agent urls

POST http://auvious.video/security/facades/room HTTP/1.1
Host: auvious.video
Content-Type: application/json
Accept: application/json

Create a new room, ticket and return the urls. Allowed from trusted clients that have authenticated using client credentials. Ticket url expires by default after 4 hours.

Request body

{
"organizationId": "string",
"applicationId": "string",
"urlBase": "string",
"customerId": "string",
"interactionId": "string",
"cdestination": "mobile-office, interaction-widget, standalone, embedded, premise, callback",
"ticketExpirationSeconds": 0,
"ticketLength": 0
}

Parameters

ParameterInTypeRequiredDescription
bodybodyCreateRoomWebCommandtruenone

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKCreateRoomResult
Examples

200 Response

{
"agentUrl": "string",
"ticketUrl": "string",
"recordingUrl": "string"
}
caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples

curl -X POST http://auvious.video/security/facades/room \
-H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer {access-token}'

Create a genesys callback (schedule)

POST http://auvious.video/security/facades/callback HTTP/1.1
Host: auvious.video
Content-Type: application/json
Accept: */*
X-OtpVerificationId: string
X-OtpCode: string
X-ApplicationId: string
X-UrlBase: string
X-Ticket-Expiration-Seconds: 0

Create a new genesys callback. Allowed with a valid otp code,verification id, or with client credentials. For request body schema check https://developer.genesys.cloud/api/rest/v2/conversations/#postConversationsCallbacks, with queueName added for convenience.

Request body

{
"scriptId": "string",
"queueId": "string",
"queueName": "string",
"routingData": {
"queueId": "string",
"queueName": "string",
"languageId": "string",
"priority": 0,
"skillIds": [
"string"
],
"preferredAgentIds": [
"string"
]
},
"callbackUserName": "string",
"callbackNumbers": [
"string"
],
"callbackScheduledTime": "string",
"countryCode": "string",
"validateCallbackNumbers": true,
"data": {
"property1": "string",
"property2": "string"
}
}

Parameters

ParameterInTypeRequiredDescription
X-OtpVerificationIdheaderstringfalseonly for otp authentication
X-OtpCodeheaderstringfalseonly for otp authentication
X-ApplicationIdheaderstringtruemandatory, can be found at application settings page
X-UrlBaseheaderstringfalsemandatory when using client credentials, e.g. https://auvious.video
X-Ticket-Expiration-Secondsheaderinteger(int32)falseexpiration seconds for ticket url (since the scheduled time). 4 hours (14400) is the default
bodybodyCreateGenesysCallbackCommandtruenone

Responses

Overview
StatusMeaningDescriptionSchema
200OKOKCallbackResult
Examples

200 Response

caution

To perform this operation, you must be authenticated by means of one of the following methods: BearerToken, OAuth2ClientCredentials

Code samples

curl -X POST http://auvious.video/security/facades/callback \
-H 'Content-Type: application/json' \ -H 'Accept: */*' \ -H 'X-OtpVerificationId: string' \ -H 'X-OtpCode: string' \ -H 'X-ApplicationId: string' \ -H 'X-UrlBase: string' \ -H 'X-Ticket-Expiration-Seconds: 0' \ -H 'Authorization: Bearer {access-token}'

Schemas

CreateRoomWebCommand

{
"organizationId": "string",
"applicationId": "string",
"urlBase": "string",
"customerId": "string",
"interactionId": "string",
"cdestination": "mobile-office, interaction-widget, standalone, embedded, premise, callback",
"ticketExpirationSeconds": 0,
"ticketLength": 0
}

Properties

NameTypeRequiredRestrictionsDescription
organizationIdstringfalsenoneonly for access from internal service
applicationIdstringtruenonewhich application to use
urlBasestringtruenonewhich url base to use, e.g. https://auvious.video
customerIdstringfalsenonecustomer id, e.g. interaction or conversation id
interactionIdstringfalsenoneconversation/interaction id
cdestinationstringfalsenone${swagger.api.facades.commands.create-room.notes}
ticketExpirationSecondsinteger(int32)falsenoneticket url expiration in seconds, 4 hours if not defined.
ticketLengthinteger(int32)falsenoneticket length override
Enumerated Values
PropertyValue
cdestinationmobile-office, interaction-widget, standalone, embedded, premise, callback

CreateRoomResult

{
"agentUrl": "string",
"ticketUrl": "string",
"recordingUrl": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
agentUrlstringfalsenonenone
ticketUrlstringfalsenonenone
recordingUrlstringfalsenonenone

CreateGenesysCallbackCommand

{
"scriptId": "string",
"queueId": "string",
"queueName": "string",
"routingData": {
"queueId": "string",
"queueName": "string",
"languageId": "string",
"priority": 0,
"skillIds": [
"string"
],
"preferredAgentIds": [
"string"
]
},
"callbackUserName": "string",
"callbackNumbers": [
"string"
],
"callbackScheduledTime": "string",
"countryCode": "string",
"validateCallbackNumbers": true,
"data": {
"property1": "string",
"property2": "string"
}
}

check https://developer.genesys.cloud/api/rest/v2/conversations/#postConversationsCallbacks

Properties

NameTypeRequiredRestrictionsDescription
scriptIdstringfalsenonenone
queueIdstringfalsenoneId of queue where the callback will take place. You can omit this and use queueName if you find it difficult to locate the queue id.
queueNamestringfalsenoneCan be used instead of queueId, which is more convenient
routingDataRoutingDatafalsenonenone
callbackUserNamestringtruenonename of customer, which will be displayed on the agent workspace
callbackNumbers[string]truenonephone number(s) of customer
callbackScheduledTimestringfalsenoneThe scheduled date-time for the callback as an ISO-8601 string yyyy-MM-ddTHH:mm:ss.SSSZ
countryCodestringfalsenonenone
validateCallbackNumbersbooleanfalsenonenone
dataobjectfalsenonenone
» additionalPropertiesstringfalsenonenone

RoutingData

{
"queueId": "string",
"queueName": "string",
"languageId": "string",
"priority": 0,
"skillIds": [
"string"
],
"preferredAgentIds": [
"string"
]
}

Properties

NameTypeRequiredRestrictionsDescription
queueIdstringfalsenonenone
queueNamestringfalsenonenone
languageIdstringfalsenonenone
priorityinteger(int32)falsenonenone
skillIds[string]falsenonenone
preferredAgentIds[string]falsenonenone

CallbackIndentifier

{
"type": "string",
"id": "string"
}

The list of communication identifiers for the callback participants.

Properties

NameTypeRequiredRestrictionsDescription
typestringfalsenoneThe type of the associated callback participant.Valid values: ACD, EXTERNAL.
idstringfalsenoneThe identifier of the callback.

CallbackResult

{
"conferenceId": "string",
"ticketId": "string",
"agentUrl": "string",
"ticketUrl": "string",
"genesys": {
"conversation": {
"id": "string",
"name": "string",
"selfUri": "string"
},
"callbackIdentifiers": [
{
"type": "string",
"id": "string"
}
]
}
}

Properties

NameTypeRequiredRestrictionsDescription
conferenceIdstringfalsenonethe id of the conference created
ticketIdstringfalsenonea ticket id which can be used to join the conference
agentUrlstringfalsenonea url for the agent to join
ticketUrlstringfalsenonea url for the customer to join
genesysGenesysCreateCallbackResponsefalsenoneGenesys create callback response

Conversation

{
"id": "string",
"name": "string",
"selfUri": "string"
}

The conversation associated with the callback

Properties

NameTypeRequiredRestrictionsDescription
idstringfalsenonenone
namestringfalsenonenone
selfUristringfalsenonenone

GenesysCreateCallbackResponse

{
"conversation": {
"id": "string",
"name": "string",
"selfUri": "string"
},
"callbackIdentifiers": [
{
"type": "string",
"id": "string"
}
]
}

Genesys create callback response

Properties

NameTypeRequiredRestrictionsDescription
conversationConversationfalsenoneThe conversation associated with the callback
callbackIdentifiers[CallbackIndentifier]falsenoneThe list of communication identifiers for the callback participants.