Skip to main content

Authentication

All endpoints use the x-api-key header, and the same API key works across the entire API.

Get a key through Laser Setup. It creates your account, its only API key, and its default managed wallet in one unauthenticated request. The key is returned once and cannot be retrieved or rotated through the API.

const headers = {
"content-type": "application/json",
"x-api-key": "pb_your_key",
};

Missing or invalid keys return 401.

{
"detail": "missing api key"
}

Authorization: Bearer pb_... is also accepted, but x-api-key is the recommended form for all examples.

The documentation does not cover dashboard login, billing, plan management, or admin endpoints.