Skip to main content
GET
https://api.alguna.io
/
account-lookup
curl --request GET \
  --url 'https://api.alguna.io/account-lookup?alias=QBO-12345' \
  --header 'Authorization: Bearer YOUR_API_KEY'
{
  "accountId": "acc_abc123def456"
}
Look up a customer’s account ID using an alias. This is useful when you have an external identifier and need to find the corresponding Alguna customer.

Query Parameters

alias
string
required
The alias to look up. This can be:
  • The account ID itself
  • A user-defined alias set on the customer

Response

accountId
string
The Alguna account ID corresponding to the provided alias.

Example

curl --request GET \
  --url 'https://api.alguna.io/account-lookup?alias=QBO-12345' \
  --header 'Authorization: Bearer YOUR_API_KEY'
{
  "accountId": "acc_abc123def456"
}