Missing avatar for contacts with "lead" role | Community
Skip to main content

I works on integration with Intercom over REST API. I have created a lead user and conversation for it. I have passed an avatar for lead, but on https://app.intercom.com/ it’s not visible:

 

Here a curl for create lead:

 

```

curl --location 'https://api.intercom.io/contacts' \
--header 'Content-Type: application/json' \
--header 'Intercom-Version: 2.12' \
--header 'Authorization: Bearer ***' \
--data '{
    "name": "Test Lead Avatar",
    "avatar": "https://fastly.picsum.photos/id/418/512/512.jpg?hmac=eK3iVeAGyCa3aW5_Zznt99ZNkWRVZ9mYzrbH1duQoFg",
    "role": "lead"
}'

```

 

And for conversation:

 

```

curl --location 'https://api.intercom.io/conversations' \
--header 'Content-Type: application/json' \
--header 'Intercom-Version: 2.10' \
--header 'Authorization: Bearer ***' \
--data '{
    "from": {
        "type": "lead",
        "id": "ABCD"
    },
    "subject": "Test Lead Avatar",
    "body": "Test Lead Avatar"
}'

```

 

What is interesting, when I create contact with role: `user`, the avatar image displays correctly:

 

@Andrii Fedyk It’s Mat from the Support Engineering Team 😀

This is an expected behavior. Lead does not have the ability to have avatars. Please refer to the article about how the Visitors, Leads and Users work in Intercom.


Hey Mat, thanks for the article link.

Unfortunately, the article doesn’t explain why lead has no avatars. Can you double-check the link?


Hi ​@Andrii Fedyk,


I’ve sent the link to the article to emphasize the differences between the visitor, lead and user.
I double check and it is not possible to set avatar for lead currently in Intercom. This functionality is only reserved for Users.


Reply