cURL
curl --request POST \ --url https://api-dev.meeamitech.com/auth/v1/apikeys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Suresh", "isPublic": true } '
{ "message": "API key is created successfully", "data": { "_id": "67c52a1526865c41a282c4e9", "teamId": "67a2ea1d828c9098134e7b92", "name": "Suresh", "key": "3289e233-93f7-411e-9d06-308c26fc278f", "createdAt": "2025-03-03T03:58:10.357+00:00", "expiresAt": "2025-03-10T04:03:33.131+00:00", "uuid": "67af1bcea4f8dca74f0d51b0", "isPublic": true } }
Create a new API key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
API key details to be created
Whether the API key is public.
true
false
Name of the API key.
List of allowed origins (only required if isPublic is false).
API Key created successfully