Register an agent
Register an agent to obtain the credentials (agent_id, token, and login JWT) used by the FluxA HTTP APIs.
POST
/register
Request Body
application/json
Agent registration request.
Human-readable name for the agent.
Free-form information about the client registering the agent.
Responses
Agent registered successfully.
application/json
Credentials returned on successful registration.
Unique identifier for the agent.
OAuth-style secret used with /refresh. Store securely.
Login JWT (bearer token) used when calling FluxA payment and payout endpoints.
The supplied agent name, when one was provided.
Reminder that the persistent token is returned only once.
{
"agent_id": "<string>",
"token": "<string>",
"jwt": "<string>",
"agent_name": "<string>",
"message": "<string>"
}