Read an account by ID

GET /accounts/{id}

Read details of a specific account identified by its unique ID.

Headers

  • Authorization string Required

    Authorization header

Path parameters

  • id integer Required

    A unique identifier for the account within 24SevenOffice accounting module.

Responses

  • 200 application/json
    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string
    • Access-Control-Allow-Credentials string
    • X-Trace-Id string
    Hide response attributes Show response attributes object
    • id number

      A unique identifier for the account within 24SevenOffice accounting module.

    • number number

      The unique number that indicates which type of account it belongs to.

    • name string

      The human-readable name that describes the purpose or nature of the account.

GET /accounts/{id}
curl \
 --request GET 'https://rest.api.24sevenoffice.com/v1/accounts/{id}' \
 --header "Authorization: string"
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string

# Payload
{
  "id": 1000001,
  "number": 1900,
  "name": "Cash, NOK"
}