kya_getHeaders
Retrieve Kya-Token identity headers to authenticate your HTTP requests. Use after establishing identity with kya_getAgentIdentity for Playwright, browser extensions, or any HTTP client.
Instructions
Get identity headers for your own HTTP requests. Returns a Kya-Token header you can attach to requests made through Playwright, browser extensions, or any HTTP client you control.
Call kya_getAgentIdentity first to establish your identity. Then pass these headers to page.setExtraHTTPHeaders() for browser automation, or set as a cookie via document.cookie for Chrome extensions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merchant | No | The merchant domain to get headers for (e.g., 'etsy.com'). If omitted, uses the most recently enrolled merchant. |