DocumentationBlogSupport
Log inSign up
Log inSign up
BlogSupport
Build
Getting StartedPlatform Introduction
Embedded Apps
OverviewDeveloper GuideSubmission Checklist for Embedded Apps
Design Guidelines
MeetingsMessagingDevices
API Reference
BotsButtons and CardsIntegrationsLogin with WebexWidgetsGuest IssuerWebex ConnectInstant Connect Meeting LinksDeveloper SandboxSubmit Your AppSupport PolicyFAQs
APIs
XML API DeprecationGetting StartedREST API BasicsComplianceWebhooksWebex APIs
Admin
OverviewAdmin APIsAuthentication
Guides
Hybrid ServicesWebhooks
Real-time File DLP Basics
Reference
Admin Audit EventsAuthorizationsEventsGroupsHistorical AnalyticsHybrid ClustersHybrid ConnectorsLicensesLocationsMeeting QualitiesOrganizationsPeopleRecording ReportRecordingsReport TemplatesReportsResource Group MembershipsResource GroupsRolesSession TypesSpace ClassificationsTracking CodesWebex Calling Organization SettingsWebex Calling Person SettingsWebex Calling Workspace SettingsWholesale Billing ReportsWorkspace LocationsWorkspace MetricsWorkspaces
Calling
Overview
Guides
Integrations and AuthorizationWebex for BroadWorksWebex for WholesaleWholesale and Broadworks Common Guide
Reference
BroadWorks Billing ReportsBroadWorks Device ProvisioningBroadWorks EnterprisesBroadWorks SubscribersCall ControlsLocationsPeopleRecording ReportVideo MeshWebex Calling Detailed Call HistoryWebex Calling Organization SettingsWebex Calling Person SettingsWebex Calling Voice MessagingWebex Calling Workspace SettingsWholesale Billing ReportsWholesale CustomersWholesale Subscribers
Contact Center
Overview
Devices
Overview
Guides
DevicesWorkspace Integrations Guide
Reference
Device ConfigurationsDevicesWorkspace LocationsWorkspace MetricsWorkspace PersonalizationWorkspacesxAPI
Meetings
Overview
Guides
Integrations and AuthorizationWebhooks
Webinar GuideMeeting Resource Guide
Reference
Meeting ChatsMeeting Closed CaptionsMeeting InviteesMeeting MessagesMeeting ParticipantsMeeting PollsMeeting PreferencesMeeting Q and AMeeting QualitiesMeeting TranscriptsMeetingsMeetings Summary ReportPeopleRecording ReportRecordingsSession TypesTracking CodesVideo MeshWebhooks
GETList Webhooks
POSTCreate a Webhook
GETGet Webhook Details
PUTUpdate a Webhook
DELETEDelete a Webhook
Messaging
Overview
Guides
BotsIntegrations and AuthorizationWebhooks
Buttons and Cards
Reference
Attachment ActionsEventsMembershipsMessagesPeopleRoom TabsRoomsTeam MembershipsTeamsTracking CodesWebhooks
GETList Webhooks
POSTCreate a Webhook
GETGet Webhook Details
PUTUpdate a Webhook
DELETEDelete a Webhook
Webex Assistant Skills
Guides
Skills SDK GuideSkills Developer PortalSkills Reference GuideSkills UX Guide
Overview
FedRAMP
Overview
Guides
Create a BotCreate an IntegrationNotes on API Support
Full API Reference
Admin Audit EventsAttachment ActionsAuthorizationsBroadWorks Billing ReportsBroadWorks Device ProvisioningBroadWorks EnterprisesBroadWorks SubscribersCall ControlsDevice ConfigurationsDevicesEventsGroupsHistorical AnalyticsHybrid ClustersHybrid ConnectorsLicensesLocationsMeeting ChatsMeeting Closed CaptionsMeeting InviteesMeeting MessagesMeeting ParticipantsMeeting PollsMeeting PreferencesMeeting Q and AMeeting QualitiesMeeting TranscriptsMeetingsMeetings Summary ReportMembershipsMessagesOrganizationsPeopleRecording ReportRecordingsReport TemplatesReportsResource Group MembershipsResource GroupsRolesRoom TabsRoomsSession TypesSiteSpace ClassificationsTeam MembershipsTeamsTracking CodesVideo MeshWebex Calling Detailed Call HistoryWebex Calling Organization SettingsWebex Calling Person SettingsWebex Calling Voice MessagingWebex Calling Workspace SettingsWebhooks
GETList Webhooks
POSTCreate a Webhook
GETGet Webhook Details
PUTUpdate a Webhook
DELETEDelete a Webhook
Wholesale Billing ReportsWholesale CustomersWholesale SubscribersWorkspace LocationsWorkspace MetricsWorkspace PersonalizationWorkspacesxAPI
API Changelog
SDKs
iOSAndroidBrowserNode.jsJava
Developer CommunityCertifications

Create a Webhook

Creates a webhook.

To learn more about how to create and use webhooks, see The Webhooks Guide.

POST/v1/webhooks
Body Parameters
name
stringrequired

A user-friendly name for the webhook.

targetUrl
stringrequired

The URL that receives POST requests for each event.

resource
enumrequired

The resource type for the webhook. Creating a webhook requires 'read' scope on the resource the webhook is for.

attachmentActions
string

The Attachment Actions resource.

memberships
string

The Memberships resource.

messages
string

The Messages resource.

rooms
string

The Rooms resource.

meetings
string

The Meetings resource.

recordings
string

The Recordings resource.

meetingParticipants
string

The Meeting Participants resource.

meetingTranscripts
string

The Meeting Transcripts resource.

event
enumrequired

The event type for the webhook.

