Skip to content

Get member details

GET /api/member

Returns the account details of the currently authenticated member. This is useful for verifying your API credentials and retrieving your account information.

Terminal window
curl -X GET \
-H "Api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
https://www.transdirect.com.au/api/member

A successful response returns a 200 status code with the member’s details.

{
"id": 12345,
"company_name": "Example Pty Ltd",
"email": "admin@example.com.au",
"first_name": "Jane",
"last_name": "Smith",
"phone": "0412345678",
"suburb": "SYDNEY",
"postcode": "2000",
"state": "NSW",
"country": "AU"
}
FieldTypeDescription
idintegerUnique member ID
company_namestringCompany or business name
emailstringMember’s email address
first_namestringFirst name
last_namestringLast name
phonestringContact phone number
suburbstringSuburb
postcodestringPostcode
statestringState or territory (e.g. NSW, VIC, QLD)
countrystringCountry code (e.g. AU)
Status codeMeaning
401Unauthorised — invalid credentials or API key