GET
/
accounts
/
{account_id}
/
account_aliases
curl --request GET \
  --url https://api.togai.com/accounts/{account_id}/account_aliases \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "abcd-12345-uids",
      "value": "hello",
      "effectiveFrom": "2022-06-04T00:00:00Z",
      "effectiveUntil": "2022-06-05T00:00:00Z",
      "createdAt": "2022-06-04T00:00:00Z",
      "updatedAt": "2022-06-04T00:00:00Z"
    }
  ],
  "nextToken": "fdsjhklfhdslhfjdklsahfkjdsa..."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

account_id corresponding to an account

Maximum length: 50
Example:

"ACC00001"

Response

200
application/json
Response for list account aliases request

Paginated response for account aliases

data
object[]
required

Account Alias

nextToken
string
Example:

"eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ=="