X (Twitter) · JSON Structure

X Api Users Following Create Request Structure

UsersFollowingCreateRequest schema from X API v2

Type: object Properties: 1 Required: 1
Social MediaMicrobloggingReal-Time DataStreamingAdvertisingContent

UsersFollowingCreateRequest is a JSON Structure definition published by X (Twitter), describing 1 property, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

target_user_id

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twitter/refs/heads/main/json-structure/x-api-users-following-create-request-structure.json",
  "name": "UsersFollowingCreateRequest",
  "description": "UsersFollowingCreateRequest schema from X API v2",
  "type": "object",
  "properties": {
    "target_user_id": {
      "type": "string",
      "description": "Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.",
      "pattern": "^[0-9]{1,19}$",
      "example": "2244994945"
    }
  },
  "required": [
    "target_user_id"
  ]
}