Customers
View as Markdown

List customers (cursor-paginated)

Needs the customers:read scope, or a full-access key. About scopes

GET
/api/v1/customers

Authorization

Authorization
Required
Bearer <token>

An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).

In: header

Query Parameters

limitstring

Default 20, max 100.

cursorstring

next_cursor from the previous page.

external_idstring

Exact match on the merchant’s own id.

Minimum length: 1Maximum length: 200

emailstring

Exact match.

Minimum length: 1Maximum length: 320
curl -X GET "https://globalymint.com/api/v1/customers?limit=string&cursor=string&external_id=string&email=string" \
  -H "Authorization: Bearer <token>"

A page of results.

{
  "data": {
    "items": [
      {
        "active_subs_count": 0,
        "total_revenue_cents": "1999"
      }
    ],
    "next_cursor": "string"
  },
  "_agent": {
    "summary": "string",
    "status": "ok",
    "next_actions": [
      "string"
    ],
    "warnings": [
      "string"
    ]
  },
  "api_version": "2026-07-01"
}