Unsubscribe API
The Unsubscribe API allows users to stop following a specific domain, effectively halting the delivery of all associated signals and updates to that user.
Endpoint Details:
- URL: https://signals.smarte.pro/signals/domains/unsubscribe
- Method: POST
Input Parameters
Required Headers:
Header | Value Type | Required | Description |
---|---|---|---|
Admin-Api-key | string | yes | Admin-level API key of the organization |
Content-Type | string | yes | Must be application/json |
Request Body Parameters:
Parameter | Type | Required | Description |
---|---|---|---|
domain | string | yes | Company Domain which needs to be unsubscribed |
Sample
Request
curl --location 'https://signals.smarte.pro/signals/domains/unsubscribe' \
--header "Api-Key":"mIGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxHJY=",
'Content-Type: application/json' \
--data '{
"domain":"nividous.com"
}'
Response
{
"status": "success",
"message": "Domain successfully unfollowed."
}