import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
const response = await client.hooks.getSampleData();
console.log(response);[
{
"createdAt": "<string>",
"events": [
"<string>"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state": "<string>",
"url": "<string>",
"updatedAt": "<string>"
}
]Get sample hook data for Zapier Perform List (testing/field mapping).
import Mobilerun from '@mobilerun/sdk';
const client = new Mobilerun({
apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});
const response = await client.hooks.getSampleData();
console.log(response);[
{
"createdAt": "<string>",
"events": [
"<string>"
],
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state": "<string>",
"url": "<string>",
"updatedAt": "<string>"
}
]Bearer token via Authorization header
Successful Response
Was this page helpful?