KARYTY

Developers

Build apps that act for members who allow them: read their profile and friends, read and publish posts.

How it works

  1. Create an app below and keep its secret safe; it is shown once.
  2. Send the member to this page; they choose to allow or deny: https://karyty.com/oauth/authorize?client_id=CLIENT_ID&redirect_uri=REDIRECT_URI&response_type=code&scope=profile+friends+posts_read+posts_write&state=RANDOM
  3. Swap the one-time code (valid 10 minutes) for an access token: POST https://karyty.com/api/oauth/token grant_type=authorization_code&client_id=โ€ฆ&client_secret=โ€ฆ&code=โ€ฆ&redirect_uri=โ€ฆ
  4. Call the API with the token in a header: Authorization: Bearer ACCESS_TOKEN
EndpointPermissionWhat it does
GET /api/v1/meprofileThe member's profile
GET /api/v1/me/friendsfriendsTheir friends
GET /api/v1/me/postsposts_readTheir latest posts
POST /api/v1/postsposts_writePublish a text post for them

Each app has a requests-per-minute limit set by the site team. Members can revoke access any time in Settings โ€บ Connected apps.

Sign in to create an app

Download the app

KARYTY and KARYTY Messenger on your phone

Get the app

Join Karyty. Your village people, news, farm market and services in one place.

Sign up Sign in