curl -X POST https://api.linkedcamp.com/users/register \
-H "token: YOUR_AGENCY_OWNER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Smith",
"email": "jane@example.com",
"planId": "60f7a1b2c3d4e5f6a7b8c9d0"
}'
import requests
response = requests.post(
"https://api.linkedcamp.com/users/register",
headers={"token": "YOUR_AGENCY_OWNER_TOKEN"},
json={
"name": "Jane Smith",
"email": "jane@example.com",
"planId": "60f7a1b2c3d4e5f6a7b8c9d0",
},
)
print(response.json())
const response = await fetch("https://api.linkedcamp.com/users/register", {
method: "POST",
headers: {
"token": "YOUR_AGENCY_OWNER_TOKEN",
"Content-Type": "application/json",
},
body: JSON.stringify({
name: "Jane Smith",
email: "jane@example.com",
planId: "60f7a1b2c3d4e5f6a7b8c9d0",
}),
});
const data = await response.json();
console.log(data);
{
"success": true,
"message": "Sub-account added successfully!"
}
{
"success": false,
"message": "User is already registered with this email!"
}
Users
Register Sub-Account
Create a new sub-account under an agency account.
POST
/
users
/
register
curl -X POST https://api.linkedcamp.com/users/register \
-H "token: YOUR_AGENCY_OWNER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Smith",
"email": "jane@example.com",
"planId": "60f7a1b2c3d4e5f6a7b8c9d0"
}'
import requests
response = requests.post(
"https://api.linkedcamp.com/users/register",
headers={"token": "YOUR_AGENCY_OWNER_TOKEN"},
json={
"name": "Jane Smith",
"email": "jane@example.com",
"planId": "60f7a1b2c3d4e5f6a7b8c9d0",
},
)
print(response.json())
const response = await fetch("https://api.linkedcamp.com/users/register", {
method: "POST",
headers: {
"token": "YOUR_AGENCY_OWNER_TOKEN",
"Content-Type": "application/json",
},
body: JSON.stringify({
name: "Jane Smith",
email: "jane@example.com",
planId: "60f7a1b2c3d4e5f6a7b8c9d0",
}),
});
const data = await response.json();
console.log(data);
{
"success": true,
"message": "Sub-account added successfully!"
}
{
"success": false,
"message": "User is already registered with this email!"
}
This endpoint requires an agency owner token.
Headers
string
required
Token from the agency owner account.
Body Parameters
string
required
Full name of the new sub-account user.
string
required
Email address for the new sub-account. Must be unique and not already registered.
string
The plan ID to assign to the sub-account. If not provided, defaults to “CUSTOMER”.
Response
boolean
Whether the request was successful.
string
A human-readable result message.
curl -X POST https://api.linkedcamp.com/users/register \
-H "token: YOUR_AGENCY_OWNER_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Smith",
"email": "jane@example.com",
"planId": "60f7a1b2c3d4e5f6a7b8c9d0"
}'
import requests
response = requests.post(
"https://api.linkedcamp.com/users/register",
headers={"token": "YOUR_AGENCY_OWNER_TOKEN"},
json={
"name": "Jane Smith",
"email": "jane@example.com",
"planId": "60f7a1b2c3d4e5f6a7b8c9d0",
},
)
print(response.json())
const response = await fetch("https://api.linkedcamp.com/users/register", {
method: "POST",
headers: {
"token": "YOUR_AGENCY_OWNER_TOKEN",
"Content-Type": "application/json",
},
body: JSON.stringify({
name: "Jane Smith",
email: "jane@example.com",
planId: "60f7a1b2c3d4e5f6a7b8c9d0",
}),
});
const data = await response.json();
console.log(data);
{
"success": true,
"message": "Sub-account added successfully!"
}
{
"success": false,
"message": "User is already registered with this email!"
}
⌘I
