API Docs
Distribution API

Update Artist

This endpoint receives an artist_id and updates the Artist with the specified fields.

Note: Only one Artist can be edited per HTTP Request.

HTTP Request

  • Production: PUT https://api.even.biz/api/v1/distribution/artists/:artist_id
  • Stage: PUT https://api-staging.even.biz/api/v1/distribution/artists/:artist_id

Body Parameters

ParameterDescriptionRequired
artistArtist object containing the fields to be edited.Yes
artists[].nameThe name of the artist.No
artists[].emailThe email address of the artist.No
artists[].linksAn object containing the artist's social media links.No
artists[].links.spotifyThe Spotify link of the artist.No
artists[].links.instagramThe Instagram link of the artist (if available).No
artists[].links.soundcloudThe SoundCloud link of the artist (if available).No
artists[].links.youtubeThe YouTube link of the artist (if available).No
artists[].usernameThe EVEN username of the artist.No
artists[].external_linkAny additional profile link (singluar) for the Artist.No
artists[].bioArtist BioNo
artists[].aboutArtist About pageNo
artists[].countryArtist's countryNo
artists[].cityArtist's cityNo
artists[].completeMarking an Artist as complete will create an Invitation and send an email to said Artist asking them to join EVEN. You can mark an Artist as complete later via an update with PUT if there's still data that needs to be filled in after creating an Artist.No

Example Request

uri = URI("https://api-staging.even.biz/api/v1/distribution/artists/:artist_id")

# Prepare HTTP request
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true

request = Net::HTTP::Post.new(uri.path, 'Content-Type' => 'application/json')

# Generate required headers
date = Time.now.utc.httpdate
signed_auth_header = sign_headers(method: :post, endpoint: uri.path, date: date)

# Set custom headers
request['Authorization'] = signed_auth_header
request['Date'] = date

body = {
  artist: {
    name: "updated name",
    country: "US",
    bio: "some cool bio"
  }
}
request.body = body.to_json

# Send request
response = http.request(request)

# Handle response
if response.is_a?(Net::HTTPSuccess)
  puts "Success: #{response.body}"
else
  puts "Error: #{response.code} #{response.message}"
end

The above command returns JSON structured like this:

{
  "data": {
    "id": "1",
    "type": "artist",
    "attributes": {
      "id": 1,
      "name": "updated name",
      "slug": "updated-name",
      "username": "artist-53f58fa7-4cc4-4925-b261-0ecd16e85c0b",
      "external_link": null,
      "bio": "some cool bio",
      "about": null,
      "links": null,
      "published": true,
      "country": "US",
      "city": null,
      "private": true,
      "hidden": true,
      "verified": false,
      "onboarded": false,
      "created_at": "2024-10-07T05:59:46.957Z",
      "updated_at": "2024-10-07T05:59:46.957Z",
      "upload_status": "approved"
    },
    "relationships": {
      "releases": {
        "data": []
      }
    }
  },
  "included": []
}

On this page