Workspace

Get connection URL for managed user

Get or generate a URL that allows a managed user to connect their social media accounts. The URL expires after a configurable period (default: 90 days).

Requires Workspace access - contact serge@publora.com to enable.

post/workspace/users/{userId}/connection-url

Path parameters

userIdstring required

Request body

rotateboolean

Force generation of a new token even if current is valid

expiresInDaysinteger

Number of days until the token expires

Example request

{
  "expiresInDays": 30
}

Response

Connection URL

urlstring uri

URL for user to connect their social accounts

tokenExpiresAtstring date-time

When the connection URL expires

Example response

{
  "url": "https://app.publora.com/connect/abc123..."
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.