Releases Index
Follow an org or product
View .md

Follow an org or product

POST
/me/follows

Idempotent: returns 201 for a new follow and 200 when the caller already follows the target. Following an org includes its products in the feed.

Authorization

bearerAuth
headerAuthorizationBearer <relk_… | relu_… | OAuth JWT>

Machine/operator tokens use the relk_ prefix; self-serve read-only user keys use relu_; Sign in with Releases supplies an OAuth access token. Required scope depends on the endpoint.

Request Body

application/json
  1. body
targetType*string
Value in"org""product"
targetId*string

The org or product id (org_… / prod_…).

Length1 <= length

Response Body

Already following

application/json
  1. response
success*boolean
following*boolean
Example Request
curl -X POST 'https://api.releases.sh/v1/me/follows' \  -H 'Content-Type: application/json' \  -d '{  "targetType": "org",  "targetId": "string"}'
Example Response
{  "success": true,  "following": true}