RevorRevor

Check an Outreach Job

GET/api/v1/outreach/jobs/{id}

Retrieves the status and result of an outreach task. This endpoint supports task IDs returned by:

  • POST /api/v1/outreach/dispatches
  • POST /api/v1/outreach/linkedin/post-likes

Authentication

The request must use an API key from the account that created the task.

Path Parameters

NameTypeRequiredDescription
idstringYesThe item.id returned by the creation endpoint.

Request

cURL
curl -X GET "https://revor.ai/api/v1/outreach/jobs/job_uuid" \
  -H "Authorization: Bearer sk-revor-REPLACE_ME"

Status Values

StatusDescription
queuedThe task has been created and is waiting to run.
scheduledThe task is scheduled to run later.
runningThe task is running.
succeededThe task completed successfully.
failedThe task failed.
cancelledThe task was cancelled.

Response

JSON
{
  "ok": true,
  "request_id": "req_xxx",
  "item": {
    "id": "job_uuid",
    "status": "succeeded",
    "action": "outreach.dispatch",
    "channel": "email",
    "scheduled_at": "2026-05-20T10:00:00.000Z",
    "started_at": "2026-05-20T10:00:01.000Z",
    "finished_at": "2026-05-20T10:00:08.000Z",
    "attempt_count": 1,
    "next_attempt_at": null,
    "result": {
      "account_id": "connect_account_xxx",
      "channel": "email",
      "action": "outreach",
      "resolved_action": "message",
      "message_id": "message_xxx",
      "status": "accepted"
    },
    "error": null
  }
}

Response Fields

FieldTypeDescription
idstringTask ID.
statusstringTask status.
actionstringoutreach.dispatch or outreach.linkedin.post_like.
channelstringemail, linkedin, or whatsapp.
scheduled_atstring | nullScheduled execution time.
started_atstring | nullStart time.
finished_atstring | nullCompletion time.
attempt_countnumberNumber of execution attempts.
next_attempt_atstring | nullNext execution time.
resultobject | nullSuccessful result.
errorobject | nullFailure reason.

Successful Results

For outreach.dispatch, result.resolved_action indicates the performed outreach action.

resolved_actionDescription
messageEmail or WhatsApp message.
direct_messageLinkedIn direct message.
invitationLinkedIn invitation.

For outreach.linkedin.post_like, result.status indicates the post-like result.

result.statusDescription
likedOne relevant post was liked.
skippedNo relevant post was found, and no like was performed.

Failed Result

If task execution fails, this endpoint still returns HTTP 200; the failure is reported through item.status and item.error.

JSON
{
  "ok": true,
  "request_id": "req_xxx",
  "item": {
    "id": "job_uuid",
    "status": "failed",
    "action": "outreach.dispatch",
    "channel": "linkedin",
    "attempt_count": 2,
    "result": null,
    "error": {
      "code": "connect_account_reconnect_required",
      "message": "connect_account_reconnect_required",
      "retryable": false
    }
  }
}

Request Errors

These errors indicate that the job lookup request failed.

HTTPCodeDescription
401api_key_missingNo API key was provided.
401api_key_invalidThe API key is invalid.
403permission_deniedThe API key does not have access to this task.
404task_not_foundThe task was not found.
429api_rate_limit_exceededThe request was rate limited.