created
string

An object is created.

updated
string

An object is updated.

deleted
string

An object is deleted.

started
string

A meeting is started.

ended
string

A meeting is ended.

joined
string

A participant joined.

left
string

A participant left.

filter
string

The filter that defines the webhook scope. See Filtering Webhooks for more information.

secret
string

The secret used to generate payload signature.

ownedBy
string

Specified when creating an org/admin level webhook. Supported for meetings, recordings, meetingParticipants, and meetingTranscripts resources.

Response Properties
id
string

A unique identifier for the webhook.

name
string

A user-friendly name for the webhook.

targetUrl
string

The URL that receives POST requests for each event.

resource
enum

The resource type for the webhook. Creating a webhook requires 'read' scope on the resource the webhook is for.

attachmentActions
string

The Attachment Actions resource.

memberships
string

The Memberships resource.

messages
string

The Messages resource.

rooms
string

The Rooms resource.

meetings
string

The Meetings resource.

recordings
string

The Recordings resource.

meetingParticipants
string

The Meeting Participants resource.

meetingTranscripts
string

The Meeting Transcripts resource.

event
enum

The event type for the webhook.

created
string

An object was created.

updated
string

An object was updated.

deleted
string

An object was deleted.

started
string

A meeting was started.

ended
string

A meeting was ended.

joined
string

A participant joined.

left
string

A participant left.

filter
string

The filter that defines the webhook scope.

secret
string

The secret used to generate payload signature.

status
enum

The status of the webhook. Use active to reactivate a disabled webhook.

active
string

The webhook is active.

inactive
string

The webhook is inactive.

created
string

The date and time the webhook was created.

ownedBy
string

Specified when creating an org/admin level webhook.

Response Codes

The list below describes the common success and error responses you should expect from the API.

CodeStatusDescription
200OKSuccessful request with body content.
201CreatedThe request has succeeded and has led to the creation of a resource.
202AcceptedThe request has been accepted for processing.
204No ContentSuccessful request without body content.
400Bad RequestThe request was invalid or cannot be otherwise served. An accompanying error message will explain further.
401UnauthorizedAuthentication credentials were missing or incorrect.
403ForbiddenThe request is understood, but it has been refused or access is not allowed.
404Not FoundThe URI requested is invalid or the resource requested, such as a user, does not exist. Also returned when the requested format is not supported by the requested method.
405Method Not AllowedThe request was made to a resource using an HTTP request method that is not supported.
409ConflictThe request could not be processed because it conflicts with some established rule of the system. For example, a person may not be added to a room more than once.
410GoneThe requested resource is no longer available.
415Unsupported Media TypeThe request was made to a resource without specifying a media type or used a media type that is not supported.
423LockedThe requested resource is temporarily unavailable. A Retry-After header may be present that specifies how many seconds you need to wait before attempting the request again.
428Precondition RequiredFile(s) cannot be scanned for malware and need to be force downloaded.
429Too Many RequestsToo many requests have been sent in a given amount of time and the request has been rate limited. A Retry-After header should be present that specifies how many seconds you need to wait before a successful request can be made.
500Internal Server ErrorSomething went wrong on the server. If the issue persists, feel free to contact the Webex Developer Support team.
502Bad GatewayThe server received an invalid response from an upstream server while processing the request. Try again later.
503Service UnavailableServer is overloaded with requests. Try again later.
504Gateway TimeoutAn upstream server failed to respond on time. If your query uses max parameter, please try to reduce it.
  • Try it
  • Example
POST
/v1/webhooks
Log in to try the API.
Header
Body
  • A user-friendly name for the webhook.
  • The URL that receives POST requests for each event.
  • The resource type for the webhook. Creating a webhook requires 'read' scope on the resource the webhook is for.
  • The event type for the webhook.
  • The filter that defines the webhook scope. See [Filtering Webhooks](/docs/api/guides/webhooks#filtering-webhooks) for more information.
  • The secret used to generate payload signature.
  • Specified when creating an org/admin level webhook. Supported for `meetings`, `recordings`, `meetingParticipants`, and `meetingTranscripts` resources.
  • Request
  • Response
{
  "name": "My Awesome Webhook",
  "targetUrl": "https://example.com/mywebhook",
  "resource": "messages",
  "event": "created",
  "filter": "roomId=Y2lzY29zcGFyazovL3VzL1JPT00vYmJjZWIxYWQtNDNmMS0zYjU4LTkxNDctZjE0YmIwYzRkMTU0",
  "secret": "86dacc007724d8ea666f88fc77d918dad9537a15",
  "ownedBy": "org"
}
200 / OK
{
  "id": "Y2lzY29zcGFyazovL3VzL1dFQkhPT0svOTZhYmMyYWEtM2RjYy0xMWU1LWExNTItZmUzNDgxOWNkYzlh",
  "name": "My Awesome Webhook",
  "targetUrl": "https://example.com/mywebhook",
  "resource": "messages",
  "event": "created",
  "filter": "roomId=Y2lzY29zcGFyazovL3VzL1JPT00vYmJjZWIxYWQtNDNmMS0zYjU4LTkxNDctZjE0YmIwYzRkMTU0",
  "secret": "86dacc007724d8ea666f88fc77d918dad9537a15",
  "status": "active",
  "created": "2015-10-18T14:26:16+00:00",
  "ownedBy": "org"
}

Connect

Support

Developer Events

Contact Sales

Handy Links

Webex Ambassadors

Webex App Hub

Resources

Open Source Bot Starter Kits

Download Webex

DevNet Learning Labs

Terms of Service

Privacy Policy

Cookie Policy

Trademarks

© 2023 Cisco and/or its affiliates. All rights reserved.