Skip to content

Docs / All tools / Loop IV: Validation

validation.run.sender

View or save sender details, including the postal address and landing page site, and see whether sending is ready.

0 credits. Free: setup.

Example prompt

Send this to your AI app when Heelo is connected:

Save my postal address for validation e-mails: 123 Main St, Springfield, IL 62701. Can I send now?

Input fields

FieldTypeDescription
physical_addressstring
landing_site_idstring
from_emailstringIn tenant mode: which of your verified default senders (outbound.mail.sender_list) runs send from
end_user_idstring

Code

The call with the input fields that the tool needs. Set HEELO_API_KEY to your API key.

import os
import requests

response = requests.post(
    "https://toolsprimitives.uk/v1/tools/validation.run.sender/invoke",
    headers={"Authorization": f"Bearer {os.environ['HEELO_API_KEY']}"},
    json={"input": {}},
    timeout=120,
)
response.raise_for_status()
print(response.json())