# `ApifyClient.API.ActorOauthAccounts`
[🔗](https://github.com/social-growth-studio/apify-client-ex/blob/v1.0.0/lib/apify_client/api/actor_oauth_accounts.ex#L1)

Provides API endpoint related to api/actor oauth accounts

# `get`

```elixir
@spec get(account_id :: String.t(), opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.ActorOAuthAccount.t()}
  | {:error, ApifyClient.Error.t()}
```

Get Actor OAuth account

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.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
