Resthooks Endpoint

This endpoint allows you to list configured resthooks in your account.

Listing Resthooks

A GET returns the resthooks on your organization. Each resthook has the following attributes:

  • resthook - the slug for the resthook (string).
  • created_on - the datetime when this resthook was created (datetime).
  • modified_on - the datetime when this resthook was last modified (datetime).

Example:

GET /api/v2/resthooks.json

Response is the list of resthooks on your organization, most recently modified first:

{
    "next": "http://example.com/api/v2/resthooks.json?cursor=cD0yMDE1LTExLTExKzExJTNBM40NjQlMkIwMCUzRv",
    "previous": null,
    "results": [
    {
        "resthook": "new-report",
        "created_on": "2015-11-11T13:05:57.457742Z",
        "modified_on": "2015-11-11T13:05:57.457742Z",
    },
    ...
}