API - setting customer Avatar


As i Know, for now there is no such possiblity.

It would be nice if API could have such feature

It is possible to update a customer with avatar. Please do refer this ruby sample here.

Sample curl request to achieve the same,

curl -u user@yourcompany.com:test -F "user[avatar_attributes][content]=@/path/to/profile_image.ext" -X PUT http://domain.freshdesk.com/contacts/id.json

The link above now 404's, and the V2 api endpoint does not work to update a contact's avatar. It is possible to create a contact with an avatar, however, all PUT requests to update a contact with an avatar result in failed validation. Please advise.

Login or Signup to post a comment