Connect an account
POSThttps://api.postpress.ai/v1/accounts/hosted-link
Generate a single-use hosted authentication link for a provider.
Request body
providerstringoptional
Field `provider`.
success_redirect_urlstringoptional
Field `success_redirect_url`.
{
"provider": "linkedin",
"success_redirect_url": "https://yourapp.com/cb"
}Parameters
providerstringrequired
Provider slug (linkedin, gmail, whatsapp, …).
success_redirect_urlstringoptional
Redirect on success.
failure_redirect_urlstringoptional
Redirect on failure.
Response
Returns the canonical resource representation. See Errors for failure shapes.
Updated May 2026