Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to use emojis in content updated via REST API?

Sascha A. Carlin January 31, 2019

I am looking for a way to use emojis such as

(!) 

in content I push to Confluence Cloud via its REST API.

Is that possible? If so, how? 

1 answer

1 accepted

1 vote
Answer accepted
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 1, 2019

Hello Sascha and welcome to the Community!

You most definitely may insert emojis and emoticons via the REST API. When you’re creating or editing a page you will pass through the emojis as follows via the storage format:

<p><ac:emoticon ac:name="tick" /> ;<ac:emoticon ac:name="warning" /> ;<ac:emoticon ac:name="cross" /> ;<ac:emoticon ac:name="plus" /> ;<ac:emoticon ac:name="minus" /></p>

More on REST API storage format (This is for server, the same syntax will apply to cloud): Confluence Storage Format.

Here is what the actual page will look like:

image.png

I hope this proves helpful and enjoy adding :allthethings: to your content.

Regards,
Stephen Sifers

Sascha A. Carlin February 6, 2019

Thank you Stephen!

Like Stephen Sifers likes this
Brendan Coughlan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 29, 2019

Hi Stephen, I noticed that cloud has more emoticons than server does (e.g. the minus isn't listed on the confluence storage format for confluence server). Would it be possible to list the emoticons available for cloud in the documentation. 

For me especially the light bulb on and off would be very helpful. 

EDIT:
light-on and light-off is used for the emoticons lightbulb on and lightbulb off

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events