Projects
A project is one brand or client. Posts, connected platform accounts and limit counters belong to it. You only see the projects of your own account.
Create a project
POST/projectsRequires a token
Request body
namestringrequired- Name, up to 100 characters, unique in the account regardless of letter case.
descriptionstring | null- Description, up to 500 characters.
Possible errors
- 400
name: must not be blank - The name is missing or a field is too long.
- 401
(empty body) - The
Authorizationheader is missing, or the token has expired or is invalid. Refresh the session withPOST /auth/refresh. - 403
Limit reached: plan FREE allows 1 projects - You already have as many projects as your plan allows.
- 409
A project with this name already exists - You already have a project with this name.
curl -X POST https://api.usocials.com/projects \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Linden Tree Café","description":"Café in the old town"}'{
"Response": {
"status": {
"code": "201",
"msg": "Created",
"total": "0",
"page": "0",
"pagesize": "0"
},
"data": {
"id": 12,
"name": "Linden Tree Café",
"description": "Café in the old town",
"createdAt": "2026-11-20T10:00:00Z",
"updatedAt": "2026-11-20T10:00:00Z"
}
}
}List projects
GET/projectsRequires a token
Returns all projects of the account. The list is not paginated because the plan limits the number of projects.
Possible errors
- 401
(empty body) - The
Authorizationheader is missing, or the token has expired or is invalid. Refresh the session withPOST /auth/refresh.
curl https://api.usocials.com/projects \
-H "Authorization: Bearer $TOKEN"{
"Response": {
"status": {
"code": "200",
"msg": "OK",
"total": "0",
"page": "0",
"pagesize": "0"
},
"data": [
{
"id": 12,
"name": "Linden Tree Café",
"description": "Café in the old town",
"createdAt": "2026-11-20T10:00:00Z",
"updatedAt": "2026-11-20T10:00:00Z"
}
]
}
}Get a project
GET/projects/{projectId}Requires a token
Response fields
idnumber- Project identifier.
namestring- Name.
descriptionstring | null- Description.
createdAtstring- Creation date (ISO 8601, UTC).
updatedAtstring- Date of the last change (ISO 8601, UTC).
Possible errors
- 401
(empty body) - The
Authorizationheader is missing, or the token has expired or is invalid. Refresh the session withPOST /auth/refresh. - 404
Project not found - The project does not exist or belongs to another account.
curl https://api.usocials.com/projects/12 \
-H "Authorization: Bearer $TOKEN"{
"Response": {
"status": {
"code": "200",
"msg": "OK",
"total": "0",
"page": "0",
"pagesize": "0"
},
"data": {
"id": 12,
"name": "Linden Tree Café",
"description": "Café in the old town",
"createdAt": "2026-11-20T10:00:00Z",
"updatedAt": "2026-11-20T10:00:00Z"
}
}
}Update a project
PUT/projects/{projectId}Requires a token
Replaces the name and description. Send both fields. Leaving out description removes the description.
Request body
namestringrequired- Name, up to 100 characters, unique in the account regardless of letter case.
descriptionstring | null- Description, up to 500 characters.
Possible errors
- 401
(empty body) - The
Authorizationheader is missing, or the token has expired or is invalid. Refresh the session withPOST /auth/refresh. - 404
Project not found - The project does not exist or belongs to another account.
- 409
A project with this name already exists - You already have a project with this name.
curl -X PUT https://api.usocials.com/projects/12 \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Linden Tree Café","description":"Café in the old town"}'{
"Response": {
"status": {
"code": "200",
"msg": "OK",
"total": "0",
"page": "0",
"pagesize": "0"
},
"data": {
"id": 12,
"name": "Linden Tree Café",
"description": "Café in the old town",
"createdAt": "2026-11-20T10:00:00Z",
"updatedAt": "2026-11-23T09:15:00Z"
}
}
}Project usage
GET/projects/{projectId}/usageRequires a token
Returns the project's limits from the plan and their current usage.
Response fields (for each limit)
quotaenumMONTHLY_PUBLICATIONS: publications this month.STORAGE_BYTES: media storage in bytes.limitnumber | null- Limit from the plan.
nullmeans unlimited. usednumber- Usage in the current period.
periodstringYYYY-MM(UTC) for monthly limits,LIFETIMEfor the others.
Possible errors
- 401
(empty body) - The
Authorizationheader is missing, or the token has expired or is invalid. Refresh the session withPOST /auth/refresh. - 404
Project not found - The project does not exist or belongs to another account.
curl https://api.usocials.com/projects/12/usage \
-H "Authorization: Bearer $TOKEN"{
"Response": {
"status": {
"code": "200",
"msg": "OK",
"total": "0",
"page": "0",
"pagesize": "0"
},
"data": [
{
"quota": "MONTHLY_PUBLICATIONS",
"limit": 30,
"used": 26,
"period": "2026-11"
},
{
"quota": "STORAGE_BYTES",
"limit": 524288000,
"used": 0,
"period": "LIFETIME"
}
]
}
}