Skip to main content
Version: 2.0.0

Create a term substitution

This endpoint creates a term substitution.

HTTP Request

POST https://app.resemble.ai/api/v2/term_substitutions
JSON Body ParametersTypeDescription
original_textstringtext being replaced e.g Vodaphone
replacement_textstringtext to replace with e.g voduhfone

HTTP Response

{
"success": true,
"item": {
"uuid": <string>,
"original_text": <string>,
"replacement_text": <string>,
"created_at": <UTC Date>,
"updated_at": <UTC Date>,
}
}

Examples

NodeJS
1 2 3 4 5 6 import { Resemble } from '@resemble/node' Resemble.setApiKey('YOUR_API_TOKEN') const response = Resemble.v2.termSubstitutions.create('Original', 'Replacement') const substitution = response.item

Try it out

API Key:
JSON Body: