POST
/v1/actionsbetaapiKeyworkspace
When to use
Create an action resource before saving its code and selected sources.
For agents
Requires business action creation admin permission. Save a definition and publish it through client.revisions before invoking.
Example
import { PermuteClient } from '@permute/sdk';
const orgClient = new PermuteClient({
apiKey: process.env.PERMUTE_API_KEY!,
});
const client = orgClient.withWorkspace(process.env.PERMUTE_WORKSPACE_ID!);
const result = await client.actions.create({
"name": "Create contact"
});Request body
{
"name": "Create contact"
}Response
{
"data": {
"id": "actn_abcdefghijklmnopqrstuvwx",
"workspaceId": "wksp_finance123",
"name": "Create contact",
"createdAt": "2026-10-02T12:00:00.000Z",
"updatedAt": "2026-10-02T12:00:00.000Z"
}
}