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
| Name | Type | Description |
|---|---|---|
| network string | string | Only profiles of one network, for example instagram, facebook or linkedin. Leave empty for all. |
Request
curl https://cotlet.dev/api/v1/sprout-social/profiles \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("sprout-social", "list_profiles") const result = await cotlet.call('sprout-social', 'list_profiles'); cotlet call sprout-social list_profiles Example response
{
"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"
}
]
}