Shortimize Collection Management API

Organize accounts and videos into collections

GitHub OpenAPI

Operations 11

GET /collections Get All Collections #
POST /collections Create Collection #
GET /collections/{collection_id} Get Collection #
PATCH /collections/{collection_id} Update Collection #
DELETE /collections/{collection_id} Delete Collection #
GET /collections/{collection_id}/videos Get Collection Videos #
POST /collections/{collection_id}/videos Add Videos to Collection #
DELETE /collections/{collection_id}/videos Remove Videos from Collection #
GET /collections/{collection_id}/accounts Get Collection Accounts #
POST /collections/{collection_id}/accounts Add Accounts to Collection #
DELETE /collections/{collection_id}/accounts Remove Accounts from Collection #

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/shortimize-com:shortimize-com-collection-management-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

shortimize-com-collection-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Shortimize Collection Management API
  description: 'Shortimize API provides endpoints for managing and tracking social media accounts and videos.


    ## Rate Limits


    All API endpoints are rate limited per user. Rate limits vary by plan and endpoint:


    | Plan | Standard endpoints | Tracking & History endpoints |

    |------|-------------------|-----------------------------|

    | **Limited (trial)** | 5 requests per minute | 5 requests per minute |

    | **Basic** | 15 requests per minute | 15 requests per minute |

    | **Premium** | 30 requests per minute | 120 requests per minute |


    When rate limited, you''ll receive a `429 Too Many Requests` response. Check the `RateLimit-*` headers for limit status.


    When you exceed a limit you get `429` with a **`Retry-After`** header giving the whole number of seconds to wait. That is the time left in the current window rather than a fixed minute, so a request rejected near the end of a window gets a short wait. The same number is in `RateLimit-Reset`, and `RateLimit-Limit` / `RateLimit-Remaining` show your allowance and what is left of it. Limits are per organisation, so all API keys in one organisation share them.'
servers:
- url: https://api.shortimize.com
  description: Production
tags:
- name: Collection Management
  description: Organize accounts and videos into collections
  x-zudoku-collapsed: false
