Create a job that verifies a list, a segment or the whole brand (deliverability.manage)
const url = 'https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/verification-jobs';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"scope":{"type":"brand"},"level":1,"connectorId":"example","confirmCredits":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.replifier.com/v1/brands/brd_01hx0000000000000000000000/verification-jobs \ --header 'Content-Type: application/json' \ --data '{ "scope": { "type": "brand" }, "level": 1, "connectorId": "example", "confirmCredits": 1 }'The job advances in chunks via cron (resumable) and leaves one result per contact. Level 1 (default) is built in. Level 2 uses a customer connector (connectorId) and spends credits from its provider: it first requires confirming the cost (confirmCredits equal to or greater than the estimate; otherwise 409 cost_confirmation_required with the estimate; check it beforehand at /verification-jobs/estimate). No credits are spent on contacts that already have a level 1 invalid or a current level 2 result. Track progress with GET /v1/verification-jobs/{job}.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Example
brd_01hx0000000000000000000000Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”Job created
object
object
Level 2: provider credits the customer confirmed before creating the job.
Example
{ "scope": { "type": "brand" }, "status": "queued"}Invalid data
object
object
Example
{ "error": { "code": "not_found" }}No session, expired session, or invalid, expired or revoked API key
object
object
Example
{ "error": { "code": "not_found" }}Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)
object
object
Example
{ "error": { "code": "not_found" }}Does not exist or is not visible to you
object
object
Example
{ "error": { "code": "not_found" }}Conflict
object
object
Example
{ "error": { "code": "not_found" }}Internal error
object
object
Example
{ "error": { "code": "not_found" }}