Generate API key
This section provides instructions on using /user/generate-apikey
endpoint to generarte new API key.
Step 1: Prepare Your Request
Endpoint:
/user/generate-apikey
Method:
GET
URL:
https://api.talkstackai.com/user/generate-apikey
Headers: Include
Content-Type: application/json
.Authorization: Bearer token
Step 2: Send the Request
Use your preferred HTTP client to send the GET request.
Step 3: Handle the request
Success Response:
Status Code:
200 OK
Body:
Troubleshooting
401 Unauthorized
: If the user is unauthorized.500 Internal Server Error
: For errors in creating API key.
Last updated