Overview
The Change Alerts feature lets you monitor profiles. When our system detects a change (new job, updated position, new data in the profile, etc.), Scrapin automatically sends a JSON payload to your Alert URL endpoint instantly.Near Real-Time: Alerts are triggered when our system detects profile
updates during periodic crawls. Expect some delay between the profile update
and the Alerts notification.
Each alert delivery consumes 0.50 credits.
Authentication
All API requests require authentication. You must include your API key as
a query parameter in every request.
apikey query parameter:
- Visit https://app.scrapin.io/api to find your API key
- Keep your API key secure and never share it publicly
How it works
- Configure your Alert URL where you want to receive notifications
- Subscribe to person profiles (resourceURL) you want to monitor
- Receive automatic notifications when profiles are updated
- Monitor delivery logs and manage your subscriptions
- Only HTTPS URLs are accepted for security reasons - You can configure one Alert URL per workspace.
Configuration Alert URL
You can also manage your Alert URL directly from the web app at
https://app.scrapin.io
Get Alert URL Configuration
Retrieve your current Alert URL configuration.GET https://api.scrapin.io/v1/alerts/url
Returns the Alert URL and status for your workspace.
Create or Update Alert URL
Configure the Alert URL where notifications will be sent.POST https://api.scrapin.io/v1/alerts/url
Create or update your Alert URL configuration.
url(string, required): Your HTTPS Alert endpointstatus(string, optional):activeorinactive(default:active)
The URL must use HTTPS protocol. HTTP URLs will be rejected.
Alert Payload Format
When a profile change is detected, Scrapin sends a POST request to your configured Alert URL with the following JSON payload: Payload Example:subscriptionId(string): The unique identifier of the subscription that triggered this alertdata(object): Contains the complete profile dataperson(object): Person profile datacompany(object): Company profile data
metadata(object): Additional metadata about the alertwebhookType(string): The type of webhook, alwayspersonfor person profile changes
All deliveries are logged in your delivery logs.
Subscriptions
You can also manage your Change Alerts subscriptions directly from the web app
at https://app.scrapin.io
List Subscriptions
Get all your Change Alerts subscriptions with filtering and pagination.GET https://api.scrapin.io/v1/alerts/subscriptions
Retrieve all subscriptions for your workspace.
status(string, optional): Filter by status (active,inactive)resourceType(string, optional): Filter by resource type (person)page(number, optional): Page number for pagination (default: 1)limit(number, optional): Results per page (default: 50)
Subscribe to a Profile
Subscribe to a person profile to receive updates.POST https://api.scrapin.io/v1/alerts/subscribe
Create a new subscription to a person profile.
resourceUrl(string, required): Resource URL
Only one active subscription per profile per workspace is allowed.
Unsubscribe from a Profile
Cancel a subscription to stop receiving updates.POST https://api.scrapin.io/v1/alerts/unsubscribe
Deactivate a subscription.
resourceUrl(string, required): Resource URL
Unsubscribing sets the status to
inactive but keeps the subscription
history. You can reactivate by subscribing again to the same resource.Delivery Logs
You can also manage your Alert deliveries directly from the web app at
https://app.scrapin.io
Get Alert Deliveries
Access detailed logs of all Alert deliveries for monitoring and debugging.GET https://api.scrapin.io/v1/alerts/deliveries
Retrieve Alert delivery history with filters.
resourceUrl(string, optional): Filter by specific resource URLresourceType(string, optional): Filter by specific resource type (person)status(string, optional): Filter by HTTP status (success,error,all)page(number, optional): Page number for pagination (default: 1)limit(number, optional): Results per page (default: 50)
Credit Consumption
Per Delivery
0.50 credits per successful Alert delivery
Troubleshooting
Alert not receiving notifications
Alert not receiving notifications
Check:
- Your Alert URL is correctly configured and active.
- You have active subscriptions to profiles.
- Your workspace has sufficient credits.
402 Payment Required errors
402 Payment Required errors
Solution: Check your workspace credit balance and add more credits to your
account.