curl --request GET \
--url https://api.nomos.energy/leads \
--header 'Authorization: Bearer <token>'{
"object": "list",
"items": [
{
"object": "lead",
"id": "lead_a8n8ol7yd4h0wohx824f0bui",
"link": "https://nomos.checkout.energy/?id=lead_a8n8ol7yd4h0wohx824f0bui",
"created_at": "2024-03-14T12:00:00Z",
"subscription": "sub_a8n8ol7yd4h0wohx824f0bui",
"subscribed_at": "2024-03-14T12:00:00Z",
"created_by": "[email protected]",
"last_visited_at": "2024-03-14T12:00:00Z",
"metadata": {
"utm_source": "google",
"utm_campaign": "campaign_name",
"user_id": "1234567890"
}
}
]
}Retrieve all leads
curl --request GET \
--url https://api.nomos.energy/leads \
--header 'Authorization: Bearer <token>'{
"object": "list",
"items": [
{
"object": "lead",
"id": "lead_a8n8ol7yd4h0wohx824f0bui",
"link": "https://nomos.checkout.energy/?id=lead_a8n8ol7yd4h0wohx824f0bui",
"created_at": "2024-03-14T12:00:00Z",
"subscription": "sub_a8n8ol7yd4h0wohx824f0bui",
"subscribed_at": "2024-03-14T12:00:00Z",
"created_by": "[email protected]",
"last_visited_at": "2024-03-14T12:00:00Z",
"metadata": {
"utm_source": "google",
"utm_campaign": "campaign_name",
"user_id": "1234567890"
}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Retrieve all leads
list Show child attributes
lead Unique identifier for the lead
"lead_a8n8ol7yd4h0wohx824f0bui"
URL of the lead
"https://nomos.checkout.energy/?id=lead_a8n8ol7yd4h0wohx824f0bui"
Timestamp when the lead was created
"2024-03-14T12:00:00Z"
ID of the subscription, if the lead is converted to a subscription
"sub_a8n8ol7yd4h0wohx824f0bui"
Timestamp when the lead was converted to a subscription
"2024-03-14T12:00:00Z"
Email of the user who created the lead
Timestamp when the lead was last visited
"2024-03-14T12:00:00Z"
Was this page helpful?