CAN-SPAM API

Get CAN-SPAM information (unchecked)

Returns CAN-SPAM information based on the requesting IP address.

When the requesting IP address is geolocated to any other country (or fails to geolocate at all), the response will indicate that the checkbox should be shown unchecked and checkbox label copy will be provided.

Response Fields

Name Description
ip_address Requesting IP address
country Geolocated country code
checkbox Checkbox state
copy Checkbox label copy

Request

Headers

Accept: application/json

Route

GET /api/v1/canspam?token=[your_auth_token]

Query Parameters

token=[your_auth_token]

Response

Headers

Content-Type: application/json

Status

200

Body