Hey, human!
This is what your agent sees atdocs.example.com/endpoint/createuser
HTTP/2 200 OK content-type: text/markdown; charset=utf-8 vary: accept, user-agent x-agent: [ai_agent]
Loading the agent response…
Create a user
Registers a new user. The user is automatically assigned an ID.
What you provide
- Usernameoptional: Username
- Emailoptional: Email address
- Roleoptional: User role
Do this with AI
I want to create a user. Use the Test API. Read the reference for this operation and follow it exactly: https://docs.eggubator.co/endpoint/createuser.md Authenticate with your API key as a Bearer token in the Authorization header. Then make the request for me and tell me what came back.
Paste this into Claude, Cursor, or any AI assistant and it will do it for you.
POST
https://google.com/userscurl --request POST \
--url https://google.com/users \
--header 'Authorization: Bearer $API_KEY' \
--header 'Content-Type: application/json' \
--data '
{
"username": "jdoe",
"email": "jdoe@example.com",
"role": "admin"
}
'Body
application/jsonrequiredusernamestringUsername
emailstring · emailEmail address
rolestringUser role