# Work with synonyms via API

**URL:** <https://discuss.elastic.co/t/work-with-synonyms-via-api/276805>\
**Category:** Elastic Search\
**Tags:** elastic-site-search\
**Created:** [June 23, 2021, 2:10pm UTC](https://discuss.elastic.co/t/work-with-synonyms-via-api/276805 "2021-06-23T14:10:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nadiia](https://avatars.discourse-cdn.com/v4/letter/n/74df32/32.png) [@Nadiia](https://discuss.elastic.co/u/Nadiia)\
**Post date:** [June 23, 2021, 2:10pm UTC](https://discuss.elastic.co/t/work-with-synonyms-via-api/276805/1 "2021-06-23T14:10:55Z")

</div>

I'm looking for a way to work with synonyms via API.  
We need to fetch the list of synonyms and provide it to another endpoint.

I was able to find only this doc

> **[Synonyms | Swiftype Documentation](https://swiftype.com/documentation/app-search/api/synonyms)**
>
> Learn how to get the most out of Swiftype

but it looks outdated.

Is there a way to access synonyms via API?

Thanks.

---

<div class="post-metadata">

**Author:** ![Sean\_Story](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sean_story/32/69987_2.png) [@Sean\_Story](https://discuss.elastic.co/u/Sean_Story)\
**Post date:** [June 23, 2021, 3:17pm UTC](https://discuss.elastic.co/t/work-with-synonyms-via-api/276805/2 "2021-06-23T15:17:01Z")

</div>

Hi @Nadiia,

Can you clarify, are you using Swiftype Site Search, Swiftype App Search, or Elastic App Search?

If you are using Swiftype Site Search ([swiftype.com](http://swiftype.com)) then there is not an API for working with synonyms, unfortunately.

If you are using Swiftype App Search, you've got the correct link to the documentation there, but you are right that it is "outdated" - I suggest you update to Elastic App Search.

If you are using Elastic App Search, the documentation you are looking for is here: [Synonyms API | Elastic App Search Documentation [7.13] | Elastic](https://www.elastic.co/guide/en/app-search/current/synonyms.html)

Hope that helps!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 21, 2021, 3:17pm UTC](https://discuss.elastic.co/t/work-with-synonyms-via-api/276805/3 "2021-07-21T15:17:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
