Authentication
ApiMask is distributed through RapidAPI. Authentication, subscriptions, plan limits, and billing are handled by RapidAPI.
Required headers
Every request must include the RapidAPI headers shown in your RapidAPI dashboard:
X-RapidAPI-Key: your-rapidapi-key
X-RapidAPI-Host: apimask-developer-utilities-api.p.rapidapi.com
Content-Type: application/jsonUse the exact X-RapidAPI-Host value from the product you subscribed to. Different
ApiMask products may use different RapidAPI hosts.
Example
curl --request POST \
--url https://apimask-developer-utilities-api.p.rapidapi.com/v1/dev/email/validate \
--header "Content-Type: application/json" \
--header "X-RapidAPI-Key: $RAPIDAPI_KEY" \
--header "X-RapidAPI-Host: apimask-developer-utilities-api.p.rapidapi.com" \
--data '{"email":"hello@example.com","check_smtp":false}'Troubleshooting
401usually means the RapidAPI key is missing, invalid, or not subscribed to the product.403usually means the request is not allowed for the subscribed product or plan.429means the RapidAPI plan limit has been reached.