Platform invites
Generate a secure invite link so someone can connect their social account to your profile. The link expires in 7 days and can only be used once.
Authorization
bearerAuth AuthorizationBearer <token>
API key with fh_ prefix. Pass as Authorization: Bearer fh_...
In: header
Request Body
application/json
profileId*string
Profile to attach the connected account to
platform*string
Platform (e.g. linkedin)
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://app.feedhorizon.dev/api/v1/platform-invites" \ -H "Content-Type: application/json" \ -d '{ "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"
}
]
}
}