cURL
curl --request GET \ --url https://api.nomos.energy/leads/{id} \ --header 'Authorization: Bearer <token>'
{ "object": "lead", "id": "lead_a8n8ol7yd4h0wohx824f0bui", "subscription": "sub_a8n8ol7yd4h0wohx824f0bui", "subscribed_at": "2024-03-14T12:00:00Z", "link": "https://nomos.checkout.energy/?id=lead_a8n8ol7yd4h0wohx824f0bui", "created_at": "2024-03-14T12:00:00Z", "metadata": { "utm_source": "google", "utm_campaign": "campaign_name", "user_id": "1234567890" } }
Retrieve lead details by its id
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"lead_zz794uszcr8u7riy7a8hfje8"
Retrieve the lead details
The response is of type object.
object