Skip to content
Back

[SOLVED] What does avatars.getInitials returns?

  • 0
  • General
  • React Native
SwapnaSahoo
17 Dec, 2025, 06:51

I am using this function and on logging the value i am getting something like {"_h": 0, "_i": 0, "_j": null, "_k": null} here is the code i used

TypeScript
  return avatars.getInitials({
    name,
    width: 160,
    height: 160,
    background: "000000",
  });
}```
TL;DR
The developer was wondering what avatars.getInitials returns. Another developer helped by providing the correct endpoint and query parameters to use. The original developer got it working by making adjustments to their code and using the suggested endpoint.
Axistro
17 Dec, 2025, 07:16

Use this {endpoint}/avatars/initials

you can use these query params name width height background project

SwapnaSahoo
17 Dec, 2025, 07:30

Thank you it worked

SwapnaSahoo
17 Dec, 2025, 07:30

[SOLVED] What does avatars.getInitials returns?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more