u-social

Plans and limits

The account plan sets the number of projects and the limits of each project. Limits are checked on save, so they cannot be exceeded even with parallel requests.

New accounts get the Free plan. A comparison for customers is on the Plans and pricing page.

Plan limits
PlanProjectsPublications / mo.Storage
FREE130500 MB
PREMIUM31502 GB
BUSINESS101,00010 GB
ENTERPRISE50unlimited50 GB

How publications are counted

  • One publication is one post on one platform. A post to Facebook and TikTok uses 2 publications.
  • Publications are counted when the post is created, also when it is scheduled for later, per calendar month in UTC. The counter resets on the 1st of the month at 00:00 UTC.
  • A publication counts even if the platform rejects it.
  • Each project has its own counter. Once the limit is used up, creating a post returns 403 and the post is not saved.
  • The Enterprise plan has no publication limit on our side, but the limits of Facebook and TikTok still apply, for example the daily number of posts per TikTok account.
Response 403
{
  "Response": {
    "status": {
      "code": "403",
      "msg": "Limit reached: plan FREE allows 30 publications per project this month",
      "total": "0",
      "page": "0",
      "pagesize": "0"
    },
    "data": null
  }
}

File and content limits

Files per postlimit
Up to 20 files.
File sizelimit
Up to 512 MB per file, up to 1 GB per request.
Formatslimit
Photos: JPEG, PNG, WEBP. Videos: MP4, MOV. The type is detected from the file content, not the name.
Post textlimit
Up to 63,206 characters. Platforms have lower limits.
Projectlimit
Name up to 100 characters, unique in the account regardless of letter case. Description up to 500 characters.

Per-platform limits, such as 2,200 characters for a TikTok video caption, are described on the Facebook and TikTok page.

Response 413
{
  "Response": {
    "status": {
      "code": "413",
      "msg": "Uploaded files are too large",
      "total": "0",
      "page": "0",
      "pagesize": "0"
    },
    "data": null
  }
}

Account plan

GET/planRequires a token

Returns the account plan, its limits and the number of projects created.

Response fields

planenum
FREE, PREMIUM, BUSINESS or ENTERPRISE.
maxProjectsnumber | null
Maximum number of projects. null means unlimited.
projectsnumber
Number of projects created.
monthlyPublicationsPerProjectnumber | null
Publications per project per month. null means unlimited.
storageBytesPerProjectnumber | null
Media storage per project in bytes.

The usage of a specific project is returned by GET /projects/{projectId}/usage.

Possible errors

401(empty body)
The Authorization header is missing, or the token has expired or is invalid. Refresh the session with POST /auth/refresh.
GET/plan
curl https://api.usocials.com/plan \
  -H "Authorization: Bearer $TOKEN"
Response 200
{
  "Response": {
    "status": {
      "code": "200",
      "msg": "OK",
      "total": "0",
      "page": "0",
      "pagesize": "0"
    },
    "data": {
      "plan": "FREE",
      "maxProjects": 1,
      "projects": 1,
      "monthlyPublicationsPerProject": 30,
      "storageBytesPerProject": 524288000
    }
  }
}