User Creation API
The User Creation API service registers a new user under an existing organization and generates a user-specific API key, which must be securely stored. The request must include Admin_Api_Key
, belonging to the active organization with which the new user will be associated. By default, the new user is assigned the role of "user" and a status of "active." By default, newly created users are assigned the role "user" and status "active".
Endpoint Details:
- URL: https://signals.smarte.pro/signals/v1/user/createsignalapikey
- Method: POST
Input Parameters
Required Headers:
Header | Value Type | Required | Description |
---|---|---|---|
Admin-Api-key | string | yes | Admin-level API key of the organization |
Content-Type | string | yes | Must be application/json |
Request Body Parameters:
Parameter | Type | Required | Description |
---|---|---|---|
email | string | yes | Email ID of the new user |
Sample
Request
curl --location 'https://signals.smarte.pro/signals/v1/user/createsignalapikey' \
--header 'Admin_Api_Key: Flexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxp4=' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "dev.udi@smarte.pro"
}'
Response
{
"message": "New User registered successfully. Key Generated",
"data": {
"userId": "6d7800ad-81b0-4b60-9a0f-821a1944346b",
"organization": {
"orgId": "8b884c5f-d9a3-4620-bf09-8dd263610581",
"orgName": "smarte",
"website": "https://www.smarte.pro/",
"cleanedWebsite": "smarte.pro",
"status": "active",
"dailyRateLimit": 10000,
"qpsLimit": 5,
"createdAt": "2025-04-10T18:49:51.000+00:00",
"updatedAt": "2025-04-10T18:52:46.000+00:00",
"adminApiKey": null
},
"email": "dev.udi@smarte.pro",
"role": "user",
"status": "active",
"createdAt": "2025-04-10T18:56:49.982+00:00",
"updatedAt": "2025-04-10T18:56:49.982+00:00",
"apiKey": [
"mIGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxJHY"
]
}
}