createAction(pageId: number | string, payload: any): Promise<IApiResponse> {
    return client.post(`/api/pages/${pageId}/actions`, payload);
  },