Get all term substitutions
This endpoint retrieves term substitutions.
HTTP Request
GET https://app.resemble.ai/api/v2/term_substitutions?page=<page>&page_size=<page_size>
Query Parameters | Type | Description |
---|---|---|
page | number starting from 1 | The page to fetch |
page_size | number between 10-1000 (inclusive) | Determines the number of items per page |
HTTP Response
{
"success": true,
"page": <number>,
"num_pages": <number>,
"page_size": <number,
"items": Array<{
"uuid": <string>,
"original_text": <string>,
"replacement_text": <string>,
"created_at": <UTC Date>,
"updated_at": <UTC Date>,
}>
}
Examples
NodeJS
1
2
3
4
5
6
7
8
import { Resemble } from '@resemble/node'
Resemble.setApiKey('YOUR_API_TOKEN')
const page = 1
const pageSize = 10 # optional parameter
const response = Resemble.v2.termSubstitutions.all(page, page_size)
const substitutions = response.items
Try it out
API Key:
Page:
Page Size: