Send a contact message
New/contact/sendSend a message from the contact form
Sends a message from a landing contact form to our support team. No token is needed; a captcha is.
{"name": "Jan Kowalski", "email": "[email protected]", "subject": "Proxy for a project",
"message": "Hello, I need 50 residential IPs in Poland.", "g-recaptcha-response": "<token>"}
Notes
nameup to 100 characters,emailup to 190,subjectup to 200,message10 to 5000. Spaces are trimmed and control characters removed.g-recaptcha-responseis a reCAPTCHA v3 token for the actioncontact. When it fails, the answer is422 captcha_requiredwithdetails.captcha, which tells you how to show the slider puzzle and send again.site(pl,com),localeandpage_urlare optional; withoutsite, the site comes from theOriginheader.- Send
X-Visitor-Tokenif the page has one. - At most 5 messages an hour from one IP and 3 from one email address, then
429 rate_limited.
Query method
POSThttps://api.stableproxy.com/v3/contact/send
Query parameters
| Identifier | Regulations | Example |
|---|---|---|
| name | requiredstring | Jan Kowalski |
| requiredemail | [email protected] | |
| subject | requiredstring | Proxy for a project |
| message | requiredstring | Hello, I need 50 residential IPs in Poland. |
| siteNot necessarily | nullablestringin:pl, com | "pl" |
| localeNot necessarily | nullablestring | 3 |
| page_urlNot necessarily | nullablestring | 308 |
| websiteNot necessarily | nullablestring | 443 |
| g-recaptcha-response | requiredstring | test |
Code examples
1const baseUrl = "https://api.stableproxy.com/v3";2const response = await fetch(baseUrl + "/contact/send", {3 method: "POST",4 headers: {5 "Content-Type": "application/json"6 },7 body: JSON.stringify({8 "name": "Jan Kowalski",9 "email": "[email protected]",10 "subject": "Proxy for a project",11 "message": "Hello, I need 50 residential IPs in Poland.",12 "site": "\"pl\"",13 "locale": 3,14 "page_url": 308,15 "website": 443,16 "g-recaptcha-response": "test"17 })18});19const data = await response.json();Examples of answers
Sent201application/json
{
"data": {
"received": true,
"message": "Thank you! We will reply to your email soon."
},
"meta": []
}