Loomie™ 3D Avatar Platform
  • Welcome
  • REST API Tutorials
    • API Credentials
    • Create Avatar & Render
    • Create Avatar & Render (fast)
    • Create Avatar & Download GLTF
    • Create Stickers & Animations
  • Voice2Animation SDK Tutorials
    • Unity Tutorial
    • Loom.ai Facial Rig Specification
  • Loomie SDK Tutorials
    • Deploying the Docker Image
    • Example App Walkthrough
      • Example App Full Source
  • REST API
    • Authentication
      • Authorization Code Flow
      • Authorization Code Flow with PKCE
      • Client Credentials Flow
      • Implicit Flow
      • Refresh Token Flow
      • Resource Owner Flow
    • Authorization
    • Avatars
      • List
      • Create
      • Resolve Status
      • Delete
      • Attachments
        • List
        • Resolve
      • Renderings
        • List
        • Create
        • Resolve
        • Resolve Status
    • Schema
      • Animation
      • Attachment Type
      • Dimensions
      • Quota
      • Scope
      • Status
      • Sticker
Powered by GitBook
On this page

Was this helpful?

  1. REST API
  2. Avatars
  3. Attachments

Resolve

Resolves attachment for given avatar & attachment id.

PreviousListNextRenderings

Last updated 4 years ago

Was this helpful?

GET /avatars/{AVATAR_ID}/attachments/{ATTACHMENT_ID}

Request

curl -X GET "https://api.loomai.com/v0.5/avatars/{AVATAR_ID}/attachments/{ATTACHMENT_ID}"
curl -X GET "https://api.loomai.com/v0.5/avatars/5723980430835712/attachments/5111294722572288"

Parameter

Transport

Type

Description

redirect

query

boolean

(Optional) 307 Temporary Redirect to attachment storage location if true. Default is false.

Response

On success the endpoint returns HTTP 200 OK as well as a JSON body containing attachment type, name (if applicable, eg. animation / sticker name) & storage location.

If query parameter ?redirect=true has been passed, the endpoint redirects to the attachment's storage location instead.

For details on available attachment types, see .

{
  "id": int64,
  "type": "string",
  "name": "string",
  "url": "string",
  "updated_at": "string" // ISO-8601 DATETIME
}
{
  "id": 5111294722572288,
  "type": "renderings_pose",
  "name": "neutral",
  "url": "https://storage.googleapis.com/live-com-loomai-api-attachments/5484235973984256/MThVY01uV2tfbWlhLWF2YXRhcg==.png",
  "updated_at": "2020-04-05T16:37:57Z"
}
Schema > Attachment Type