> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.coi.co.il/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.coi.co.il/_mcp/server.

# Contact Form Url

GET https://yourcrm.com/leads

This is a reference example, not something you Send from here — Coi is the caller, your server is the receiver.

Configure the target URL in the admin at System > Site Settings > "Codes and Scripts" tab > "Webhook for Forms", with the GET mode selected.

GET mode: Coi does simple string substitution of \{fieldName} placeholders in your URL with the submitted form field values (whatever field names your form actually uses — \{שם}/\{אימייל}/\{טלפון} above are just examples), plus a \{pageTitle} placeholder. A placeholder Coi has no value for is dropped from the query string entirely, not left in as empty. No headers or body — the parameters are baked into the URL.

Fires once per successful form submission. No retry on failure.

Reference: https://docs.coi.co.il/webhooks/contact-form/contact-form-url

## Request

### Query parameters

- `name` (string, optional) — Example placeholder only — the real field name comes from your form's own field, not a fixed value. This whole \{token} gets replaced with the submitted value.
- `email` (string, optional) — Same idea — placeholder for whatever field the merchant's form uses for email.
- `phone` (string, optional) — Same idea — placeholder for whatever field the merchant's form uses for phone.

## Response

### 200

Successful response

## Examples

**Response**

```json
{}
```

**SDK Code**

```python
import requests

url = "https://yourcrm.com/leads"

querystring = {"email":"{אימייל}","name":"{שם}","phone":"{טלפון}"}

response = requests.get(url, params=querystring)

print(response.json())
```

```javascript
const url = 'https://yourcrm.com/leads?email=%7B%D7%90%D7%99%D7%9E%D7%99%D7%99%D7%9C%7D&name=%7B%D7%A9%D7%9D%7D&phone=%7B%D7%98%D7%9C%D7%A4%D7%95%D7%9F%7D';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://yourcrm.com/leads?email=%7B%D7%90%D7%99%D7%9E%D7%99%D7%99%D7%9C%7D&name=%7B%D7%A9%D7%9D%7D&phone=%7B%D7%98%D7%9C%D7%A4%D7%95%D7%9F%7D"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://yourcrm.com/leads?email=%7B%D7%90%D7%99%D7%9E%D7%99%D7%99%D7%9C%7D&name=%7B%D7%A9%D7%9D%7D&phone=%7B%D7%98%D7%9C%D7%A4%D7%95%D7%9F%7D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://yourcrm.com/leads?email=%7B%D7%90%D7%99%D7%9E%D7%99%D7%99%D7%9C%7D&name=%7B%D7%A9%D7%9D%7D&phone=%7B%D7%98%D7%9C%D7%A4%D7%95%D7%9F%7D")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://yourcrm.com/leads?email=%7B%D7%90%D7%99%D7%9E%D7%99%D7%99%D7%9C%7D&name=%7B%D7%A9%D7%9D%7D&phone=%7B%D7%98%D7%9C%D7%A4%D7%95%D7%9F%7D');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://yourcrm.com/leads?email=%7B%D7%90%D7%99%D7%9E%D7%99%D7%99%D7%9C%7D&name=%7B%D7%A9%D7%9D%7D&phone=%7B%D7%98%D7%9C%D7%A4%D7%95%D7%9F%7D");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://yourcrm.com/leads?email=%7B%D7%90%D7%99%D7%9E%D7%99%D7%99%D7%9C%7D&name=%7B%D7%A9%D7%9D%7D&phone=%7B%D7%98%D7%9C%D7%A4%D7%95%D7%9F%7D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```