Swoogo Webhooks API
Configure HTTP callbacks that fire when resources are created, updated, or deleted. Webhooks support JSON and form-encoded payloads, custom headers, and retry logic.
Configure HTTP callbacks that fire when resources are created, updated, or deleted. Webhooks support JSON and form-encoded payloads, custom headers, and retry logic.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/swoogo:swoogo-webhooks-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Swoogo Webhooks API
version: 1.0.0
contact:
name: Swoogo Developer Support
url: https://developer.swoogo.com
email: dev@swoogo.com
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://www.swoogo.com/terms
description: 'Operations tagged Webhooks across 2 of this provider''s published API definitions: swoogo-openapi.yml, swoogo-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.swoogo.com/api/v1
description: Production API server
- url: https://local.swoogo.com/api/v1
description: Local API server
tags:
- name: Webhooks
description: Configure HTTP callbacks that fire when resources are created, updated, or deleted. Webhooks support JSON and form-encoded payloads, custom headers, and retry logic.
paths:
/webhooks:
get:
security:
- bearerAuth: []
tags:
- Webhooks
summary: Get All Webhooks
description: 'Retrieves all webhook configurations. Webhooks send HTTP POST callbacks to your specified URL when events occur in Swoogo (e.g., new registration, session check-in, payment received). Each webhook defines the target URL, trigger event type, and which webhook group it belongs to.
Available Fields
These are the standard fields available for configuring a webhook:
Name
Type
Description
id
integer
The ID of the webhook.
name
string
The name of the webhook.
url
string
The URL that data should be sent to.
trigger_object
string
The object that will cause the webhook to run.
trigger_on_insert
boolean
Trigger when the object is inserted.
trigger_on_update
boolean
Trigger when the object is updated.
trigger_on_delete
boolean
Trigger when the object is deleted.
fields
array
Array of fields which, when changed, will cause the webhook to run.
public_user
boolean
Run the webhook for a public user.
admin_user
boolean
Run the webhook for an admin user.
api_call
boolean
Run the webhook on an API call.
any_event
boolean
Run the webhook for any events (only applicable for some objects such as registrants).
event_ids
array
Array of event IDs to run the webhook for (if any_event is false).
all_fields
boolean
Should this run for changes to all fields?
Extra Fields
Additional information that can be returned by specifying the desired fields in the expand parameter:
Name
Type
Description
group
object
Details about the Webhook Group associated with the item.'
operationId: getAllWebhooks
parameters:
- name: fields
in: query
schema:
type: string
example: id,name,url,content_type,post_field_data,use_default_fields,custom_fields,notes,trigger_object,trigger_on_insert,trigger_on_update,trigger_on_delete,all_fields,fields,public_user,admin_user,api_call,any_event,event_ids,created_at,created_by,updated_at,updated_by
description: string - optional - Comma separated list of fields you want to return
- name: expand
in: query
schema:
type: string
example: ''
description: string - optional - Comma separated list of objects you want to return
- name: search
in: query
schema:
type: string
example: id>123
description: string - optional - Filter conditions to narrow the results. Valid operators are =, !=, >=, <=, >, <, *contains*, *beginswith*, *endswith*
- name: page
in: query
schema:
type: string
example: '1'
description: integer - optional - The page of results you want to view
- name: per-page
in: query
schema:
type: string
example: '5'
description: integer - optional - The number of results per page (to a max of 200)
- name: sort
in: query
schema:
type: string
description: string - optional - Sort the results (add - in front for opposite sort direction, e.g. "-id")
- name: ids
in: query
schema:
type: string
description: Comma-separated list of IDs to retrieve. When provided, only records matching these IDs are returned. All values must be positive integers. Maximum 100 IDs per request.
example: 1,2,3
responses:
'200':
description: Collection
headers:
x-rate-limit-limit:
$ref: '#/components/headers/RateLimitLimit'
x-rate-limit-remaining:
$ref: '#/components/headers/RateLimitRemaining'
x-rate-limit-reset:
$ref: '#/components/headers/RateLimitReset'
x-pagination-current-page:
$ref: '#/components/headers/PaginationCurrentPage'
x-pagination-page-count:
$ref: '#/components/headers/PaginationPageCount'
x-pagination-per-page:
$ref: '#/components/headers/PaginationPerPage'
x-pagination-total-count:
$ref: '#/components/headers/PaginationTotalCount'
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
name:
type: string
description: The name of the webhook.
example: Sample Webhook
url:
type: string
description: The URL that data should be sent to.
required: true
example: https://www.example.com/webhook
trigger_object:
type: string
enum:
- event
- contact
- registrant
- speaker
- sponsor
- session
- session_attendance
- registrant_line_item
description: The object that will cause the webhook to trigger.
example: registrant
group_id:
type: integer
description: Identifier for the webhook group.
headers:
type: array
items:
type: object
properties:
key:
type: string
description: Header key.
example: Authorization
value:
type: string
description: Header value.
example: Bearer token
description: Array of headers for the webhook.
example:
- key: Authentication
value: Bearer Token
trigger_on_insert:
type: boolean
description: Trigger the webhook when the object is inserted.
example: true
trigger_on_update:
type: boolean
description: Trigger the webhook when the object is updated.
example: true
trigger_on_delete:
type: boolean
description: Trigger the webhook when the object is deleted.
example: false
public_user:
type: boolean
description: Run the webhook for public users.
example: false
admin_user:
type: boolean
description: Run the webhook for admin users.
example: true
api_call:
type: boolean
description: Trigger the webhook during an API call.
example: true
all_fields:
type: boolean
description: Run the webhook for changes to all fields.
example: false
any_event:
type: boolean
description: Run the webhook for any event.
example: false
use_default_fields:
type: boolean
description: Use default fields for the webhook.
example: true
enabled:
type: boolean
description: Indicates whether the webhook is enabled.
example: true
event_ids:
type: array
items:
type: integer
description: List of event IDs to trigger the webhook.
example:
- 1
- 2
- 3
fields:
type: array
items:
type: object
description: Custom JSON object fields that trigger the webhook.
description: Array of fields to trigger the webhook when changed.
example:
- value
content_type:
type: string
enum:
- json
- post
description: The content type for webhook payloads.
example: json
notes:
type: string
description: Additional notes for the webhook.
example: This webhook is for test purposes.
post_field_data:
type: array
items:
type: string
enum:
- id
- value
description: Fields to include in the webhook POST data.
example:
- id
- value
custom_fields:
description: Custom fields for the webhook (type unspecified).
type: array
items:
type: object
properties:
key:
type: string
description: Key to identify value on response.
example: event_id
type:
type: string
description: The object that will cause the webhook to trigger.
enum:
- event
- contact
- registrant
- speaker
- sponsor
- session
- session_attendance
- registrant_line_item
example: registrant
value:
type: string
description: Field name.
example: id
example:
- key: event_id
type: registrant
value: event_id
_links:
type: object
properties:
self:
type: object
properties:
href:
type: string
example: ''
first:
type: object
properties:
href:
type: string
example: ''
last:
type: object
properties:
href:
type: string
example: ''
_meta:
type: object
properties:
totalCount:
type: integer
example: 1
pageCount:
type: integer
example: 1
currentPage:
type: integer
example: 1
perPage:
type: integer
example: 20
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
servers:
- url: https://api.swoogo.com/api/v1
description: Production API server
- url: https://local.swoogo.com/api/v1
description: Local API server
/webhooks/{webhook_id}:
get:
security:
- bearerAuth: []
tags:
- Webhooks
summary: Get One Webhook
description: Retrieves a single webhook configuration by its ID, including the target URL, trigger event type, HTTP method, headers, and associated webhook group.
operationId: getOneWebhook
parameters:
- name: webhook_id
in: path
required: true
schema:
type: integer
example: 1
description: integer - required - The ID of the webhook you want to get
- name: fields
in: query
schema:
type: string
example: id,name,url,content_type,post_field_data,use_default_fields,custom_fields,notes,trigger_object,trigger_on_insert,trigger_on_update,trigger_on_delete,all_fields,fields,public_user,admin_user,api_call,any_event,event_ids,created_at,created_by,updated_at,updated_by
description: string - optional - Comma separated list of fields you want to return
responses:
'200':
description: Get Webhook
headers:
x-rate-limit-limit:
$ref: '#/components/headers/RateLimitLimit'
x-rate-limit-remaining:
$ref: '#/components/headers/RateLimitRemaining'
x-rate-limit-reset:
$ref: '#/components/headers/RateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/webhookFields'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
servers:
- url: https://api.swoogo.com/api/v1
description: Production API server
- url: https://local.swoogo.com/api/v1
description: Local API server
/webhooks/create:
post:
security:
- bearerAuth: []
tags:
- Webhooks
summary: Create Webhook
description: Creates a new webhook configuration. Specify the target URL, trigger event type, HTTP method, and optional custom headers. The webhook must be assigned to a webhook group, which controls which events it applies to.
operationId: createWebhook
x-codeSamples:
- lang: cURL
label: cURL
source: "curl -X POST \"https://api.swoogo.com/api/v1/webhooks/create\" \\\n -H \"Authorization: Bearer YOUR_ACCESS_TOKEN\" \\\n -H \"Content-Type: application/x-www-form-urlencoded\" \\\n -d \"name=Registrant Updates&webhook_group_id=1&trigger_object=registrant&trigger_on_insert=1&trigger_on_update=1&url=https://example.com/webhooks/registrant&content_type=json\"\n"
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/webhookFields'
examples:
Create A New Webhook:
value:
name: Sample Webhook
trigger_object: registrant
trigger_on_update: '1'
url: https://www.example.com/new_webhook
responses:
'201':
description: Create Object
content:
application/json:
schema:
$ref: '#/components/schemas/webhookFields'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
servers:
- url: https://api.swoogo.com/api/v1
description: Production API server
- url: https://local.swoogo.com/api/v1
description: Local API server
/webhooks/update/{webhook_id}:
put:
security:
- bearerAuth: []
tags:
- Webhooks
summary: Update Webhook
description: Updates an existing webhook configuration by its ID. You can modify the target URL, trigger event type, HTTP method, headers, and active status.
operationId: updateWebhook
parameters:
- name: webhook_id
in: path
required: true
schema:
type: integer
example: 1
description: integer - required - The ID of the webhook you want to update
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/webhookFields'
examples:
Update An Existing Webhook:
value:
name: Sample Webhook
trigger_object: registrant
trigger_on_update: '1'
url: https://www.example.com/updated_webhook
responses:
'200':
description: Update Webhook
content:
application/json:
schema:
$ref: '#/components/schemas/webhookFields'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
servers:
- url: https://api.swoogo.com/api/v1
description: Production API server
- url: https://local.swoogo.com/api/v1
description: Local API server
/webhooks/delete/{webhook_id}:
delete:
security:
- bearerAuth: []
tags:
- Webhooks
summary: Delete Webhook
description: Permanently deletes a webhook configuration by its ID. The webhook will immediately stop sending HTTP callbacks for its trigger event type.
operationId: deleteWebhook
parameters:
- name: webhook_id
in: path
required: true
schema:
type: integer
example: 1
description: integer - required - The ID of the webhook you want to delete
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
properties: {}
examples:
Delete A Webhook:
value: {}
responses:
'204':
description: Delete
content: {}
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'
servers:
- url: https://api.swoogo.com/api/v1
description: Production API server
- url: https://local.swoogo.com/api/v1
description: Local API server
components:
headers:
PaginationTotalCount:
schema:
type: integer
description: Total number of items matching the query across all pages.
example: 95
PaginationPerPage:
schema:
type: integer
description: Number of items returned per page.
example: 20
PaginationPageCount:
schema:
type: integer
description: Total number of pages available based on the current `per-page` value.
example: 5
RateLimitLimit:
schema:
type: integer
description: Maximum number of API requests allowed in the current 10-minute window.
example: 2000
PaginationCurrentPage:
schema:
type: integer
description: The current page number in the paginated result set.
example: 1
RateLimitRemaining:
schema:
type: integer
description: Number of requests remaining in the current rate limit window.
example: 1367
RateLimitReset:
schema:
type: integer
description: Number of seconds until the current rate limit window resets.
example: 0
schemas:
webhookFields:
type: object
required:
- name
- url
- trigger_object
properties:
name:
type: string
description: The name of the webhook.
example: Sample Webhook
url:
type: string
description: The URL that data should be sent to.
required: true
example: https://www.example.com/webhook
trigger_object:
type: string
enum:
- event
- contact
- registrant
- speaker
- sponsor
- session
- session_attendance
- registrant_line_item
description: The object that will cause the webhook to trigger.
example: registrant
group_id:
type: integer
description: Identifier for the webhook group.
headers:
type: array
items:
type: object
properties:
key:
type: string
description: Header key.
example: Authorization
value:
type: string
description: Header value.
example: Bearer token
description: Array of headers for the webhook.
example:
- key: Authentication
value: Bearer Token
trigger_on_insert:
type: boolean
description: Trigger the webhook when the object is inserted.
example: true
trigger_on_update:
type: boolean
description: Trigger the webhook when the object is updated.
example: true
trigger_on_delete:
type: boolean
description: Trigger the webhook when the object is deleted.
example: false
public_user:
type: boolean
description: Run the webhook for public users.
example: false
admin_user:
type: boolean
description: Run the webhook for admin users.
example: true
api_call:
type: boolean
description: Trigger the webhook during an API call.
example: true
all_fields:
type: boolean
description: Run the webhook for changes to all fields.
example: false
any_event:
type: boolean
description: Run the webhook for any event.
example: false
use_default_fields:
type: boolean
description: Use default fields for the webhook.
example: true
enabled:
type: boolean
description: Indicates whether the webhook is enabled.
example: true
event_ids:
type: array
items:
type: integer
description: List of event IDs to trigger the webhook.
example:
- 1
- 2
- 3
fields:
type: array
items:
type: object
description: Custom JSON object fields that trigger the webhook.
description: Array of fields to trigger the webhook when changed.
example:
- value
content_type:
type: string
enum:
- json
- post
description: The content type for webhook payloads.
example: json
notes:
type: string
description: Additional notes for the webhook.
example: This webhook is for test purposes.
post_field_data:
type: array
items:
type: string
enum:
- id
- value
description: Fields to include in the webhook POST data.
example:
- id
- value
custom_fields:
description: Custom fields for the webhook (type unspecified).
type: array
items:
type: object
properties:
key:
type: string
description: Key to identify value on response.
example: event_id
type:
type: string
description: The object that will cause the webhook to trigger.
enum:
- event
- contact
- registrant
- speaker
- sponsor
- session
- session_attendance
- registrant_line_item
example: registrant
value:
type: string
description: Field name.
example: id
example:
- key: event_id
type: registrant
value: event_id
ErrorResponse:
type: object
description: Standard error response returned for all 4xx and 5xx status codes.
properties:
name:
type: string
description: Human-readable error type name (e.g., "Unauthorized", "Forbidden", "Not Found").
example: Unauthorized
message:
type: string
description: Detailed error message explaining what went wrong.
example: Your request was made with invalid credentials.
code:
type: integer
description: Application-specific error code. Currently `0` for all standard errors.
example: 0
status:
type: integer
description: HTTP status code of the error response.
example: 401
responses:
NotFound:
description: The specified resource does not exist or has been deleted. Verify the ID is correct and that the resource belongs to an event your credentials have access to.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
name: Not Found
message: The requested resource does not exist.
code: 0
status: 404
Forbidden:
description: The authenticated user does not have permission to access this resource. This can occur if the resource belongs to a different account or the API credentials lack the required scope.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
name: Forbidden
message: You do not have access to that resource.
code: 0
status: 403
Unauthorized:
description: Authentication failed. The bearer token is missing, expired, or invalid. Obtain a new token via `POST /oauth2/token`.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
name: Unauthorized
message: Your request was made with invalid credentials.
code: 0
status: 401
InternalServerError:
description: An unexpected server error occurred. If this persists, contact Swoogo support with the request details and timestamp.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
name: Internal Server Error
message: An error occurred while processing your request.
code: 0
status: 500
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: access_token
description: OAuth 2.0 bearer token obtained from `POST /oauth2/token`. Tokens expire after 30 minutes. Include in the `Authorization` header as `Bearer {access_token}`.
basicAuth:
type: http
scheme: basic
description: HTTP Basic authentication using your base64-encoded API consumer key and secret. Only used for the `POST /oauth2/token` endpoint to obtain a bearer token.
x-refined-from:
- swoogo-openapi.yml
- swoogo-openapi.yml