need to add problem automatically

need to add problem automatically

Dear team,
can i add problem automatically by using api like add incident

thanks