GET
/
accounts
curl --request GET \
  --url https://api.stackone.com/accounts \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "id": "<string>",
    "provider": "<string>",
    "status": "active",
    "status_reasons": [
      {
        "code": "<string>",
        "description": "<string>",
        "timestamp": "2023-11-07T05:31:56Z"
      }
    ],
    "origin_owner_id": "<string>",
    "origin_owner_name": "<string>",
    "origin_username": "<string>",
    "credentials": {},
    "setup_information": {},
    "label": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

page
number | null

The page number of the results to fetch

page_size
number | null
default:25

The number of results per page

provider
string | null
deprecated

The provider of the results to fetch

origin_owner_id
string | null

The origin owner identifier of the results to fetch

providers
string[]

The providers list of the results to fetch

account_ids
string[]

The providers list of the results to fetch

status
string[]

The status of the results to fetch

Response

200
application/json
The list of accounts was retrieved.
id
string
required
provider
string
required
status
enum<string>
required
Available options:
active,
inactive,
error
origin_owner_id
string
required
origin_owner_name
string
required
created_at
string
required
updated_at
string
required
status_reasons
object[] | null
origin_username
string | null
credentials
object | null
setup_information
object | null
label
string | null