Create Endpoint
POST https://api.sinay.ai/webhook/api/v1/endpoint
Create a new endpoint for the application.
When secret
is null
the secret is automatically generated (recommended)
Request Body
{"url"=>"<uri>", "description"=>"", "rateLimit"=>"<integer>", "uid"=>"ityVxzIb.", "disabled"=>false, "filterTypes"=>["k"], "channels"=>["cE.d"], "secret"=>"whsec_iSeaSL7OQgj2e2noynGw9iKyZG1Y2U4+p7XO0TccDGhW2o0fgNQcklqq/cdd6YT1udnuwpCa=dgbl0EdwIrT/uH7SLqAjykJEQaB"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
idempotency-key | string | The request's idempotency key | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"createdAt":"\u003cdateTime\u003e","description":"\u003cstring\u003e","id":"\u003cstring\u003e","metadata":{"Lorem_f":"\u003cstring\u003e","ipsum14":"\u003cstring\u003e","aliquip_3":"\u003cstring\u003e","esse_2b":"\u003cstring\u003e"},"updatedAt":"\u003cdateTime\u003e","url":"\u003curi\u003e","version":"\u003cinteger\u003e","rateLimit":"\u003cinteger\u003e","uid":"ih","disabled":false,"filterTypes":["kkBb4FVDD"],"channels":["v"]}