Body Required
-
List of Ocean person ids to fetch the email data for. One email credit will be charged for every verified email found.
At least
1
but not more than500
elements. -
Url of the webhook the email data should be sent to, when completed.
POST /v2/reveal/emails
curl \
-X POST https://api.ocean.io/v2/reveal/emails?apiToken=string \
-H "Content-Type: application/json" \
-d '{"personIds":["personId1","personId2"],"webhookUrl":"https://some-url.com"}'
Request examples
{
"personIds": [
"personId1",
"personId2"
],
"webhookUrl": "https://some-url.com"
}
Response examples (200)
{
"status": "in progress"
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}