To be notified when something happens in your community instead of polling for changes, use webhooks.
How it works
1
Send your API token
Include your API token in the
Authorization header of every request.2
Validate your key
Send a
GET request to the ping endpoint to confirm Zapnito accepts your token.3
Call an endpoint
Pick a resource from the resources list and send a request to it.
Base URL
All endpoints live under/api/v1 on your community’s domain:
https://your-community.zapnito.com with your community’s domain.
Authentication
Authenticate every request by sending your API token in theAuthorization header:
401 Unauthorized.
Validate your API key
Send aGET request to the ping endpoint with no other parameters to check that your token is valid.
Validate your API key
GET https://your-community.zapnito.com/api/v1/ping
200 OK: the API key is valid.401 Unauthorized: the API key is rejected.
Request headers
Send these headers with every request.Pagination
List endpoints return results a page at a time. Where an endpoint supports pagination, it accepts these query parameters:Responses and errors
Zapnito uses standard HTTP status codes. The codes you’re most likely to meet are:
Error response formats aren’t yet consistent across endpoints. Some return a JSON object with an
errors key, and others return a plain text message. Check the endpoint page for the response you’re handling.

