Skip to main content

Get an entry

JAVASCRIPT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
client.entries.get('bd8f92eb-d137-49d8-9e7a-560078a8a530') .then(result => { console.log('API call result: ', result); }) .catch(error => { console.log('API call fetch error: ', error); }); client.entries.get({ id: 'bd8f92eb-d137-49d8-9e7a-560078a8a530', versionStatus: 'published' }) .then(result => { console.log('API call result: ', result); }) .catch(error => { console.log('API call fetch error: ', error); }); client.entries.get({ id: 'bd8f92eb-d137-49d8-9e7a-560078a8a530', version: '1.2', language: 'fr-FR' }) .then(result => { console.log('API call result: ', result); }) .catch(error => { console.log('API call fetch error: ', error); });

Still need help?

New support request