paths:
  /collections:
    get:
      tags:
      - Collection Management
      operationId: get_all_collections
      summary: Get All Collections
      description: '**All tiers** — Limited/Basic: 1 result with masked metrics. Premium: full access.


        Retrieves all collections linked to your organisation. Collections are used to organize and group accounts and videos for easier management.


        **Rate Limit:** 5 (limited) / 15 (basic) / 30 (premium) requests per minute'
      parameters:
      - name: Authorization
        in: header
        required: true
        description: Bearer token for authentication
        schema:
          type: string
        example: Bearer YOUR_KEY_HERE
      - name: parent_id
        in: query
        description: Filter collections by parent ID. Use 'null' for root-level collections only.
        required: false
        schema:
          type: string
      - name: include_children
        in: query
        description: Include child collections in the response
        required: false
        schema:
          type: boolean
          default: false
      - in: query
        name: paginated
        schema:
          type: boolean
          default: false
        description: Set to true to receive paginated response with {data, pagination} format instead of {data, count}
      - in: query
        name: page
        schema:
          type: integer
          default: 1
          minimum: 1
        description: Page number for pagination (requires paginated=true)
      - in: query
        name: limit
        schema:
          type: integer
          default: 5000
          minimum: 1
          maximum: 5000
        description: Number of items to return per page
      - in: query
        name: order_by
        schema:
          type: string
          default: created_at
        description: Field to order results by
      - in: query
        name: order_direction
        schema:
          type: string
          default: desc
          enum:
          - asc
          - desc
        description: Direction of ordering (ascending or descending)
      responses:
        '200':
          description: Successful response with a list of collections
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          description: Unique identifier for the collection
                        name:
                          type: string
                          description: Collection name
                        organisation_id:
                          type: string
                          format: uuid
                          description: Organisation that owns this collection
                        parent_id:
                          type:
                          - string
                          - 'null'
                          format: uuid
                          description: Parent collection ID for nested collections
                        access:
                          type: string
                          enum:
                          - private
                          - public
                          - protected
                          description: Access level for the collection
                        hash:
                          type:
                          - string
                          - 'null'
                          description: Share hash for public/protected collections
                        display_settings:
                          type:
                          - object
                          - 'null'
                          description: Display configuration for public collections
                        created_by:
                          type: string
                          format: uuid
                          description: User who created the collection
                        created_at:
                          type: string
                          format: date-time
                          description: Creation timestamp
                        hashtags:
                          type: array
                          items:
                            type: string
                          description: Hashtags associated with this collection
                  count:
                    type: integer
                    description: Number of collections returned
        '401':
          description: Unauthorized - Invalid or missing API key
        '403':
          description: Forbidden - Insufficient permissions
    post:
      tags:
      - Collection Management
      operationId: create_collection
      summary: Create Collection
      description: 'Creates a new collection for organizing accounts and videos.


        **Rate Limit:** 5 (limited) / 15 (basic) / 30 (premium) requests per minute'
      parameters:
      - name: Authorization
        in: header
        required: true
        description: Bearer token for authentication
        schema:
          type: string
        example: Bearer YOUR_KEY_HERE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              properties:
                name:
                  type: string
                  description: Collection name
                  maxLength: 100
                parent_id:
                  type: string
                  format: uuid
                  description: Optional parent collection ID for nested collections
                access:
                  type: string
                  enum:
                  - private
                  - public
                  - protected
                  default: private
                  description: Access level for the collection
      responses:
        '201':
          description: Collection created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  name:
                    type: string
                  organisation_id:
                    type: string
                    format: uuid
                  access:
                    type: string
                  created_at:
                    type: string
                    format: date-time
        '400':
          description: Bad request - Invalid input
        '409':
          description: Conflict - Collection with this name already exists
  /collections/{collection_id}:
    get:
      tags:
      - Collection Management
      operationId: get_collection
      summary: Get Collection
      description: '**All tiers** — Limited/Basic: 1 result with masked metrics. Premium: full access.


        Retrieves a specific collection by ID.


        **Rate Limit:** 5 (limited) / 15 (basic) / 30 (premium) requests per minute'
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        example: Bearer YOUR_KEY_HERE
      - name: collection_id
        in: path
        required: true
        description: The unique identifier of the collection
        schema:
          type: string
          format: uuid
      - name: include_counts
        in: query
        description: Include video and account counts
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: Collection details
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  name:
                    type: string
                  organisation_id:
                    type: string
                    format: uuid
                  parent_id:
                    type:
                    - string
                    - 'null'
                  access:
                    type: string
                  hash:
                    type:
                    - string
                    - 'null'
                  display_settings:
                    type:
                    - object
                    - 'null'
                  created_at:
                    type: string
                    format: date-time
                  hashtags:
                    type: array
                    items:
                      type: string
                  video_count:
                    type: integer
                    description: Only if include_counts=true
                  account_count:
                    type: integer
                    description: Only if include_counts=true
        '404':
          description: Collection not found
    patch:
      tags:
      - Collection Management
      operationId: update_collection
      summary: Update Collection
      description: 'Updates a collection''s properties.


        **Rate Limit:** 5 (limited) / 15 (basic) / 30 (premium) requests per minute'
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        example: Bearer YOUR_KEY_HERE
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  maxLength: 100
                parent_id:
                  type:
                  - string
                  - 'null'
                  format: uuid
                access:
                  type: string
                  enum:
                  - private
                  - public
                  - protected
                password:
                  type: string
                  minLength: 8
                  description: Password for protected collections
                display_settings:
                  type: object
                  description: Display settings for public collections
      responses:
        '200':
          description: Collection updated successfully
        '400':
          description: Bad request
        '404':
          description: Collection not found
        '409':
          description: Conflict - Name already exists
    delete:
      tags:
      - Collection Management
      operationId: delete_collection
      summary: Delete Collection
      description: 'Deletes a collection. This will also remove all associations with accounts and videos.


        **Rate Limit:** 5 (limited) / 15 (basic) / 30 (premium) requests per minute'
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        example: Bearer YOUR_KEY_HERE
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties: {}
      responses:
        '200':
          description: Collection deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  deleted_id:
                    type: string
                    format: uuid
        '404':
          description: Collection not found
  /collections/{collection_id}/videos:
    get:
      tags:
      - Collection Management
      operationId: get_collection_videos
      summary: Get Collection Videos
      description: '**All tiers** — Limited/Basic: 1 result with masked metrics. Premium: full access.


        Retrieves all videos in a collection with pagination.


        **Rate Limit:** 5 (limited) / 15 (basic) / 30 (premium) requests per minute'
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        example: Bearer YOUR_KEY_HERE
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - in: query
        name: paginated
        schema:
          type: boolean
          default: false
        description: Set to true to receive paginated response with {data, pagination} format instead of raw array
      - name: page
        in: query
        description: 'Page number (default: 1)'
        schema:
          type: integer
          default: 1
      - name: limit
        in: query
        description: 'Items per page (default: 100, max: 5000)'
        schema:
          type: integer
          default: 100
          maximum: 5000
      - name: order_by
        in: query
        description: Field to order by
        schema:
          type: string
          default: created_at
      - name: order_direction
        in: query
        description: Order direction
        schema:
          type: string
          enum:
          - asc
          - desc
          default: desc
      responses:
        '200':
          description: List of videos in the collection
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                  pagination:
                    type: object
                    properties:
                      total:
                        type: integer
                      page:
                        type: integer
                      limit:
                        type: integer
                      total_pages:
                        type: integer
        '404':
          description: Collection not found
    post:
      tags:
      - Collection Management
      operationId: add_videos_to_collection
      summary: Add Videos to Collection
      description: 'Adds one or more videos to a collection.


        **Rate Limit:** 5 (limited) / 15 (basic) / 30 (premium) requests per minute'
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        example: Bearer YOUR_KEY_HERE
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - video_ids
              properties:
                video_ids:
                  type: array
                  items:
                    type: string
                    format: uuid
                  minItems: 1
                  maxItems: 100
                  description: Array of video IDs to add to the collection. Between 1 and 100 of them - an empty list is rejected.
      responses:
        '200':
          description: Videos added successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  collection_id:
                    type: string
                  videos_added:
                    type: integer
        '400':
          description: Bad request
        '404':
          description: Collection not found
    delete:
      tags:
      - Collection Management
      operationId: remove_videos_from_collection
      summary: Remove Videos from Collection
      description: 'Removes one or more videos from a collection.


        **Rate Limit:** 5 (limited) / 15 (basic) / 30 (premium) requests per minute'
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        example: Bearer YOUR_KEY_HERE
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - video_ids
              properties:
                video_ids:
                  type: array
                  items:
                    type: string
                    format: uuid
                  minItems: 1
                  maxItems: 100
                  description: Array of video IDs to remove from the collection. Between 1 and 100 of them - an empty list is rejected.
      responses:
        '200':
          description: Videos removed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  collection_id:
                    type: string
                  videos_removed:
                    type: integer
        '400':
          description: Bad request
        '404':
          description: Collection not found
  /collections/{collection_id}/accounts:
    get:
      tags:
      - Collection Management
      operationId: get_collection_accounts
      summary: Get Collection Accounts
      description: '**All tiers** — Limited/Basic: 1 result with masked metrics. Premium: full access.


        Retrieves all accounts in a collection with pagination.


        **Rate Limit:** 5 (limited) / 15 (basic) / 30 (premium) requests per minute'
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        example: Bearer YOUR_KEY_HERE
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - in: query
        name: paginated
        schema:
          type: boolean
          default: false
        description: Set to true to receive paginated response with {data, pagination} format instead of raw array
      - name: page
        in: query
        description: 'Page number (default: 1)'
        schema:
          type: integer
          default: 1
      - name: limit
        in: query
        description: 'Items per page (default: 100, max: 5000)'
        schema:
          type: integer
          default: 100
          maximum: 5000
      - name: order_by
        in: query
        description: Field to order by
        schema:
          type: string
          default: created_at
      - name: order_direction
        in: query
        description: Order direction
        schema:
          type: string
          enum:
          - asc
          - desc
          default: desc
      responses:
        '200':
          description: List of accounts in the collection
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                  pagination:
                    type: object
                    properties:
                      total:
                        type: integer
                      page:
                        type: integer
                      limit:
                        type: integer
                      total_pages:
                        type: integer
        '404':
          description: Collection not found
    post:
      tags:
      - Collection Management
      operationId: add_accounts_to_collection
      summary: Add Accounts to Collection
      description: 'Adds one or more accounts to a collection.


        **Rate Limit:** 5 (limited) / 15 (basic) / 30 (premium) requests per minute'
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        example: Bearer YOUR_KEY_HERE
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - account_ids
              properties:
                account_ids:
                  type: array
                  items:
                    type: string
                    format: uuid
                  minItems: 1
                  maxItems: 100
                  description: Array of account IDs to add to the collection. Between 1 and 100 of them - an empty list is rejected.
      responses:
        '200':
          description: Accounts added successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  collection_id:
                    type: string
                  accounts_added:
                    type: integer
        '400':
          description: Bad request
        '404':
          description: Collection not found
    delete:
      tags:
      - Collection Management
      operationId: remove_accounts_from_collection
      summary: Remove Accounts from Collection
      description: 'Removes one or more accounts from a collection.


        **Rate Limit:** 5 (limited) / 15 (basic) / 30 (premium) requests per minute'
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        example: Bearer YOUR_KEY_HERE
      - name: collection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - account_ids
              properties:
                account_ids:
                  type: array
                  items:
                    type: string
                    format: uuid
                  minItems: 1
                  maxItems: 100
                  description: Array of account IDs to remove from the collection. Between 1 and 100 of them - an empty list is rejected.
      responses:
        '200':
          description: Accounts removed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  collection_id:
                    type: string
                  accounts_removed:
                    type: integer
        '400':
          description: Bad request
        '404':
          description: Collection not found
x-tagGroups:
- name: Core Resources
  tags:
  - Account Management
  - Video Management
  - Collection Management
  - Organisation Management
- name: Analytics
  tags:
  - Statistics
  - Data Operations
- name: System
  tags:
  - Authentication
  - Integration