Hybriqx Social API

The social API from Hybriqx — 27 operation(s) for social.

GitHub OpenAPI

Operations 34

GET /api/social/export Export #
GET /api/social/baseline Baseline Preview #
PUT /api/social/profile Profile #
POST /api/social/profile Profile #
GET /api/social/bootstrap Bootstrap #
GET /api/social/people People #
POST /api/social/follows/{target} Follow #
DELETE /api/social/follows/{target} Unfollow #
POST /api/social/follows/{requester}/accept Accept #
POST /api/social/blocks/{target} Block #
DELETE /api/social/blocks/{target} Unblock #
GET /api/social/workouts Workouts #
GET /api/social/feed Feed #
POST /api/social/posts Publish #
DELETE /api/social/posts/{post_id} Delete Post #
DELETE /api/social/posts/{post_id}/kudos Kudos #
POST /api/social/posts/{post_id}/kudos Kudos #
POST /api/social/posts/{post_id}/comments Comment #
DELETE /api/social/posts/{post_id}/comments/{comment_id} Delete Comment #
GET /api/social/events Events #
POST /api/social/attendance Attend #
DELETE /api/social/attendance/{event_id} Unattend #
GET /api/social/squads List Squads #
POST /api/social/squads Create Squad #
POST /api/social/squads/join Join Squad #
GET /api/social/squads/{squad_id} Get Squad #
DELETE /api/social/squads/{squad_id} Delete Squad #
POST /api/social/squads/{squad_id}/invite Rotate Invite #
DELETE /api/social/squads/{squad_id}/members/{target} Leave Squad #
POST /api/social/squads/{squad_id}/results Submit Result #
DELETE /api/social/squads/{squad_id}/results Retract Result #
POST /api/social/squads/{squad_id}/baseline Share Baseline #
DELETE /api/social/squads/{squad_id}/baseline/me Retract Baseline #
POST /api/social/reports Report #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hybriqx-com:hybriqx-com-social-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hybriqx-com-social-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hybriqx Social API
  description: Hybriqx athlete and gym app.
  version: 0.1.0
