ETASCOM CRM V3 - Documentation API
    Preparing search index...
    • POST(
          request: NextRequest,
      ): Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  author: {
                      avatar: string
                      | null;
                      email: string;
                      id: string;
                      name: string | null;
                  };
                  comments: {}[];
                  company: { id: string; name: string }
                  | null;
                  files: {}[];
                  likes: {}[];
                  likesCount: number;
                  commentsCount: number;
                  isLiked: boolean;
              },
          >,
      >

      Parameters

      • request: NextRequest

      Returns Promise<
          | NextResponse<{ error: string }>
          | NextResponse<
              {
                  author: {
                      avatar: string
                      | null;
                      email: string;
                      id: string;
                      name: string | null;
                  };
                  comments: {}[];
                  company: { id: string; name: string }
                  | null;
                  files: {}[];
                  likes: {}[];
                  likesCount: number;
                  commentsCount: number;
                  isLiked: boolean;
              },
          >,
      >