Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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.
openapi: 3.2.0
info:
title: Papercups Users API
description: REST API for Papercups, the open-source customer-messaging and live-chat platform built on Elixir/Phoenix. Covers the documented conversations, messages, and customers resources plus the authenticated user endpoint. Authentication uses a Bearer API key (available from the Papercups dashboard). The hosted instance is at https://app.papercups.io; self-hosted deployments expose the same paths on their own host. Papercups is in maintenance mode (community-maintained).
termsOfService: https://papercups.io
contact:
name: Papercups
url: https://github.com/papercups-io/papercups
license:
name: MIT
url: https://github.com/papercups-io/papercups/blob/master/LICENSE
version: '1.0'
servers:
- url: https://app.papercups.io/api/v1
description: Papercups hosted instance
- url: https://{host}/api/v1
description: Self-hosted Papercups instance
variables:
host:
default: app.papercups.io
description: Hostname of your self-hosted Papercups deployment
security:
- bearerAuth: []
tags:
- name: Users
description: Authenticated user and team members.
paths:
/me:
get:
operationId: getCurrentUser
tags:
- Users
summary: Retrieve the authenticated user
description: Returns information about the user that owns the API key.
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/UserResponse'
'401':
$ref: '#/components/responses/Unauthorized'
components:
responses:
Unauthorized:
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
User:
type: object
properties:
id:
type: string
email:
type: string
account_id:
type: string
role:
type: string
UserResponse:
type: object
properties:
data:
$ref: '#/components/schemas/User'
Error:
type: object
properties:
error:
type: object
properties:
status:
type: integer
message:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Bearer API key (personal API key / token) from the Papercups dashboard, sent as `Authorization: Bearer <API_KEY>`.'