HalalAdzDevelopers বাংলা · EN Go to dashboard
Docs menu

API

Agencies: clients and partners

Advertising agencies: clients

GET /reports/agency/clients

One login for many clients. With the agency account's key (read) read each client's status, role, who is billed and the totals for the range (active clients). A client's name is null until they accept; invite e-mails are never shown. A key made by a limited manager or viewer sees only the clients that member was given. Not an agency → 403 not_an_agency.

curl
curl "https://api.halaladz.com/api/v1/reports/agency/clients?from=2026-12-01&to=2026-12-05" \
  -H "Authorization: Bearer $HALALADZ_KEY"
JSON
{
  "from": "2026-12-01", "to": "2026-12-05", "currency": "BDT",
  "items": [
    { "id": 12, "clientAccountId": 501, "clientName": "Green Dates Shop", "status": "active",
      "role": "manager", "billingParty": "client",
      "invitedAt": "2026-11-10T06:00:00.000Z", "acceptedAt": "2026-11-11T08:30:00.000Z",
      "totals": { "impressions": "18200", "views": "15100", "clicks": "402", "conversions": "37",
        "spendMicros": "2950000000", "timezone": "Asia/Dhaka" } }
  ],
  "nextCursor": null
}

For one client's day-by-day detail use the Reports API with the client account's own key. The dashboard also gives PDF reports with your agency's logo.

Publisher agencies: partners Coming soon

GET /reports/agency/partners Coming soon

Earnings of publishers who accepted to join your agency, and your share — comes when publisher agencies open. Today this request answers 404 feature_not_enabled.