Skip to content
Connect an agent

Profiles

List profiles

Newest first.

GET/v1/profiles

TL;DR

QuestionAnswer
What does it do?List profiles.
What does it need?An API key or an OAuth access token.
What does it take?limit, startingAfter, externalId in the query string.
What does it return?Status 200 with a body of type ProfileList.
In the SDK?flung.profiles.list()
As an MCP tool?list_profiles
What can go wrong?401 Missing, unknown, revoked or expired API key; 422 The request failed validation; 429 Too many requests for this credential; wait for retry-after seconds. Every failure has the same error shape.

What it does

Newest first. Pass externalId to find the profile of one of your customers.

Example

curl
curl -X GET 'https://api.flung.dev/v1/profiles?externalId=user_8412' \  --header "Authorization: Bearer $FLUNG_API_KEY"

A successful answer looks like this:

json
{  "data": [    {      "id": "prof_aaaaaaaaaaaaaaaaaaaaaaaa",      "name": "string",      "externalId": "string",      "createdAt": "2026-11-01T09:00:00.000Z",      "updatedAt": "2026-11-01T09:00:00.000Z"    }  ],  "hasMore": true}

Query parameters

FieldTypeRequiredDescription
limitintegerno
startingAfterstringnoThe id of the last profile of the previous page.
externalIdstringnoOnly the profile with this external id.

Responses

StatusMeaningBody
200A page of profiles.ProfileList
401Missing, unknown, revoked or expired API key.Error
422The request failed validation.Error
429Too many requests for this credential; wait for retry-after seconds.Error

Response body

A 200 answer has the type ProfileList.

FieldTypeRequiredDescription
dataProfile[]yes
data[].idstringyes
data[].namestringyes
data[].externalIdstring | nullyes
data[].createdAtstringyes
data[].updatedAtstringyes
hasMorebooleanyes

See also

DocWhy
API referenceEvery endpoint
SchemasEvery request and response type
ErrorsEvery error code and what to do about it
list_profilesThe same operation as an MCP tool