Yurba Docs

PATCH /user/{user_tag}/subscribe

Returns RelationshipModel. Subscribes/unsubscribes from the user.

Request URL params:

user_tag: string

Request headers:

token: string

Response:

{
   RelationshipState: string,
}

Example:

{
   RelationshipState: "me_subscribed"
}

Errors:

auth_failed: token authorization failed

too_many_subscribes: you have reached your subscription limit

invalid_user: your user is missing from the database or cannot be read