all-about-apikey/abstract-user-avatars/README.md

735 B

Abstract User Avatars

Description

Create highly customizable avatar images with a person's name or initials to improve your user experience.

Example Request

  • Curl
curl "https://avatars.abstractapi.com/v1/?api_key={{token}}&name=John Smith"
  • Raw
GET /v1/?api_key={{token}}&name=John%20Smith HTTP/1.1
Host: avatars.abstractapi.com

Response

  • Success
An image will appear with the letters "JS"
  • Error
{
    "error":{
        "message":"Invalid API key provided.",
        "code":"unauthorized",
        "details":null
    }
}

Regex

[a-z0-9]{32}

Example API key

of3ab02f3xd12ldofxc3fosc129sd241