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

KeyDatatypeRequiredDescription
idempotency-keystringThe request's idempotency key
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;metadata&quot;:{&quot;Lorem_f&quot;:&quot;\u003cstring\u003e&quot;,&quot;ipsum14&quot;:&quot;\u003cstring\u003e&quot;,&quot;aliquip_3&quot;:&quot;\u003cstring\u003e&quot;,&quot;esse_2b&quot;:&quot;\u003cstring\u003e&quot;},&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;url&quot;:&quot;\u003curi\u003e&quot;,&quot;version&quot;:&quot;\u003cinteger\u003e&quot;,&quot;rateLimit&quot;:&quot;\u003cinteger\u003e&quot;,&quot;uid&quot;:&quot;ih&quot;,&quot;disabled&quot;:false,&quot;filterTypes&quot;:[&quot;kkBb4FVDD&quot;],&quot;channels&quot;:[&quot;v&quot;]}