List profiles

List the social profiles connected to your Sprout account.

GET https://cotlet.dev/api/v1/sprout-social/profiles

read

Returns each profile your login can see, with the network, the name shown in Sprout and the profile ID the other tools take. Use it first to turn "my Instagram" into an ID. Profiles your role cannot see are not listed.

Parameters

Parameters: list_profiles
NameTypeDescription
network string string Only profiles of one network, for example instagram, facebook or linkedin. Leave empty for all.

Request

cURL
curl https://cotlet.dev/api/v1/sprout-social/profiles \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("sprout-social", "list_profiles")
Node.js
const result = await cotlet.call('sprout-social', 'list_profiles');
CLI
cotlet call sprout-social list_profiles

Example response

JSON

{
  "profiles": [
    {
      "profile_id": "p_li_02",
      "network": "linkedin",
      "name": "Acme Co"
    },
    {
      "profile_id": "p_ig_01",
      "network": "instagram",
      "name": "@acme"
    },
    {
      "profile_id": "p_fb_03",
      "network": "facebook",
      "name": "Acme"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.