Create Endpoint

POST {{baseUrl}}/api/v1/app/:app_id/endpoint

Create a new endpoint for the application.

When secret is null the secret is automatically generated (recommended)

Request Body

{"url"=>"<uri>", "description"=>"", "rateLimit"=>"<uint16>", "uid"=>"<string>", "version"=>1, "disabled"=>false, "filterTypes"=>["<string>"], "channels"=>["<string>"], "secret"=>"<string>"}

HEADERS

| Key | Datatype | Required | Description | | idempotency-key | string | | The request's idempotency key | | Content-Type | string | | | | Accept | string | | |

RESPONSES

status: Created

{"createdAt":"1984-01-28T08:36:02.052Z","description":"reprehenderit consequat voluptate","id":"ep_1srOrx2ZWZBpBUvZwXKQmoEYga2","metadata":{"magna1":"in eiusmod"},"updatedAt":"2018-12-23T13:31:03.659Z","url":"https://example.com/webhook/","version":1,"rateLimit":11829569,"uid":"unique-ep-identifier","disabled":false,"filterTypes":["user.signup","user.deleted"],"channels":["project_123","group_2"]}