Skip to main content
Version: main

Get account

Retrieve a single customer account by its account ID.

HTTP request

GET /api/now/v1/account/{account_id}

Path parameters

NameDescription
account_idAccount id

Query parameters

None.

Request body

Don't supply a request body for this method.

Response

AccountItemResponse — an item envelope of *AccountModel.

Example

response, err := client.Now().Account().ByID("{accountID}").Get(ctx, nil)
if err != nil {
log.Fatal(err)
}
Was this page helpful?