tags:
- name: Social
paths:
  /api/social/export:
    get:
      tags:
      - Social
      summary: Export
      operationId: export_api_social_export_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/social/baseline:
    get:
      tags:
      - Social
      summary: Baseline Preview
      operationId: baseline_preview_api_social_baseline_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/social/profile:
    put:
      tags:
      - Social
      summary: Profile
      operationId: profile_api_social_profile_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProfileInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Social
      summary: Profile
      operationId: profile_api_social_profile_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProfileInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/bootstrap:
    get:
      tags:
      - Social
      summary: Bootstrap
      operationId: bootstrap_api_social_bootstrap_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/social/people:
    get:
      tags:
      - Social
      summary: People
      operationId: people_api_social_people_get
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          maxLength: 60
          default: ''
          title: Q
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/follows/{target}:
    post:
      tags:
      - Social
      summary: Follow
      operationId: follow_api_social_follows__target__post
      parameters:
      - name: target
        in: path
        required: true
        schema:
          type: string
          title: Target
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Social
      summary: Unfollow
      operationId: unfollow_api_social_follows__target__delete
      parameters:
      - name: target
        in: path
        required: true
        schema:
          type: string
          title: Target
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/follows/{requester}/accept:
    post:
      tags:
      - Social
      summary: Accept
      operationId: accept_api_social_follows__requester__accept_post
      parameters:
      - name: requester
        in: path
        required: true
        schema:
          type: string
          title: Requester
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/blocks/{target}:
    post:
      tags:
      - Social
      summary: Block
      operationId: block_api_social_blocks__target__post
      parameters:
      - name: target
        in: path
        required: true
        schema:
          type: string
          title: Target
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Social
      summary: Unblock
      operationId: unblock_api_social_blocks__target__delete
      parameters:
      - name: target
        in: path
        required: true
        schema:
          type: string
          title: Target
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/workouts:
    get:
      tags:
      - Social
      summary: Workouts
      operationId: workouts_api_social_workouts_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/social/feed:
    get:
      tags:
      - Social
      summary: Feed
      operationId: feed_api_social_feed_get
      parameters:
      - name: before
        in: query
        required: false
        schema:
          anyOf:
          - type: number
            minimum: 0
          - type: 'null'
          title: Before
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 30
          minimum: 1
          default: 30
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/posts:
    post:
      tags:
      - Social
      summary: Publish
      operationId: publish_api_social_posts_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/posts/{post_id}:
    delete:
      tags:
      - Social
      summary: Delete Post
      operationId: delete_post_api_social_posts__post_id__delete
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/posts/{post_id}/kudos:
    delete:
      tags:
      - Social
      summary: Kudos
      operationId: kudos_api_social_posts__post_id__kudos_delete
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Social
      summary: Kudos
      operationId: kudos_api_social_posts__post_id__kudos_post
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/posts/{post_id}/comments:
    post:
      tags:
      - Social
      summary: Comment
      operationId: comment_api_social_posts__post_id__comments_post
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/agent_service__social__CommentInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/posts/{post_id}/comments/{comment_id}:
    delete:
      tags:
      - Social
      summary: Delete Comment
      operationId: delete_comment_api_social_posts__post_id__comments__comment_id__delete
      parameters:
      - name: post_id
        in: path
        required: true
        schema:
          type: string
          title: Post Id
      - name: comment_id
        in: path
        required: true
        schema:
          type: string
          title: Comment Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/events:
    get:
      tags:
      - Social
      summary: Events
      operationId: events_api_social_events_get
      parameters:
      - name: q
        in: query
        required: false
        schema:
          type: string
          maxLength: 120
          default: ''
          title: Q
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/attendance:
    post:
      tags:
      - Social
      summary: Attend
      operationId: attend_api_social_attendance_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/agent_service__social__AttendanceInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/attendance/{event_id}:
    delete:
      tags:
      - Social
      summary: Unattend
      operationId: unattend_api_social_attendance__event_id__delete
      parameters:
      - name: event_id
        in: path
        required: true
        schema:
          type: string
          title: Event Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/squads:
    get:
      tags:
      - Social
      summary: List Squads
      operationId: list_squads_api_social_squads_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
    post:
      tags:
      - Social
      summary: Create Squad
      operationId: create_squad_api_social_squads_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SquadInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/squads/join:
    post:
      tags:
      - Social
      summary: Join Squad
      operationId: join_squad_api_social_squads_join_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/agent_service__social__JoinInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/squads/{squad_id}:
    get:
      tags:
      - Social
      summary: Get Squad
      operationId: get_squad_api_social_squads__squad_id__get
      parameters:
      - name: squad_id
        in: path
        required: true
        schema:
          type: string
          title: Squad Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Social
      summary: Delete Squad
      operationId: delete_squad_api_social_squads__squad_id__delete
      parameters:
      - name: squad_id
        in: path
        required: true
        schema:
          type: string
          title: Squad Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/squads/{squad_id}/invite:
    post:
      tags:
      - Social
      summary: Rotate Invite
      operationId: rotate_invite_api_social_squads__squad_id__invite_post
      parameters:
      - name: squad_id
        in: path
        required: true
        schema:
          type: string
          title: Squad Id
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
              - $ref: '#/components/schemas/InviteInput'
              - type: 'null'
              title: Body
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/squads/{squad_id}/members/{target}:
    delete:
      tags:
      - Social
      summary: Leave Squad
      operationId: leave_squad_api_social_squads__squad_id__members__target__delete
      parameters:
      - name: squad_id
        in: path
        required: true
        schema:
          type: string
          title: Squad Id
      - name: target
        in: path
        required: true
        schema:
          type: string
          title: Target
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/squads/{squad_id}/results:
    post:
      tags:
      - Social
      summary: Submit Result
      operationId: submit_result_api_social_squads__squad_id__results_post
      parameters:
      - name: squad_id
        in: path
        required: true
        schema:
          type: string
          title: Squad Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/agent_service__social__ResultInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Social
      summary: Retract Result
      operationId: retract_result_api_social_squads__squad_id__results_delete
      parameters:
      - name: squad_id
        in: path
        required: true
        schema:
          type: string
          title: Squad Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/squads/{squad_id}/baseline:
    post:
      tags:
      - Social
      summary: Share Baseline
      operationId: share_baseline_api_social_squads__squad_id__baseline_post
      parameters:
      - name: squad_id
        in: path
        required: true
        schema:
          type: string
          title: Squad Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BaselineInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/squads/{squad_id}/baseline/me:
    delete:
      tags:
      - Social
      summary: Retract Baseline
      operationId: retract_baseline_api_social_squads__squad_id__baseline_me_delete
      parameters:
      - name: squad_id
        in: path
        required: true
        schema:
          type: string
          title: Squad Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/social/reports:
    post:
      tags:
      - Social
      summary: Report
      operationId: report_api_social_reports_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReportInput'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    agent_service__social__ResultInput:
      properties:
        total_seconds:
          type: number
          maximum: 86400.0
          minimum: 600.0
          title: Total Seconds
        splits:
          additionalProperties:
            type: number
          type: object
          maxProperties: 16
          title: Splits
        division:
          type: string
          title: Division
        result_type:
          type: string
          title: Result Type
        confirmed:
          type: boolean
          title: Confirmed
      additionalProperties: false
      type: object
      required:
      - total_seconds
      - division
      - result_type
      - confirmed
      title: ResultInput
    BaselineInput:
      properties:
        confirmed:
          type: boolean
          title: Confirmed
        fingerprint:
          type: string
          pattern: ^[a-f0-9]{64}$
          title: Fingerprint
      additionalProperties: false
      type: object
      required:
      - confirmed
      - fingerprint
      title: BaselineInput
    ReportInput:
      properties:
        kind:
          type: string
          title: Kind
        target_id:
          type: string
          maxLength: 200
          minLength: 1
          title: Target Id
        reason:
          type: string
          maxLength: 500
          minLength: 1
          title: Reason
      additionalProperties: false
      type: object
      required:
      - kind
      - target_id
      - reason
      title: ReportInput
    agent_service__social__CommentInput:
      properties:
        text:
          type: string
          maxLength: 500
          minLength: 1
          title: Text
      additionalProperties: false
      type: object
      required:
      - text
      title: CommentInput
    agent_service__social__AttendanceInput:
      properties:
        event_id:
          type: string
          maxLength: 100
          minLength: 1
          title: Event Id
        division:
          type: string
          title: Division
        result_type:
          type: string
          title: Result Type
      additionalProperties: false
      type: object
      required:
      - event_id
      - division
      - result_type
      title: AttendanceInput
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PostInput:
      properties:
        workout_id:
          type: string
          maxLength: 200
          minLength: 1
          title: Workout Id
        workout_fingerprint:
          type: string
          pattern: ^[a-f0-9]{64}$
          title: Workout Fingerprint
      additionalProperties: false
      type: object
      required:
      - workout_id
      - workout_fingerprint
      title: PostInput
    SquadInput:
      properties:
        name:
          type: string
          maxLength: 60
          minLength: 1
          title: Name
        event_id:
          type: string
          maxLength: 100
          minLength: 1
          title: Event Id
      additionalProperties: false
      type: object
      required:
      - name
      - event_id
      title: SquadInput
    InviteInput:
      properties:
        invite_code:
          type: string
          pattern: ^(\d{5})?$
          title: Invite Code
          default: ''
      additionalProperties: false
      type: object
      title: InviteInput
    ProfileInput:
      properties:
        location:
          anyOf:
          - type: string
            maxLength: 60
          - type: 'null'
          title: Location
        photo:
          anyOf:
          - type: string
            maxLength: 100000
            pattern: ^(data:image/(jpeg|png|webp);base64,[A-Za-z0-9+/=]+)?$
          - type: 'null'
          title: Photo
        enabled:
          type: boolean
          title: Enabled
          default: true
      additionalProperties: false
      type: object
      title: ProfileInput
    agent_service__social__JoinInput:
      properties:
        invite_code:
          type: string
          maxLength: 100
          minLength: 5
          title: Invite Code
      additionalProperties: false
      type: object
      required:
      - invite_code
      title: JoinInput
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError