Retrieve a synonym
Retrieves a synonym by its ID.
search operation.
Required ACL: settingsAuthorizations
Your Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Path Parameters
Name of the index on which to perform the operation.
"ALGOLIA_INDEX_NAME"
Unique identifier of a synonym object.
"synonymID"
Response
OK
Synonym object.
Unique identifier of a synonym object.
"synonymID"
Synonym type.
synonym, onewaysynonym, altcorrection1, altcorrection2, placeholder, oneWaySynonym, altCorrection1, altCorrection2 "onewaysynonym"
Words to be matched in records.
["vehicle", "auto"]
Word or phrase to appear in query strings (for onewaysynonyms).
"car"
Placeholder token to be put inside records.
"<Street>"
Words or phrases considered equivalent.
["vehicle", "auto"]
Word or phrase to appear in query strings (for altcorrection1 and altcorrection2).
"car"