cURL
curl --request POST \ --url https://api.agentfirst.dev/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "user@example.com", "credits": 1000 } '
{ "email": "user@example.com", "token": "a1-0dF6qKHYD7SNU5kAtjOmwHpH3iFgpylA" }
Create a whitelabel account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The email address of the user to create an account for; the address is case insensitive and can be up to 255 characters, regardless of character encoding.
"user@example.com"
The number of credits to grant the account.
1000
The new account metadata.
The account email address as recorded by the API.
The bearer token issued to the account for authentication.
"a1-0dF6qKHYD7SNU5kAtjOmwHpH3iFgpylA"