Developers: Clay
Find work emails in Clay
Turn a column of LinkedIn URLs into work emails with your GTMMAXING credits. Setup takes about five minutes and needs no code.
Cost: 1 credit per email found, 3 with mailbox verification. Misses are free, and re-running a row your account already paid for is free.
1. Get your API key
Sign in, open API keys, click Create token and copy it.
2. Add an HTTP API column
In your Clay table, click Add enrichment, search for HTTP API, and fill it in:
| Setting | Value |
|---|---|
| Method | POST |
| Endpoint | https://api.gtmmaxing.com/v1/agent/tools/gtm_find_contacts |
Header Authorization | Bearer YOUR_API_KEY |
Header Content-Type | application/json |
Header X-GTM-Source | clay |
Body, where /LinkedIn Profile is your column of profile URLs (type / to insert it):
{
"people": ["/LinkedIn Profile"],
"verify": true,
"max_credits": 3
}
Set "verify": false and "max_credits": 1 to skip the mailbox check.
max_credits is a hard cap per row, so a row can never cost more than that.
Re-running a profile your account already paid for is free, so Clay retries do not charge twice.
3. Map the result fields
Run the column on one row, then use Add as column on these response fields:
| Clay column | Response path |
|---|---|
answer.rows[0][1] | |
| Verdict | answer.rows[0][2] |
| Name | answer.rows[0][0] |
| GTMMAXING status | answer.status |
| Summary | answer.summary |
For contacts, answer.columns is ["name", "email", "verdict"].
verdict is deliverable or invalid when you verify.
A row with status not_found cost nothing.
4. Turn on auto-run
Set the column to auto-run when LinkedIn Profile is not empty. New rows from any source, such as a LinkedIn import, a CRM sync or a webhook, get emails automatically.
Optional: rate limit and big tables
In the column’s Rate limit settings, 2 requests per second is plenty.
If a row ever shows answer.status running, add a second HTTP API column that only runs when status is running:
- Endpoint
https://api.gtmmaxing.com/v1/agent/tools/gtm_results - Body
{"run_id": "/GTMMAXING Run ID"}, after mappinganswer.run_idto a column
gtm_results is always free.
Other GTMMAXING tools in Clay
Any tool works the same way: change the endpoint and body.
| Goal | Endpoint tool | Body |
|---|---|---|
| Email from name and company | gtm_find_contacts | {"named":[{"name":"/Full Name","company":"/Company"}],"max_credits":2} |
| Mobile number | gtm_find_contacts | {"people":["/LinkedIn Profile"],"find":["phone"],"max_credits":5} |
| Company brief | gtm_research_company | {"company":"/Domain","max_credits":2} |
| Recent LinkedIn posts | gtm_tools | {"action":"run","capability":"linkedin-activity","input":{"profile":"/LinkedIn Profile"},"max_credits":1} |
Full reference: GTMMAXING API.