Cello Token API
The Token API from Cello — 1 operation(s) for token.
The Token API from Cello — 1 operation(s) for token.
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/cello:cello-token-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. 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: Cello Token API
description: API for Cello referral platform
license:
name: MIT
version: 1.0.0
servers:
- url: https://api.cello.so
- url: https://api.sandbox.cello.so
security:
- bearerAuth: []
tags:
- name: Token
paths:
/token:
post:
description: Obtain accessToken & refreshToken using your accessKeyId and secretAccessKey, or obtain a new accessToken using a refreshToken.
requestBody:
required: true
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/TokenRequest'
- $ref: '#/components/schemas/RefreshTokenRequest'
examples:
accessKey:
summary: Exchange accessKeyId and secretAccessKey for tokens
value:
accessKeyId: <accessKeyId>
secretAccessKey: <secretAccessKey>
refreshToken:
summary: Exchange refreshToken for a new accessToken
value:
refreshToken: <refreshToken>
responses:
'201':
description: Tokens issued
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/TokenResponse'
- $ref: '#/components/schemas/RefreshTokenResponse'
examples:
accessKey:
summary: Exchange accessKeyId and secretAccessKey for tokens
value:
accessToken: <accessToken>
refreshToken: <refreshToken>
expiresIn: 18000
refreshTokenExpiresIn: 432000
refreshToken:
summary: Exchange refreshToken for a new accessToken
value:
accessToken: <accessToken>
expiresIn: 18000
'400':
description: Invalid credentials
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security: []
tags:
- Token
summary: Create token
x-summary-source: derived
operationId: postToken
x-operation-id-source: derived
components:
schemas:
Error:
type: object
required:
- message
properties:
message:
type: string
RefreshTokenRequest:
type: object
description: Use this schema to exchange a refreshToken for a new accessToken.
required:
- refreshToken
properties:
refreshToken:
type: string
TokenRequest:
type: object
description: Use this schema to exchange accessKeyId and secretAccessKey for tokens.
required:
- accessKeyId
- secretAccessKey
properties:
accessKeyId:
type: string
secretAccessKey:
type: string
TokenResponse:
type: object
properties:
accessToken:
type: string
refreshToken:
type: string
expiresIn:
type: integer
refreshTokenExpiresIn:
type: integer
required:
- accessToken
- refreshToken
- expiresIn
- refreshTokenExpiresIn
description: Returned when exchanging accessKeyId and secretAccessKey for tokens.
RefreshTokenResponse:
type: object
properties:
accessToken:
type: string
expiresIn:
type: integer
required:
- accessToken
- expiresIn
description: Returned when exchanging a refreshToken for a new accessToken.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
x-mint.mcp.enabled: true