openapi: 3.0.0 info: title: Knock Audiences Integrations API version: '1.0' description: An Audience is a segment of users. servers: - url: https://api.knock.app variables: {} security: - BearerAuth: [] tags: - name: Integrations paths: /v1/integrations/census/custom-destination: post: callbacks: {} description: Processes a Census custom destination RPC request. operationId: processCensusRpcRequest parameters: [] requestBody: content: application/json: schema: properties: id: description: The unique identifier for the RPC request. type: string x-struct: null x-validate: null jsonrpc: description: The JSON-RPC version. type: string x-struct: null x-validate: null method: description: The method name to execute. type: string x-struct: null x-validate: null params: additionalProperties: true description: The parameters for the method. type: object x-struct: null x-validate: null required: - id - method - jsonrpc type: object x-struct: null x-validate: null description: Params required: true responses: '200': content: application/json: schema: properties: id: description: The request ID. type: string x-struct: null x-validate: null result: additionalProperties: true description: The result of the RPC call. type: object x-struct: null x-validate: null type: object x-struct: null x-validate: null description: OK summary: Process a Census RPC request tags: - Integrations x-ratelimit-tier: 3 /v1/integrations/hightouch/embedded-destination: post: callbacks: {} description: Processes a Hightouch embedded destination RPC request. operationId: processHightouchRpcRequest parameters: [] requestBody: content: application/json: schema: properties: id: description: The unique identifier for the RPC request. type: string x-struct: null x-validate: null jsonrpc: description: The JSON-RPC version. type: string x-struct: null x-validate: null method: description: The method name to execute. type: string x-struct: null x-validate: null params: additionalProperties: true description: The parameters for the method. type: object x-struct: null x-validate: null required: - id - method - jsonrpc type: object x-struct: null x-validate: null description: Params required: true responses: '200': content: application/json: schema: properties: id: description: The request ID. type: string x-struct: null x-validate: null result: additionalProperties: true description: The result of the RPC call. type: object x-struct: null x-validate: null type: object x-struct: null x-validate: null description: OK summary: Process a Hightouch RPC request tags: - Integrations x-ratelimit-tier: 3 components: securitySchemes: BearerAuth: bearerFormat: JWT scheme: bearer type: http