API ReferenceapifollowsGET /v1/follows/counts/{subject_id}

GET /v1/follows/counts/\{subject_id\}

Service: follows · operationId: (none)

Required scopes

(no scope declared — review service config)

Path parameters

  • subject_id (string) required

Query parameters

  • brand_id (string) required

Responses

200 Follower/following counts

{
  "type": "object",
  "properties": {
    "followers": {
      "type": "integer"
    },
    "following": {
      "type": "integer"
    }
  },
  "required": [
    "followers",
    "following"
  ]
}

Example

curl -X GET https://follows.platform.loop.health/v1/follows/counts/{subject_id} \
  -H "Authorization: Bearer $ACCESS_TOKEN"