Skip to main content
23 tools. Each one is also a REST route and a CLI command, from the same definition: the same input, the same output, the same errors. Describe a pending consent request. What the consent screen shows, and nothing more: who is asking, where they will be sent back to, and whether you have approved them before. Returns 404 once the request has been answered or has expired: a consent screen for a dead request is a trap.

Input

Output

Example

get_entitlements

What your plan grants. Your plan, where it comes from, its features as of now, and the seats you hold when it is a team plan. A lifetime purchase keeps receiving what its plan gains and never becomes a higher plan on its own; a seat grants the holder’s plan for as long as they hold it.

Input

This tool takes no arguments.

Output

Example

get_leaderboard

The week’s board. Who opted in, ranked on verified focus time and consistency (never on how many tasks they ticked) under a named, versioned rule. Global, or only the people you follow and you. This week, or last week’s recap.

Input

Output

Example

get_me

The signed-in account. The caller’s own profile. Distinct from the session endpoint, which says who you are but not when you may next change your username: a rule this API enforces and only this API knows the shape of. nextUsernameChangeAt is null when the username has never been set, which is the one case with no cooldown.

Input

This tool takes no arguments.

Output

Example

get_my_profile

Your profile. Your handle, whether you are visible, your founding number from signup order, and how many follow you and you follow.

Input

This tool takes no arguments.

Output

Example

get_public_profile

Someone’s profile. A public profile, or your own whatever its visibility. A private one is not found.

Input

Output

Example

list_api_tokens

List your API tokens. Newest first. The token itself is not here and cannot be: only its hash is stored, so a lost token is replaced rather than recovered.

Input

Output

Example

list_connections

List the applications you have connected. Everything holding a live grant, most recently used first.

Input

This tool takes no arguments.

Output

Example

list_followers

Who follows you. Each as a profile; a private follower shows a handle and no stats.

Input

This tool takes no arguments.

Output

Example

list_following

Who you follow. Each as a profile; one that went private since shows a handle and no stats.

Input

This tool takes no arguments.

Output

Example

list_referral_invites

List your invites. Every grant you made, newest first, with how many more you may make. The code itself is not here and cannot be: only its hash is stored, so a lost code is replaced, not recovered.

Input

This tool takes no arguments.

Output

Example

search_users

Find someone to share with. Deliberately narrow: a username prefix, or a whole email address. There is no fuzzy match and no name search, because a directory of everyone is what this must not be. An address is echoed back only when it was already known to the caller: a prefix search never reveals one. At most 8 are returned.

Input

Output

Example

create_api_token

Create an API token. Returns the token in secret, once. It is not recoverable afterwards, so it has to be stored by the caller at this point or created again.

Input

Output

Example

create_referral_invite

Create an invite. Mints a code and returns it in code, once. Only a person who has had a free trial may grant one, and only up to the allowance; the code expires on its own.

Input

This tool takes no arguments.

Output

Example

Approve or refuse a consent request. Answers the request and returns where to send the browser next. The client is told either way: a refusal that simply stops leaves it waiting forever.

Input

Output

Example

follow_profile

Follow someone. Only a public profile can be followed, and not your own. Following twice is a no-op.

Input

Output

Example

grant_team_seat

Seat someone on your team plan. Only while you hold a team plan with a seat to spare; never yourself. Seating someone twice is a no-op.

Input

Output

Example

redeem_referral_invite

Redeem an invite code. Records you as the person the code was for. A code redeems once, before it expires, and never by the person who made it.

Input

Output

Example

revoke_api_token

Revoke an API token. Takes effect on the next request that presents it. The row is kept rather than deleted, so a revoked token stays visible with the moment it was last used: which is what makes a leak legible after the fact.

Input

Output

Example

revoke_connection

Disconnect an application. Cuts the grant and deletes every token issued under it, so access stops on the next request rather than when the current token happens to expire.

Input

Output

Example

revoke_team_seat

Take a seat back. The person keeps whatever they bought themselves. Not found when they had no seat.

Input

Output

Example

set_profile_visibility

Open or close your profile. Public lets anyone read your handle, your verified focus and your consistency: never a task, a note or a project. Private, the default, hides the profile from everyone but you; who follows you is kept either way. The leaderboards are a separate opt-in, off by default.

Input

Output

Example

unfollow_profile

Stop following someone. Works whatever their visibility now. Not found when you did not follow them.

Input

Output

Example