Webex (GraphQL)

Related queries and mutations in Notifications. Each has its own section.

Queries

getWebexIntegrations (query)

getWebexIntegrations is a query in the Monte Carlo GraphQL API, in Notifications. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Get the configured Webex integrations

Arguments

ArgumentTypeDescription
integrationIdUUIDFilter by integration ID

Returns

[WebexIntegrationOutput]

Example

query GetWebexIntegrations {
  getWebexIntegrations {
    integrationId
    integrationName
    createdTime
    updatedTime
  }
}

Related types

UUID, WebexIntegrationOutput

testWebexCredentials (query)

testWebexCredentials is a query in the Monte Carlo GraphQL API, in Notifications. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Test the Webex connection credentials

Arguments

ArgumentTypeDescription
botTokenString!The Webex bot token for basic authentication

Returns

WebexTestCredentialsOutput

Example

query TestWebexCredentials($botToken: String!) {
  testWebexCredentials(botToken: $botToken) {
    validCredentials
  }
}

Types used only by testWebexCredentials

WebexTestCredentialsOutput

Object type. A Webex test credentials result

FieldTypeDescription
validCredentialsBoolean!Returns if the credentials are valid

Mutations

createWebexIntegration (mutation)

createWebexIntegration is a mutation in the Monte Carlo GraphQL API, in Notifications. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Create a Webex integration

Arguments

ArgumentTypeDescription
botTokenStringThe bot token for authentication; if not provided, the previous value will be used
integrationNameString!A short name to identify the integration

Returns

CreateWebexIntegration

Example

mutation CreateWebexIntegration($integrationName: String!) {
  createWebexIntegration(integrationName: $integrationName) {
    webexIntegration {
      integrationId
      integrationName
      createdTime
      updatedTime
    }
  }
}

Types used only by createWebexIntegration

CreateWebexIntegration

Object type. Create a Webex integration

FieldTypeDescription
webexIntegrationWebexIntegrationOutputThe integration that was created

Related types

WebexIntegrationOutput

deleteWebexIntegration (mutation)

deleteWebexIntegration is a mutation in the Monte Carlo GraphQL API, in Notifications. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Delete a Webex integration

Arguments

ArgumentTypeDescription
integrationIdUUID!The integration ID

Returns

DeleteWebexIntegration

Example

mutation DeleteWebexIntegration($integrationId: UUID!) {
  deleteWebexIntegration(integrationId: $integrationId) {
    deleted
  }
}

Types used only by deleteWebexIntegration

DeleteWebexIntegration

Object type. Delete a Webex integration

FieldTypeDescription
deletedBoolean

Related types

UUID

updateWebexIntegration (mutation)

updateWebexIntegration is a mutation in the Monte Carlo GraphQL API, in Notifications. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.

Update a Webex integration

Arguments

ArgumentTypeDescription
botTokenStringThe bot token for authentication; if not provided, the previous value will be used
integrationIdUUID!The integration ID
integrationNameString!A short name to identify the integration

Returns

UpdateWebexIntegration

Example

mutation UpdateWebexIntegration($integrationId: UUID!, $integrationName: String!) {
  updateWebexIntegration(integrationId: $integrationId, integrationName: $integrationName) {
    webexIntegration {
      integrationId
      integrationName
      createdTime
      updatedTime
    }
  }
}

Types used only by updateWebexIntegration

UpdateWebexIntegration

Object type. Update a Webex integration

FieldTypeDescription
webexIntegrationWebexIntegrationOutputThe integration that was updated

Related types

UUID, WebexIntegrationOutput

Source: The GraphQL API reference

This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.