---
updatedAt: 2025-05-14T17:16:55.000Z
agentTools:
  projectIndex: https://canopy-api.readme.io/v2/llms.txt
---

# Test your webhook URL.

Test your webhook URL. You will receive a sample `test` event.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Canopy Servicing Core API - Latest",
    "description": "**API Overview** \n Canopy allows you to easily manage credit, installment, or other more complex lending programs from a servicing and compliance perspective - whether newly launched or migrated from existing systems. Using Canopy, you can track balances and transactions for each customer of your product, both in real-time and historically. You can see how various policy and product changes would impact your customers, and readily generate compliance reports and minimize your risk with all real-time information always on hand. \n \n Canopy additionally surfaces information around all of your lending activity through its intuitive UI which provides a customer support interface as well as at-a-glance data needed for compliance and insights. \n \n Simply configure your product’s policies through our Create Product API endpoint, and then you can immediately begin adding customer accounts and relying on Canopy for accurate servicing information.",
    "termsOfService": "https://canopyservicing.com/terms/",
    "contact": {
      "email": "support@canopyservicing.com"
    },
    "version": "1.14.0-rc.2"
  },
  "x-topics": [
    {
      "title": "Getting Started",
      "content": "To create your organization within Canopy, [reach out to our sales team](https://canopyservicing.com/start). We currently do some lead qualification before granting access to our sandbox and require at least an initial meeting, but if you are clear and deliberate about your vision and objectives, we should be able to grant sandbox access quickly. Once you have sandbox access, you will receive access to a private sandbox with fully isolated single-tenant infrastructure. At this point, our team will provide you with a shared Postman collection contextualized to your developer workflow to make it very quick and easy to get started. You can also find a full guide to authenticating in Canopy in our [developer onboarding tutorial](https://learn.canopyservicing.com/dev-setup)."
    },
    {
      "title": "Pagination",
      "content": "Canopy uses a two-factor basis to drive the order of responses in `GET` requests with an array of results. They are first ordered by `effective_at` by when the entity is effective in the system, and second by an internal index to make sure the order is always universal. From the caller's perspective, you can let Canopy know where to start its pagination response by providing a `starting_after` or `ending_before` string value. If neither a `starting_after` nor `ending_before` value is provided, we'll assume you're requesting the very first page of responses. In subsequent requests, you can simply grab these values from the `paging` key in the response body from your previous request. If you're aiming to provide your users with a link to the previous page, use the `ending_before` query parameter in your next request. If going to the next page, use the `starting_after` value instead."
    },
    {
      "title": "Document Versioning",
      "content": "Canopy currently supports two methods of identifying resources in our API endpoints. Please see your [organization's features](https://docs.canopyservicing.com/doc/latest#operation-get-organization) for which document describes your implementation. \n If `strict_entity_client_id = true`, then see our latest documentation [here](https://docs.canopyservicing.com/doc/latest). \n Otherwise, please see our legacy documentation [here](https://docs.canopyservicing.com/doc/legacy)"
    }
  ],
  "servers": [
    {
      "url": "Contact sales to enable your sandbox",
      "description": "Your private sandbox environment"
    },
    {
      "url": "https://demo-api.us.canopyservicing.com",
      "description": "Demo environment"
    }
  ],
  "security": [
    {
      "oAuth2": []
    }
  ],
  "paths": {
    "/organization/subscribe/test": {
      "get": {
        "tags": [
          "Organization"
        ],
        "summary": "Test your webhook URL.",
        "description": "Test your webhook URL. You will receive a sample `test` event.",
        "operationId": "subscribeToEventsTest",
        "callbacks": {
          "test_event": {
            "{organization/webhook_url}": {
              "post": {
                "requestBody": {
                  "required": true,
                  "content": {
                    "application/json": {
                      "schema": {
                        "type": "object",
                        "properties": {
                          "event": {
                            "type": "string",
                            "description": "The type of event in the webhook response",
                            "example": "test_event"
                          },
                          "data": {
                            "type": "string",
                            "description": "A Hello World test webhook",
                            "example": "Hello World"
                          }
                        }
                      }
                    }
                  }
                },
                "responses": {
                  "200": {
                    "description": "Your server returns this code if it accepts the webhook."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Event Triggered."
          },
          "401": {
            "description": "Unauthorized."
          },
          "403": {
            "description": "Forbidden."
          },
          "422": {
            "description": "Invalid input"
          },
          "429": {
            "description": "Too many requests."
          },
          "default": {
            "description": "Unexpected Error."
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "oAuth2": {
        "type": "oauth2",
        "description": "This API uses OAuth 2 with the Resource Owner Password grant flow for human access and the Client Credentials grant flow for programmatic access.",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://dev-fi8iwkk1.us.auth0.com/oauth/token",
            "scopes": {}
          },
          "password": {
            "tokenUrl": "https://dev-fi8iwkk1.us.auth0.com/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  }
}
```