SlashID Organization Webhooks API
The Organization Webhooks API from SlashID — 5 operation(s) for organization webhooks.
The Organization Webhooks API from SlashID — 5 operation(s) for organization webhooks.
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/slashid-organization-webhooks-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. 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: SlashID Organization Webhooks API
description: "This is the [OpenAPI](https://www.openapis.org/) specification for communicating with the [SlashID](https://www.slashid.dev/) service.\n\nThe latest version of the OpenAPI API spec can be fetched from [our CDN](https://cdn.slashid.com/slashid-openapi-latest.yaml).\n\nWe recommend you use an [OpenAPI SDK generator](https://openapi.tools/#sdk) to create a client library in your programming language,\nbut you can also use this documentation to make HTTP calls directly.\n\n> **Compatibility note**: We aim to keep wire compatibility whenever we update the API, but parts of the specification may occasionally be refactored.\n If you use an SDK generator, your code may require minor changes between versions.\n"
version: '1.1'
termsOfService: https://www.slashid.dev/terms-of-use/
contact:
name: API Support
email: contact@slashid.dev
servers:
- url: https://api.slashid.com
description: Production
- url: https://api.sandbox.slashid.com
description: Sandbox
security:
- ApiKeyAuth: []
tags:
- name: Organization Webhooks
paths:
/test-events:
parameters:
- $ref: '#/components/parameters/OrgIDHeader'
post:
operationId: PostTestEvents
x-rbac-enabled: true
x-rbac-allowed-groups: admin
tags:
- Organization Webhooks
summary: Generate events for testing
description: 'Generate events for testing analytics flows, such as webhooks.
This endpoint can be used to create one or more SlashID events. The request body is a list of test event descriptions, including the type of event to generate, the number of events of that type to generate, and whether those events should be duplicates. The contents of the events will be randomly generated, and will have the `is_test_event` flag set to true, so they can be distinguished from real events.
Please refer to our [events guide](/docs/access/concepts/events) for a full list of SlashID events and their contents.
Note that this endpoint is rate-limited to 10 test events per minute, with a burst of 50. If your tests require a higher rate, please contact us.
'
requestBody:
description: The events to be generated
content:
application/json:
schema:
$ref: '#/components/schemas/TestEventsPostReq'
required: true
responses:
'201':
description: Created
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/APIResponseBase'
- type: object
properties:
result:
$ref: '#/components/schemas/TestEventsPostResponse'
required:
- result
'400':
$ref: '#/components/responses/BadRequest'
'404':
$ref: '#/components/responses/NotFound'
components:
schemas:
APICursorPagination:
type: object
required:
- limit
- cursor
- total_count
properties:
limit:
type: integer
cursor:
type: string
total_count:
type: integer
format: int64
APIPagination:
type: object
required:
- limit
- offset
- total_count
properties:
limit:
type: integer
offset:
type: integer
total_count:
type: integer
format: int64
BaseTestEvent:
type: object
required:
- event_id
- event_name
- timestamp
- organization_id
properties:
event_id:
type: string
format: uuid
event_name:
$ref: '#/components/schemas/EventName'
timestamp:
type: string
organization_id:
$ref: '#/components/schemas/OrganizationID'
Test_PersonCreated_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
- type: object
properties:
person_id:
$ref: '#/components/schemas/PersonID'
OrganizationID:
type: string
BaseTestSDKEvent:
type: object
properties:
window_location:
type: string
format: url
FactorMethod:
type: string
description: Allowed login factor
enum:
- webauthn
- email_link
- sms_link
- otp_via_sms
- otp_via_email
- totp
- oidc
- saml
- api
- direct_id
- password
- impersonate
- anonymous
TestEventsSpecification:
type: object
required:
- event_name
properties:
event_name:
$ref: '#/components/schemas/EventName'
count:
type: integer
default: 1
duplicates:
type: boolean
default: false
analytics_correlation_id:
type: string
default: ''
APIResponseBase:
type: object
properties:
meta:
$ref: '#/components/schemas/APIMeta'
errors:
type: array
items:
$ref: '#/components/schemas/APIResponseError'
Test_GateRequestCredentialFound_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
Test_TokenMinted_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
Test_AnonymousPersonCreated_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
- type: object
properties:
person_id:
$ref: '#/components/schemas/PersonID'
Test_GateServerStarted_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
Test_PasswordChanged_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
APIResponseError:
type: object
properties:
httpcode:
type: integer
message:
type: string
Test_GdprConsentsChanged_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
Test_AuthenticationSucceeded_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
- type: object
properties:
person_id:
$ref: '#/components/schemas/PersonID'
authn_method:
$ref: '#/components/schemas/FactorMethod'
Test_PersonDeleted_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
- type: object
properties:
person_id:
$ref: '#/components/schemas/PersonID'
APIMeta:
type: object
properties:
pagination:
$ref: '#/components/schemas/APIPagination'
cursor_pagination:
$ref: '#/components/schemas/APICursorPagination'
Test_VirtualPageLoaded_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
- $ref: '#/components/schemas/BaseTestSDKEvent'
Test_GateRequestHandled_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
EventName:
type: string
enum:
- AuthenticationSucceeded_v1
- AuthenticationFailed_v1
- PersonCreated_v1
- AnonymousPersonCreated_v1
- PersonDeleted_v1
- VirtualPageLoaded_v1
- SlashIDSDKLoaded_v1
- PersonIdentified_v1
- PersonLoggedOut_v1
- TokenMinted_v1
- AnonymousTokenMinted_v1
- PasswordChanged_v1
- GdprConsentsChanged_v1
- GateServerStarted_v1
- GateRequestHandled_v1
- GateRequestCredentialFound_v1
- PermissionCreated_InRegion_v1
- PermissionCreated_v1
- PermissionDeleted_InRegion_v1
- PermissionDeleted_v1
- RoleCreated_InRegion_v1
- RoleCreated_v1
- RoleDeleted_InRegion_v1
- RoleDeleted_v1
- RoleUpdated_InRegion_v1
- RoleUpdated_v1
- RolesSetToPerson_InRegion_v1
- RolesSetToPerson_v1
- PermissionsSetToPerson_InRegion_v1
- PermissionsSetToPerson_v1
- MitmAttackDetected_v1
- PermissionUpdated_InRegion_v1
- PermissionUpdated_v1
- SuborganizationCreated_InRegion_v1
- SuborganizationCreated_v1
- OAuth2ClientCreated_InRegion_v1
- OAuth2ClientCreated_v1
- AWSIAMUserCreated_v1
- AWSIAMRoleCreated_v1
- AWSIAMRoleInlinePoliciesUpdated_v1
- AWSIAMRoleManagedPoliciesUpdated_v1
- AWSIAMRoleAssumeRolePolicyUpdated_v1
- AWSIAMRolePermissionsBoundaryUpdated_v1
- AWSIAMRoleDeleted_v1
- GCPServiceAccountCreated_v1
- GCPRoleCreated_v1
- GCPIAMPolicyBindingUpdated_v1
- GCPServiceAccountDeleted_v1
- ActiveDirectorySPNCreated_v1
- ActiveDirectorySPNRoleUpdated_v1
- ActiveDirectorySPNDeleted_v1
- ActiveDirectoryUserCreated_v1
Test_AnonymousTokenMinted_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
Test_PersonLoggedOut_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
- $ref: '#/components/schemas/BaseTestSDKEvent'
PersonID:
type: string
description: Person ID
example: 064b7b63-ea43-76e5-b208-1900795bc5b7
Test_SlashIDSDKLoaded_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
- $ref: '#/components/schemas/BaseTestSDKEvent'
Test_AuthenticationFailed_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
- type: object
properties:
failed_authn_method:
$ref: '#/components/schemas/FactorMethod'
failure_reason:
type: string
TestEventsPostReq:
type: array
items:
$ref: '#/components/schemas/TestEventsSpecification'
TestEventsPostResponse:
type: array
items:
$ref: '#/components/schemas/TestEvent'
Test_PersonIdentified_v1:
allOf:
- $ref: '#/components/schemas/BaseTestEvent'
- $ref: '#/components/schemas/BaseTestSDKEvent'
TestEvent:
oneOf:
- $ref: '#/components/schemas/Test_AuthenticationSucceeded_v1'
- $ref: '#/components/schemas/Test_AuthenticationFailed_v1'
- $ref: '#/components/schemas/Test_PersonCreated_v1'
- $ref: '#/components/schemas/Test_AnonymousPersonCreated_v1'
- $ref: '#/components/schemas/Test_PersonDeleted_v1'
- $ref: '#/components/schemas/Test_VirtualPageLoaded_v1'
- $ref: '#/components/schemas/Test_SlashIDSDKLoaded_v1'
- $ref: '#/components/schemas/Test_PersonIdentified_v1'
- $ref: '#/components/schemas/Test_PersonLoggedOut_v1'
- $ref: '#/components/schemas/Test_TokenMinted_v1'
- $ref: '#/components/schemas/Test_AnonymousTokenMinted_v1'
- $ref: '#/components/schemas/Test_PasswordChanged_v1'
- $ref: '#/components/schemas/Test_GdprConsentsChanged_v1'
- $ref: '#/components/schemas/Test_GateServerStarted_v1'
- $ref: '#/components/schemas/Test_GateRequestCredentialFound_v1'
- $ref: '#/components/schemas/Test_GateRequestHandled_v1'
discriminator:
propertyName: event_name
mapping:
AuthenticationSucceeded_v1: '#/components/schemas/Test_AuthenticationSucceeded_v1'
AuthenticationFailed_v1: '#/components/schemas/Test_AuthenticationFailed_v1'
PersonCreated_v1: '#/components/schemas/Test_PersonCreated_v1'
AnonymousPersonCreated_v1: '#/components/schemas/Test_AnonymousPersonCreated_v1'
PersonDeleted_v1: '#/components/schemas/Test_PersonDeleted_v1'
VirtualPageLoaded_v1: '#/components/schemas/Test_VirtualPageLoaded_v1'
SlashIDSDKLoaded_v1: '#/components/schemas/Test_SlashIDSDKLoaded_v1'
PersonIdentified_v1: '#/components/schemas/Test_PersonIdentified_v1'
PersonLoggedOut_v1: '#/components/schemas/Test_PersonLoggedOut_v1'
TokenMinted_v1: '#/components/schemas/Test_TokenMinted_v1'
AnonymousTokenMinted_v1: '#/components/schemas/Test_AnonymousTokenMinted_v1'
PasswordChanged_v1: '#/components/schemas/Test_PasswordChanged_v1'
GdprConsentsChanged_v1: '#/components/schemas/Test_GdprConsentsChanged_v1'
GateServerStarted_v1: '#/components/schemas/Test_GateServerStarted_v1'
GateRequestHandled_v1: '#/components/schemas/Test_GateRequestHandled_v1'
GateRequestCredentialFound_v1: '#/components/schemas/Test_GateRequestCredentialFound_v1'
responses:
NotFound:
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/APIResponseBase'
BadRequest:
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/APIResponseBase'
parameters:
OrgIDHeader:
name: SlashID-OrgID
in: header
schema:
type: string
required: true
description: The organization ID
example: af5fbd30-7ce7-4548-8b30-4cd59cb2aba1
securitySchemes:
ApiKeyAuth:
description: Authorizes the request with the organization's API Key.
x-svc-um-api: true
type: apiKey
in: header
name: SlashID-API-Key
OAuth2ClientIdSecret:
description: Authorizes the request with a client ID/client secret pair
type: http
scheme: basic
OAuth2AccessTokenBearer:
description: Authorizes the request with an Access Token for the current user.
type: http
scheme: bearer
bearerFormat: opaque