Skip to content

Product documentation

WebhookClaimSchema

Webhook claim-schema registration for token enrichment.

WebhookClaimSchema

Webhook claim-schema registration for token enrichment.

Base URL: https://api.stg.thoryn.org

Operations

MethodPathSummaryScopes
GET/api/v1/webhook-claim-schemasWebhook Claim Schema Listtenant:webhook-schemas.read
GET/api/v1/webhook-claim-schemas/{claimName}Webhook Claim Schema Gettenant:webhook-schemas.read
PUT/api/v1/webhook-claim-schemas/{claimName}Webhook Claim Schema Puttenant:webhook-schemas.write
DELETE/api/v1/webhook-claim-schemas/{claimName}Webhook Claim Schema Deletetenant:webhook-schemas.write

Operation details

GET /api/v1/webhook-claim-schemas

Webhook Claim Schema List

  • Operation ID: webhookClaimSchemaList
  • Required scopes: tenant:webhook-schemas.read

Parameters:

NameInRequiredTypeDescription
limitquerynointeger
cursorquerynostring

Responses:

StatusDescriptionBody
200OKListEnvelopeWebhookClaimSchemaResponse
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

GET /api/v1/webhook-claim-schemas/{claimName}

Webhook Claim Schema Get

  • Operation ID: webhookClaimSchemaGet
  • Required scopes: tenant:webhook-schemas.read

Parameters:

NameInRequiredTypeDescription
claimNamepathyesstring

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

PUT /api/v1/webhook-claim-schemas/{claimName}

Webhook Claim Schema Put

  • Operation ID: webhookClaimSchemaPut
  • Required scopes: tenant:webhook-schemas.write

Parameters:

NameInRequiredTypeDescription
claimNamepathyesstring

Request body (required): application/jsonWebhookClaimSchemaUpsertRequest

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)

DELETE /api/v1/webhook-claim-schemas/{claimName}

Webhook Claim Schema Delete

  • Operation ID: webhookClaimSchemaDelete
  • Required scopes: tenant:webhook-schemas.write

Parameters:

NameInRequiredTypeDescription
claimNamepathyesstring

Responses:

StatusDescriptionBody
200OKobject
401Unauthorized — bearer token missing, expired, signed by an untrusted issuer, or missing the tnt tenant claim.Problem (problem+json)
403Forbidden — token lacks a required tenant:* scope, or the tnt claim does not match the tenant addressed by the request path.Problem (problem+json)