Open Layo
Browse

Influencers

Get an influencer

On this page
GET/v1/influencers/{influencer}

NeedsReadNo chargeMCP toolget_influencer

One influencer, with the voice they use.

Authorization

  • Authorizationstringrequired

    Bearer then the key, with the read scope. A Layo API key, from layo.co/api-keys.

Path parameters

  • influencerstring<uuid>required

    The influencer's id.

Response

application/json

OK

  • idstring<uuid>required

  • namestringrequired

  • descriptionstringrequired

  • createdAtstring | nullrequired

  • updatedAtstringrequired

  • unfinishedSetupbooleanrequired

  • pageUrlstring<uri>required

    Layo's page for it, where the person can see it once signed in. It keeps working: give people this link, never a file's url.
  • avatarMedia | nullrequired

    Their look, as an image.
    Show child attributes
    • idstring<uuid>required

    • mimeTypeenum<string>required

      Available options: image/jpegimage/pngimage/webpvideo/mp4audio/wav

    • byteSizeintegerrequired

      Range: x > 0

    • widthinteger

      Range: x > 0

    • heightinteger

      Range: x > 0

    • durationMsinteger | nullrequired

      A video's or audio file's length in milliseconds. Null for an image, and for a video made before Layo kept video lengths.

      Range: x > 0

    • urlstring<uri>required

      A signed link for showing or playing the file. It stops working after expiresIn seconds; ask again for a fresh one. To give a person a link, give them pageUrl.
    • expiresIninteger

      Seconds the link lasts.

      Range: x > 0

    • downloadUrlstring<uri> | nullrequired

      A link that saves the file as layo-<id>.<ext> instead of showing it. It lasts five minutes: ask again for a fresh one. Null where a download isn't offered.
    • previewUrlstring<uri> | nullrequired

      An image's small WebP copy (720 px on its short side), for showing it: much quicker than url. Null for a video, or until the copy is made. It lasts at least half an hour.
  • voiceVoice | nullrequired

    The voice in use, if they have one.
    Show child attributes
    • idstring<uuid>required

    • presetIdstring | nullrequired

    • durationMsinteger | nullrequired

      Range: x > 0

    • stateenum<string>required

      Available options: makingreadyfailed

    • sourceenum<string>required

      Available options: clonedpresetdesigned