GET
/
leads
/
{id}
Get a lead
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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Example:

"lead_zz794uszcr8u7riy7a8hfje8"

Response

200
application/json

Retrieve the lead details

The response is of type object.