ppl Connect API
The connect API from ppl, for connect.
The connect API from ppl, for connect.
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/withppl-com:withppl-com-connect-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: Withppl Com Connect API
version: 1.5.1
contact:
url: https://withppl.com/contact
termsOfService: https://withppl.com/terms
x-compatibility-policy: The API is currently unversioned and in beta. Existing response shapes and status codes are preserved; clients should tolerate additive fields. No guaranteed deprecation window is promised. Check the developer guide and rediscover schemas after updates.
description: 'Operations tagged connect across 2 of this provider''s published API definitions: openapi.json, withppl-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://withppl.com/api
security:
- bearer: []
- oauth2: []
tags:
- name: Connect
paths:
/agent/connect/request:
post:
operationId: requestConnection
summary: Start the one-approval connect flow (no auth).
tags:
- Connect
security: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
client_name:
type: string
description: Your agent name
redirect_uri:
type: string
description: Optional URL the human returns to after approving
required:
- client_name
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
description: Bad request. Correct malformed JSON or unsupported query parameters. Do not repeat unchanged input. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'404':
description: Resource or route not found. Check the documented route and resolve the intended record within this account. Do not try IDs from other accounts. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'422':
description: Validation failed. Correct supplied fields using errors or error.message and the request schema. Do not repeat unchanged input. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'429':
description: Rate limited. Respect Retry-After when present; otherwise back off with jitter. Do not run parallel retries. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
Retry-After:
description: Optional delay in seconds or HTTP date; honor it before retrying.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Server error. Back off. A failed write response does not prove the write was rolled back; check the outcome before retrying to avoid duplicates. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'503':
description: Temporarily unavailable or maintenance. Respect Retry-After when present and back off. Check the outcome of writes before replaying them. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
Retry-After:
description: Optional delay in seconds or HTTP date; honor it before retrying.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
servers:
- url: https://withppl.com/api
/agent/connect/{id}/status:
get:
operationId: connectionStatus
summary: Poll a connect request.
tags:
- Connect
security: []
parameters:
- name: id
in: path
required: true
description: Connect request id
schema:
type: integer
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
description: Bad request. Correct malformed JSON or unsupported query parameters. Do not repeat unchanged input. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'404':
description: Resource or route not found. Check the documented route and resolve the intended record within this account. Do not try IDs from other accounts. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'422':
description: Validation failed. Correct supplied fields using errors or error.message and the request schema. Do not repeat unchanged input. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'429':
description: Rate limited. Respect Retry-After when present; otherwise back off with jitter. Do not run parallel retries. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
Retry-After:
description: Optional delay in seconds or HTTP date; honor it before retrying.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
description: Server error. Back off. A failed write response does not prove the write was rolled back; check the outcome before retrying to avoid duplicates. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'503':
description: Temporarily unavailable or maintenance. Respect Retry-After when present and back off. Check the outcome of writes before replaying them. Optional agent_error adds recovery hints without replacing existing fields.
headers:
RateLimit-Limit:
description: Optional valid limit mirrored from X-RateLimit-Limit.
schema:
type: integer
minimum: 1
RateLimit-Remaining:
description: Optional valid remaining count mirrored from X-RateLimit-Remaining; no reset time is inferred.
schema:
type: integer
minimum: 0
Retry-After:
description: Optional delay in seconds or HTTP date; honor it before retrying.
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
servers:
- url: https://withppl.com/api
components:
schemas:
AgentErrorHint:
type: object
required:
- code
- resolution
- retryable
properties:
code:
type: string
resolution:
type: string
retryable:
type: boolean
description: False for uncertain write outcomes; verify the result before replaying a write.
retry_after_seconds:
type: integer
minimum: 0
description: Optional parsed Retry-After delay for 429 or 503.
description: Optional additive REST recovery hints. Existing error fields and HTTP status remain authoritative.
FrameworkApiError:
type: object
required:
- message
properties:
agent_error:
$ref: '#/components/schemas/AgentErrorHint'
message:
type: string
errors:
type: object
additionalProperties:
type: array
items:
type: string
description: 'Framework authentication, authorization, validation, missing-route and throttling errors. Send Accept: application/json.'
AgentAccessError:
type: object
required:
- error
properties:
agent_error:
$ref: '#/components/schemas/AgentErrorHint'
error:
type: string
message:
type: string
required_scope:
type: string
action_type:
type: string
description: Agent access/connect errors including insufficient_scope, agent_paused, policy_denied and approval_required. Fields depend on the failure.
LegacyApiError:
type: object
required:
- error
properties:
agent_error:
$ref: '#/components/schemas/AgentErrorHint'
error:
type: object
required:
- message
- error_code
properties:
message:
anyOf:
- type: string
- type: array
items:
type: string
error_code:
type: integer
description: Legacy errors retain numeric error.error_code and a message or list of validation messages.
ApiError:
anyOf:
- $ref: '#/components/schemas/LegacyApiError'
- $ref: '#/components/schemas/FrameworkApiError'
- $ref: '#/components/schemas/AgentAccessError'
description: Existing REST variants; use HTTP status then the available error field. These are not OAuth or MCP JSON-RPC errors. Additional fields may appear.
securitySchemes:
bearer:
type: http
scheme: bearer
description: Connect-flow token, personal API key, or OAuth access token
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://withppl.com/oauth/authorize
tokenUrl: https://withppl.com/oauth/token
refreshUrl: https://withppl.com/oauth/token
scopes:
agent:briefing: ppl scope
agent:actions: ppl scope
agent:search: ppl scope
read:contacts: ppl scope
write:contacts: ppl scope
read:journal: ppl scope
write:journal: ppl scope
read:tasks: ppl scope
write:tasks: ppl scope
message:send: ppl scope
message:read: ppl scope
circles:read: ppl scope
circles:write: ppl scope
x-refined-from:
- openapi.json
- withppl-com-openapi.json