curl --request GET \
  --url https://api.usepylon.com/accounts \
  --header 'Authorization: Bearer <token>'

Get all customer accounts.

Response

Example response

{
    "data": [
        {
            "id": "22d1ba84-0d2e-4c33-92dc-01bb6c58be54",
            "name": "Stripe",
            "domain": "stripe.com",
            "owner": {
                "id": "d87494ba-a40d-4cb1-b478-faf1fc7de36d"
            }
        },
        {
            "id": "5d3f0aac-bfeb-4701-8399-d4c3a7a77c5d",
            "name": "Walmart",
            "domain": "walmart.com",
            "owner": {
                "id": "d87494ba-a40d-4cb1-b478-faf1fc7de36d"
            }
        }
    ],
    "request_id": "ff94ff86-a755-4ebb-a16f-41aae732fc9c"
}