FeedHorizon API
Platform invites
GET
/platform-invites

Returns all platform invitation links for a given profile and platform. Invites expire in 7 days and are single-use.

Authorization

bearerAuth
AuthorizationBearer <token>

API key with fh_ prefix. Pass as Authorization: Bearer fh_...

In: header

Query Parameters

profileId*string

Profile ID

platform*string

Platform (e.g. linkedin)

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://app.feedhorizon.dev/api/v1/platform-invites?profileId=string&platform=linkedin"
{
  "data": [
    {
      "id": "string",
      "token": "string",
      "profileId": "string",
      "platform": "linkedin",
      "inviteUrl": "http://example.com",
      "createdAt": "2019-08-24T14:15:22Z",
      "expiresAt": "2019-08-24T14:15:22Z",
      "usedAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "string",
    "details": [
      {
        "field": "string",
        "message": "string"
      }
    ]
  }
}
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "string",
    "details": [
      {
        "field": "string",
        "message": "string"
      }
    ]
  }
}
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "string",
    "details": [
      {
        "field": "string",
        "message": "string"
      }
    ]
  }
}