c1k.me Account API
The calling key, its organization, capabilities and quotas.
The calling key, its organization, capabilities and quotas.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/c1k-me:c1k-me-account-api"
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.
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: 3.2.0
info:
title: C1K REST Account 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: Account
description: The calling key, its organization, capabilities and quotas.
paths:
/me:
get:
tags:
- Account
operationId: getMe
summary: Identity, organization, capabilities and quotas of the calling key
description: Answers for any valid key, whatever its scopes. A good first call to check a new key.
responses:
'200':
description: The calling key and its organization.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/Envelope'
- properties:
data:
$ref: '#/components/schemas/Me'
'401':
$ref: '#/components/responses/Unauthenticated'
'429':
$ref: '#/components/responses/RateLimited'
/entitlements:
get:
tags:
- Account
operationId: getEntitlements
summary: Effective limits, what is used against them, and when they next change
description: Answers for any valid key and reports only the calling key's own organization. The slot figures are the ones admission enforces. next_change_at is the earliest boundary that can move capacity (a renewal, a grace window or a recovery hold's purge deadline), or null.
responses:
'200':
description: The organization's entitlements.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/Envelope'
- properties:
data:
$ref: '#/components/schemas/Entitlements'
'401':
$ref: '#/components/responses/Unauthenticated'
'429':
$ref: '#/components/responses/RateLimited'
components:
responses:
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
schemas:
Scope:
type: string
enum:
- links:read
- links:write
- links:delete
- analytics:read
- analytics:delete
- exports:read
- events:read
- members:manage
- integrations:manage
Me:
type: object
properties:
organization:
type: object
properties:
id:
type: string
handle:
type: string
name:
type: string
state:
type: string
enum:
- active
- suspended
- deleting
credential:
type: object
properties:
type:
type: string
const: service_account
service_account_id:
type: string
audience:
type: string
const: rest
scopes:
type: array
items:
$ref: '#/components/schemas/Scope'
capabilities:
type: array
items:
type: string
quotas:
type: object
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
Entitlements:
type: object
description: Effective limits scale with purchased capacity units; usage is counted live.
properties:
active_limit:
type: integer
description: 'Enabled links allowed: 100 per unit.'
reserved_limit:
type: integer
description: 'Short keys allowed: 500 per unit.'
active_used:
type: integer
description: Enabled links, counted whatever their schedule.
reserved_used:
type: integer
description: Owned links of any state; a deleted link releases its slot.
recovery_held:
type: integer
description: Links held after a capacity drop. They keep their key and cannot redirect.
paid_units:
type: integer
grace_units:
type: integer
description: Units inside their grace window. With paid_units these sum to the units the limits are derived from.
seat_limit:
type: integer
seats_used:
type: integer
description: Active memberships.
seats_invited:
type: integer
description: Member invitations not yet redeemed, revoked or expired.
seats_suspended:
type: integer
description: Revoked memberships.
service_account_limit:
type: integer
service_key_limit:
type: integer
oauth_connection_limit:
type: integer
idempotency_limit:
type: integer
audit_event_limit:
type: integer
description: Events kept per organization, within a seven-day window.
organization_request_rate_limit:
type: integer
next_change_at:
type:
- integer
- 'null'
description: Unix seconds of the earliest renewal, grace end or recovery purge deadline; null when there is none.
last_billing_sync:
type:
- integer
- 'null'
description: Unix seconds of the newest provider sync across the units.
pending_changes:
type: array
description: 'Capacity that is scheduled to go: one entry per unit whose renewal has been stopped, with the date it stops contributing. Empty when nothing is scheduled.'
items:
type: object
properties:
unit_id:
type: string
change:
type: string
enum:
- renewal_cancelled
effective_at:
type: integer
description: Unix seconds at which the unit stops contributing.
securitySchemes:
bearerKey:
type: http
scheme: bearer
description: A REST key (c1k_rest_...) from the Integrations page.