Follow
Follow another object (specified by target_id)
Endpoint URL
/api/:type/:id/follows/:target_id
HTTP Method
PUT
Authentication
OAuth 2.0: Access token required. See Authentication for examples and details.
Parameters
| Name | Required | Description | Example |
|---|---|---|---|
| type | required | type of the id Example: users, curators, genres |
users |
|
id |
required | ID of the user, curator, genre | 12345 |
|
target_id |
required | ID of the user, curator, artist, genre | 67890 |
Response Elements
| Response | Description |
|---|---|
| code |
Beats API response code. If successful, code is 'OK'. Otherwise it will be an error code. |
Example Response
{
"code": "OK"
}

