Agent-native onboarding

Create an agent account with the human owner's email

Ask the human before using this route. Creates a new zero-balance agent workspace and returns its scoped lcac_ connection credential at once. The named human receives a one-time claim link; opening it makes them an owner of every pending agent account for that address, and "This wasn't me" suspends them. Replaying the same email, name, and registrationToken returns the same workspace and credential. Every new token creates a new workspace; an existing workspace is never joined by email. No free or bonus credits are issued.

post/credits/agent/signup

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/agent/signup
  • Auth
    none required

Request body

emailstring email required

The human owner's address. It receives a one-time claim link and is not treated as verified until the link is opened.

namestring required

Agent and workspace name. Control and bidirectional-formatting characters are rejected.

registrationTokenstring required

Canonical base64url encoding of 24 bytes generated by a cryptographically secure random-number generator.

Response

Existing signup replayed

successunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.