Skip to main content


Scripts can use the Fetch API to make network requests to external services.

Reference Document

Fetch API


// GET Request
const response = await fetch('');
const orgInfo = await response.json();

// POST Request
const data = {
id: 'xxx',
content: 'Test Content'

const response = await fetch('', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
body: JSON.stringify(data)

const result = await response.json();