GET
/
leads
Get all leads
curl --request GET \
  --url https://api.nomos.energy/leads \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "items": [
    {
      "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.

Response

200
application/json

Retrieve all leads

The response is of type object.