Get account information like name, email etc.
success
account id
"1639562002248499320"
email
"abc@a.com"
Account name
"John simon"
created at
"2023-01-01 00:00:00"
updated at
const response = await fetch('https://api.redirhub.com/v1/account', { method: 'GET', headers: {}, }); const data = await response.json();
{ "id": "1639562002248499320", "email": "abc@a.com", "name": "John simon", "created_at": "2023-01-01 00:00:00", "updated_at": "2023-01-01 00:00:00" }