Core APIs
Text
Extract Emails
2 min
extracts a list of unique emails from a given text api definition { "tab" "examples", "url" "https //orca pathfix com/functions/text/extractemails", "name" "extract emails api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "ri5epgtg5i8dv9prwdkza", "code" "{\n\t\\"output\\" \[{\n\t\t\t\\"email\\" \\"captain\@marvel com\\"\n\t\t},\n\t\t{\n\t\t\t\\"email\\" \\"black widow\@marvel com\\"\n\t\t}\n\t]\n}", "language" "200" }, { "id" "1msqtgo bry j09e9sss4", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "ri5epgtg5i8dv9prwdkza" }, "examples" { "languages" \[ { "id" "wrp1k8p3ffcuulf8g5vvo", "code" "{\r\n\t\\"input\\" \\"i would like to include captain\@marvel com and black widow\@marvel com in our conversations\\"\r\n}", "language" "json" } ], "selectedlanguageid" "wrp1k8p3ffcuulf8g5vvo" }, "description" "call the following api to extract all emails from a given response", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } remarks extract the emails from any given response that can be used in the next api