Skip to main content
GET
/
v1
/
accounts
List connected accounts
curl --request GET \
  --url https://api.letmepost.dev/v1/accounts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "profileId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "platformAccountId": "<string>",
      "displayName": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "tokenExpiresAt": "2023-11-07T05:31:56Z",
      "pinterest": {
        "defaultBoardId": "<string>",
        "defaultBoardName": "<string>"
      },
      "instagram": {
        "kind": "<string>",
        "accountType": "<string>",
        "grantedScopes": [
          "<string>"
        ]
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Mint an API key in the dashboard. See https://letmepost.dev/docs/authentication/.

Query Parameters

profileId
string

Narrow to a single profile. Malformed values match nothing rather than 400 (preserves the dashboard's profile-switcher contract).

Response

Connected accounts.

data
object[]
required