Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API 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.
openapi: 3.2.0
info:
title: Signupbouncer Com Hooks API
version: 1.0.0
description: 'Operations tagged Hooks across 2 of this provider''s published API definitions: openapi.json, signupbouncer-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://signupbouncer.com
tags:
- name: Hooks
paths:
/v1/hooks/ory:
post:
operationId: oryRegistrationHook
summary: Ory registration web hook
description: 'Ory calls this URL from a registration action (after, with can_interrupt and response.parse on). You never call it yourself. Send your API key as an api_key auth header: "Authorization: Bearer sb_live_...". The body is what signupbouncer.jsonnet builds: email, ip, user_agent, identity_id and flow_id. 200 {} lets Ory create the identity. When the key is wrong, the app is unknown or our side fails, the answer is 200 {} as well.'
security:
- apiKey: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
email:
type:
- string
- 'null'
ip:
type:
- string
- 'null'
user_agent:
type:
- string
- 'null'
identity_id:
type: string
description: Ory's id for the new identity.
flow_id:
type:
- string
- 'null'
description: The registration flow's id. Tells a retried call from a new registration when there is no email.
responses:
'200':
description: Allow.
content:
application/json:
schema:
type: object
'400':
description: Refuse.
content:
application/json:
schema:
$ref: '#/components/schemas/OryHookRefusal'
tags:
- Hooks
servers:
- url: https://signupbouncer.com
components:
schemas:
OryHookRefusal:
type: object
description: Ory's message list. Ory refuses the registration and shows the text above the form.
required:
- messages
properties:
messages:
type: array
items:
type: object
required:
- instance_ptr
- messages
properties:
instance_ptr:
type: string
enum:
- '#/'
messages:
type: array
items:
type: object
required:
- id
- text
- type
properties:
id:
type: integer
enum:
- 9000001
text:
type: string
description: Your block message, and the why link when it is on.
type:
type: string
enum:
- error
context:
type: object
required:
- why_url
properties:
why_url:
type: string
format: uri
securitySchemes:
apiKey:
type: http
scheme: bearer
description: An API key, sb_live_... The account owner creates one per app on the dashboard's Integration tab. It is shown once, when it is created or rotated. A rotated key keeps working for 24 hours.
externalDocs:
url: https://signupbouncer.com/docs
x-refined-from:
- openapi.json
- signupbouncer-com-openapi.json