Open Layo
Browse

Influencers

List influencers

On this page
GET/v1/influencers

NeedsReadNo chargeMCP toollist_influencers

The influencers in the key's workspace, newest first.

Authorization

  • Authorizationstringrequired

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

Query parameters

  • cursorstring

    nextCursor from the last page. Leave it out for the first.
  • limitintegerdefault:25

    How many to return.

    Range: 1 <= x <= 100

Response

application/json

OK

  • itemsInfluencer[]required

    Show child attributes
    • 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.
  • nextCursorstring | nullrequired

    Pass it as cursor for the next page. Null on the last one.