Actors

Get Actor OAuth account

Changed on

Gets an account connected through an Actor OAuth connection, including its OAuth tokens.

This endpoint only accepts the API token of an Actor run (the APIFY_TOKEN environment variable of the run). The run must belong to the Actor that the account's OAuth connection is configured on, and the account must belong to the user the run's token acts for. Any other token gets a 403 error.

get/v2/actor-oauth-accounts/{accountId}

Request

  • Base URL
    https://api.apify.com
  • Auth
    • HTTP bearer
    • or API key in query parameter token

Path parameters

accountIdstring required
Example:Rk3mP8xQ2vN5tY7wZ

Actor OAuth account ID.

Response

Example response

{
  "data": {
    "_id": "Rk3mP8xQ2vN5tY7wZ",
    "userId": "wRsJZtadYvn4mBZmm",
    "connectionId": "kD9fm2Xp4cJq7Lw8N",
    "createdAt": "2026-01-28T10:00:00.000Z",
    "modifiedAt": "2026-01-28T10:05:00.000Z",
    "authorizedAt": "2026-01-28T10:05:00.000Z",
    "description": "jane.doe@example.com"
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      endpoint added