c1k.me Events API

A bounded change feed for keeping another system in sync.

GitHub OpenAPI

Operations 1

GET /events Poll the change feed after a cursor #

Specifications

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/c1k-me:c1k-me-events-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

c1k-me-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: C1K REST Events API
  version: 1.0.0
  summary: Organization-scoped short links, analytics, import and export, members and a change feed for c1k.me.
  description: 'Every path is relative to one organization: `https://c1k.me/api/v1/orgs/{org_id}`.

    A key binds to one organization; anything outside it answers 404.


    **Authentication.** `Authorization: Bearer c1k_rest_...` with a REST key from the

    Integrations page. Keys in a URL, query or cookie are refused, and browser sessions

    do not authenticate API calls. An operation outside the key''s scopes answers 403.


    **Format.** UTF-8 JSON, bodies up to 65,536 bytes and 16 levels deep. Responses carry

    `data` and `meta`; errors carry `error` with a stable `code`. Times are RFC 3339 UTC.


    **Retries.** Creates, bulk changes and import apply accept `Idempotency-Key`;

    edits and deletions need `If-Match`.


    **Rate limits**: 60 requests a minute per key, 300 per organization and

    10 mutations per key. A 429 carries Retry-After.


    **AI assistants** use `https://c1k.me/mcp/{org_id}`; see https://c1k.me/developers/mcp.'
  contact:
    name: C1K developers
    url: https://c1k.me/developers
  license:
    name: Proprietary. All rights reserved.
    identifier: LicenseRef-C1K-Proprietary
servers:
- url: https://c1k.me/api/v1/orgs/{org_id}
  variables:
    org_id:
      default: org_REPLACEWITHYOURID0
      description: The organization ID shown on the Integrations page.
security:
- bearerKey: []
tags:
- name: Events
  description: A bounded change feed for keeping another system in sync.
paths:
  /events:
    get:
      tags:
      - Events
      operationId: listEvents
      summary: Poll the change feed after a cursor
      description: 'Requires events:read. Events come in increasing ID order, at most 100 per page.

        The feed keeps at most 100 events per organization and seven days. A cursor

        older than the retained history answers 410 cursor_expired; take a fresh

        snapshot and poll again without a cursor. Deduplicate by event ID.'
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 100
      - $ref: '#/components/parameters/Cursor'
      responses:
        '200':
          description: One page of events and the cursor to poll with next.
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/Envelope'
                - properties:
                    data:
                      type: array
                      items:
                        $ref: '#/components/schemas/Event'
                    meta:
                      type: object
                      properties:
                        request_id:
                          type: string
                        next_cursor:
                          type: string
                        has_more:
                          type: boolean
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Error'
        '410':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  responses:
    Error:
      description: Error envelope with a stable code.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            error:
              code: invalid_input
              message: Some fields are not valid.
              fields:
              - field: colour
                code: unknown_field
                message: This field is not accepted here.
              request_id: req_8Kd2PqWz5xRt1LmN3a
    RateLimited:
      description: Too many requests. Wait the number of seconds in Retry-After.
      headers:
        Retry-After:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Unauthenticated:
      description: Missing, invalid, expired or revoked key.
      headers:
        WWW-Authenticate:
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
          example:
            error:
              code: unauthenticated
              message: A valid API key is required in the Authorization header as Bearer.
              request_id: req_8Kd2PqWz5xRt1LmN3a
  parameters:
    Cursor:
      name: cursor
      in: query
      description: Opaque next_cursor from the previous page. Bound to the organization and filters, valid for 24 hours.
      schema:
        type: string
        maxLength: 512
  schemas:
    ErrorEnvelope:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - request_id
          properties:
            code:
              type: string
              enum:
              - invalid_input
              - unauthenticated
              - forbidden
              - not_found
              - conflict
              - version_conflict
              - quota_exceeded
              - reserved_limit_reached
              - active_limit_reached
              - rate_limited
              - storage_unavailable
              - cursor_expired
              - malformed_json
              - payload_too_large
              - unsupported_media_type
              - method_not_allowed
              - precondition_required
              - misdirected_request
              - internal_error
            message:
              type: string
            fields:
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                  code:
                    type: string
                  message:
                    type: string
            request_id:
              type: string
    Envelope:
      type: object
      required:
      - data
      - meta
      properties:
        data: {}
        meta:
          type: object
          required:
          - request_id
          properties:
            request_id:
              type: string
            idempotent_replay:
              type: boolean
    Event:
      type: object
      properties:
        id:
          type: integer
        time:
          type: string
          format: date-time
        actor:
          type: object
          properties:
            type:
              type: string
            id:
              type:
              - string
              - 'null'
        surface:
          type: string
          enum:
          - gui
          - api
          - mcp
          - platform
          - system
        action:
          type: string
        target:
          type: object
          properties:
            type:
              type: string
            id:
              type: string
        request_id:
          type: string
        changed_fields:
          type: array
          items:
            type: string
  securitySchemes:
    bearerKey:
      type: http
      scheme: bearer
      description: A REST key (c1k_rest_...) from the Integrations page.