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: publishwith.ai People API
description: 'REST API for publishing governed AI-generated reports and dashboards.
Designed for ChatGPT Custom Actions and any HTTP client.
**Base URL:** `https://publishwith.ai`
**Auth:** Bearer token — generate a personal API key from Connect.
API keys are for ChatGPT Actions and clients that cannot complete OAuth;
Enterprise workspaces may restrict or disable key creation.'
version: '1.0'
contact:
url: https://publishwith.ai
servers:
- url: https://publishwith.ai
security:
- bearerAuth: []
tags:
- name: People
paths:
/api/v1/people:
get:
operationId: findPeople
summary: Resolve a person by name or email in your organization directory
description: 'Resolves a recipient (e.g. "Federico Coletto") against the tenant
directory. Every result is a valid share target (can_receive=true):
status=member has an account, status=directory was provisioned by the IdP
and the grant resolves on their first login. Tenant-scoped.'
parameters:
- name: q
in: query
required: true
schema:
type: string
description: Name or email to resolve (e.g. "Federico Coletto" or "federico@").
- name: limit
in: query
required: false
schema:
type: integer
default: 25
maximum: 50
description: Maximum number of matches (default 25, max 50).
responses:
'200':
description: Matching people
content:
application/json:
schema:
type: object
properties:
people:
type: array
items:
type: object
properties:
name:
type: string
email:
type: string
status:
type: string
enum:
- member
- directory
description: member = a platform account exists; directory = provisioned by the IdP, never signed in. Both are valid share targets.
can_receive:
type: boolean
description: True on every result. The person can be granted access with share_with.
user_id:
type: string
description: Platform user id (present when status=member).
external_id:
type: string
description: IdP object id (present for provisioned people).
job_title:
type: string
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
tags:
- People
components:
responses:
Forbidden:
description: No tenant associated with this API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
properties:
error:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Personal API key from Connect