Authorization: Bearer ********************
{ "role": "admin", "email": "jane.doe@example.com", "name": "Jane Doe", "display_name": "Jane", "status": "active" }
curl --location --request POST 'https://api.mottasl.ai/v1/agent' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "role": "admin", "email": "jane.doe@example.com", "name": "Jane Doe", "display_name": "Jane", "status": "active" }'
{ "success": true, "message": "agent created", "data": [ { "agent_id":"123" } ] }