Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

368 B
Raw Blame
import { Macro } from '@macro-inc/sdk';
import { env } from '../../src/env';

const macro = new Macro({}).requestedAs(env.MACRO_USER_ID);
const hooks = await macro.webhooks.list();
for (const h of hooks) {
  console.log({
    id: h.id,
    name: await h.name(),
    url: await h.endpointUrl(),
    status: await h.status(),
    createdAt: await h.createdAt(),
  });
}