cURL
curl --request POST \ --url https://api.ngrok.com/bot_users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'ngrok-version: <ngrok-version>' \ --data ' { "name": "<string>", "active": true } '
{ "id": "<string>", "uri": "<string>", "name": "<string>", "active": true, "created_at": "<string>" }
Create a new bot user
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
human-readable name used to identify the bot
whether or not the bot is active
unique API key resource identifier
URI to the API resource of this bot user
timestamp when the api key was created, RFC 3339 format
Was this page helpful?