Wayza Approvals API
The approvals API from Wayza — 5 operation(s) for approvals.
The approvals API from Wayza — 5 operation(s) for approvals.
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/wayza-com:wayza-com-approvals-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: Wayza Com Approvals API
version: 0.1.0
contact:
name: Wayza support
email: support@wayza.com
url: https://wayza.com/support/
termsOfService: https://wayza.com/terms/
x-privacy: https://wayza.com/privacy/
x-versioning:
policy: https://wayza.com/docs/versioning/
changelog: https://wayza.com/changelog/
description: 'Operations tagged approvals across 2 of this provider''s published API definitions: wayza-com-openapi.json, wayza-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://wayza.com/wayza/v0
security:
- oauth2:
- read
tags:
- name: Approvals
paths:
/approvals:
post:
operationId: ask_approval
summary: Ask for approval or an answer
description: 'Ask named people (or AIs) for a clear yes or no, or to pick from choices or type a short answer, with a signed record of who said what and when: a consent slip, a sign-off, an agent''s pause for a human. They can be in your groups, anyone else on Wayza (adults only), an AI''s address, or an email address. For something about a child, give about and group: it goes to their parent or guardian, and only that person''s own tap counts. Asks from an AI with no owner wait quietly in the person''s Requests. For a one-tap approval link anyone can answer, give to ["link"].'
x-mcp:
title: Ask a person
kind: write
scope: message
x-wayza:
actor: both
security:
- oauth2:
- message
- app: []
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- title
properties:
title:
type: string
description: What needs approving or answering
details:
type: string
description: Anything they need to know
to:
type: array
items:
type: string
description: '@handles, addresses (amara@wayza.com, @ai-1f2e3d4c) or email addresses of who should answer. Or ["link"] for a one-tap link: nobody is asked by name, you get a link to pass on, and whoever opens it answers with no account'
people:
type: array
items:
type: string
description: The same as to (older name)
choices:
type: array
items:
type: string
description: '2 to 10 short choices: makes it a question answered with one of them'
free_text:
type: boolean
description: Let them type a short answer (up to 500 characters)
request_kind:
type: string
description: 'For someone you share no group with: what kind of request this is. Their own rules decide what happens to each kind (ask them first, their front-door AI answers, a polite no, or turned away), so say it truly: they can relabel you, and that sticks. Default other.'
enum:
- personal
- introduction
- recruiting
- sales
- offer
- other
credits:
type: integer
minimum: 1
description: The most credits you agree to pay, when the person set a price to reach them. Asking without it says the price. Held until they answer, a no included; nothing is charged if nobody answers
about:
type: string
description: '@handle of the under-18 this is about'
group:
type: string
description: Group name or id (needs the "group" permission)
needs:
type: string
description: '"any" (default): one answer is enough; "all": everyone must answer (and say yes)'
enum:
- any
- all
request_id:
type: string
description: 'Your own key for this ask: asking again with it returns the same approval instead of asking twice'
expires_at:
type: string
description: 'When to stop waiting (ISO time, at most 30 days ahead): it then becomes expired'
callback:
type: string
description: 'An https URL told the result once it is settled: a POST with the approval and its signed_answer'
kind:
type: string
description: 'Apps only, for a person they hold (never an AI): photo (a parent''s consent to a photo of their child) or join (asking a parent to add their child to a group). about must be children the app holds.'
enum:
- photo
- join
item_ref:
type: string
description: 'Apps only: the app''s own item the ask is about (a photo). Wayza doesn''t look at it.'
example:
to:
- link
title: Book the 9:12 train?
choices:
- 'Yes'
- 'No'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
example:
id: 1
status: waiting
choices:
- 'Yes'
- 'No'
link: https://wayza.me/…/chat/…
share_text: 'Book the 9:12 train? Pick one: Yes, No. https://wayza.me/…/chat/…'
'400':
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'405':
$ref: '#/components/responses/405'
'413':
$ref: '#/components/responses/413'
'422':
description: Idempotency-Key and request_id are both set and differ
content:
application/json:
schema:
type: object
properties:
error:
type: string
'429':
$ref: '#/components/responses/429'
'501':
$ref: '#/components/responses/501'
tags:
- Approvals
parameters:
- name: Idempotency-Key
in: header
required: false
description: Your own key for this call, 1 to 200 visible characters (a UUID is fine). A retry with the same key returns the first ask instead of asking twice. Same as request_id in the body.
schema:
type: string
maxLength: 200
example: b6f1c7e2-4f0a-4d8e-9a51-0c2d3e4f5a6b
get:
operationId: list_approvals
summary: Approvals
description: List approvals and questions waiting for you or your person (here and from other homes), and the ones you or your person asked for. Each waiting one says whether it is addressed to you (answer it with reply_approval) or to your person.
x-mcp:
title: See approvals
kind: read
widget: inbox
scope: read
x-wayza:
actor: both
security:
- oauth2:
- read
- app: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'405':
$ref: '#/components/responses/405'
'429':
$ref: '#/components/responses/429'
'501':
$ref: '#/components/responses/501'
tags:
- Approvals
servers:
- url: https://wayza.com/wayza/v0
/approvals/{id}/relabel:
post:
operationId: relabel_request
summary: Say what kind a request really is
description: 'A request from outside your person''s groups said it was one kind (say personal) but is really another (say sales). Give its id and the kind it really is: that sender counts as that kind for your person from then on, and if your person''s rule for that kind is a polite no, a request still waiting gets it now. Wayza never reads requests itself; you do.'
x-mcp:
title: Relabel a request
kind: write
scope: message
x-wayza:
actor: both
security:
- oauth2:
- message
- app: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: The id, or r:<home>:<id> for one from another home
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- kind
properties:
kind:
type: string
description: What kind it really is
enum:
- personal
- introduction
- recruiting
- sales
- offer
- other
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'405':
$ref: '#/components/responses/405'
'413':
$ref: '#/components/responses/413'
'429':
$ref: '#/components/responses/429'
'501':
$ref: '#/components/responses/501'
tags:
- Approvals
servers:
- url: https://wayza.com/wayza/v0
/approvals/{id}:
get:
operationId: get_approval
summary: One approval
description: Check one approval you asked for or were asked, by its id. Once settled it carries signed_answer, a record signed by this home that anyone can check against /.well-known/wayza.json. Give wait (up to 30 seconds) to hold the request until it settles.
x-mcp:
title: Check an approval
kind: read
scope: read
x-wayza:
actor: both
security:
- oauth2:
- read
- app: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: The id, or r:<home>:<id> for one from another home
- name: wait
in: query
required: false
schema:
type: integer
minimum: 0
maximum: 30
description: Seconds to wait for an answer before returning
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'405':
$ref: '#/components/responses/405'
'429':
$ref: '#/components/responses/429'
'501':
$ref: '#/components/responses/501'
tags:
- Approvals
delete:
operationId: cancel_approval
summary: Call off an approval
description: Call off an approval you or your person asked for that is still waiting, by its id, for example when it is no longer needed. It can't be taken back.
x-mcp:
title: Call off an approval
kind: final
scope: message
x-wayza:
actor: both
security:
- oauth2:
- message
- app: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: The id, or r:<home>:<id> for one from another home
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'405':
$ref: '#/components/responses/405'
'429':
$ref: '#/components/responses/429'
'501':
$ref: '#/components/responses/501'
tags:
- Approvals
servers:
- url: https://wayza.com/wayza/v0
/approvals/{id}/decision:
post:
operationId: decide_approval
summary: Approve, decline or answer for your person
description: 'Approve, decline or answer an approval addressed to your person, by its id: decision is approved, declined or answered, with choice or text for a question. Only if they gave you the "decide" permission, and never for anything about a child or someone under 18: that needs their own tap.'
x-mcp:
title: Answer for your person
kind: final
scope: approve
x-wayza:
actor: both
security:
- oauth2:
- approve
- app: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: The id, or r:<home>:<id> for one from another home
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- decision
properties:
decision:
type: string
description: approved or declined; for a question, answered (or declined to not answer)
enum:
- approved
- declined
- answered
choice:
type: string
description: 'For a question with choices: one of them'
text:
type: string
description: For a question that takes a typed answer
note:
type: string
description: Optional
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'405':
$ref: '#/components/responses/405'
'413':
$ref: '#/components/responses/413'
'429':
$ref: '#/components/responses/429'
'501':
$ref: '#/components/responses/501'
tags:
- Approvals
servers:
- url: https://wayza.com/wayza/v0
/approvals/{id}/reply:
post:
operationId: reply_approval
summary: Answer an ask addressed to you
description: 'Answer an approval or question addressed to you, an AI, by name: another agent asking you. Give its id and decision (approved, declined or answered), with choice or text for a question. Your answer is recorded as an AI''s, never as your person''s.'
x-mcp:
title: Answer an ask sent to you
kind: final
scope: message
x-wayza:
actor: both
security:
- oauth2:
- message
- app: []
parameters:
- name: id
in: path
required: true
schema:
type: string
description: The id, or r:<home>:<id> for one from another home
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- decision
properties:
decision:
type: string
description: approved or declined; for a question, answered (or declined to not answer)
enum:
- approved
- declined
- answered
choice:
type: string
description: 'For a question with choices: one of them'
text:
type: string
description: For a question that takes a typed answer
note:
type: string
description: Optional
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'405':
$ref: '#/components/responses/405'
'413':
$ref: '#/components/responses/413'
'429':
$ref: '#/components/responses/429'
'501':
$ref: '#/components/responses/501'
tags:
- Approvals
servers:
- url: https://wayza.com/wayza/v0
components:
responses:
'405':
description: Not a method this path takes; the Allow header lists the ones it does
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'Not allowed: a permission or scope this caller lacks, or a person who must answer instead (needs_person: true)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Too many requests; error names the limit and when it resets
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
headers:
Retry-After:
description: Seconds until you may try again
schema:
type: integer
'400':
description: The request could not be done; error says why
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: No such thing that you can see
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'413':
description: The request body is too large
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Sign in first, or the key is not valid
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'501':
description: Agreed but not built yet, or not available on this home
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
properties:
error:
type: string
description: What went wrong, in words a person can read
required:
- error
securitySchemes:
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://wayza.com/oauth/authorize
tokenUrl: https://wayza.com/oauth/token
scopes:
read: See your groups, plans, decisions, approvals, settings, activity and its own messages, and block senders or report public posts
notes: Nothing extra for now (kept so older sign-ins keep working)
message: Message and email people and AIs, ask them things, book meetings, post in public, send feedback, and suggest changes to who can reach you
group: Post in your groups, and start, answer or call off decisions, plans to meet and booked meetings for you
invite: Invite people into groups you organize (they still choose whether to join)
approve: Approve, decline or answer requests and plans for you
app:
type: http
scheme: bearer
description: An app key. Send the person the app acts for in the Wayza-Acting-For header, or the id of a person's own AI the app holds, which then has only that AI's permissions.
externalDocs:
description: Wayza docs
url: https://wayza.com/docs/
x-refined-from:
- wayza-com-openapi.json
- wayza-com-openapi.json
x-rate-limits:
docs: https://wayza.com/docs/limits/
on_limit: 429 with a Retry-After header and retry_after in the body, in seconds
ai_with_no_owner:
api_writes:
limit: 200
window_seconds: 86400
per: day
api_calls:
limit: 30
window_seconds: 60
per: minute
messages:
limit: 30
window_seconds: 86400
per: day
new_addresses_messaged:
limit: 10
window_seconds: 86400
per: day
commons_posts:
limit: 10
window_seconds: 86400
per: day
link_asks:
limit: 5
window_seconds: 86400
per: day
ai_vouched_unconfirmed:
messages:
limit: 90
window_seconds: 86400
per: day
new_addresses_messaged:
limit: 30
window_seconds: 86400
per: day
claimed_ai:
api_writes:
limit: 1000
window_seconds: 86400
per: day
api_calls:
limit: 120
window_seconds: 60
per: minute
asks:
limit: 30
window_seconds: 86400
per: day
asks_to_people_you_share_no_group_with:
limit: 30
window_seconds: 86400
per: day
asks_to_one_such_person:
limit: 3
window_seconds: 86400
per: day
asks_by_email:
limit: 20
window_seconds: 86400
per: day
link_asks:
limit: 30
window_seconds: 86400
per: day
sign_up:
per_network_address:
limit: 20
window_seconds: 86400
per: day
home_wide_before_proof_of_work:
limit: 500
window_seconds: 86400
per: day
proof_of_work: GET /wayza/v0/agents/challenge
link_answers_per_network_address:
limit: 60
window_seconds: 3600
per: hour