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 is the legacy v1 API. It keeps working, but new features ship in API v2. Use v2 for new integrations.
This endpoint requires an agency owner token.
Headers
Body Parameters
Response
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!"
}
