NYC Fines API
Webhook Endpoint
This API provides a webhook endpoint for HubSpot integration:
POST /nyc-fines
When a webhook is received, the API will:
- Extract the address from the webhook payload
- Look up building information from NYC Accelerator
- Update the HubSpot contact with the building information
- Return the building information in the response
Required Environment Variables
HUBSPOT_API_KEY: Your HubSpot API key
PORT (optional): Port to run the server on (default: 3000)