Connections
Test platform connection health
Changed onValidate that a platform connection is working correctly. Returns token status, permissions, and last error if any.
post/test-connection/{platformId}
Request
- Base URLhttps://api.publora.com/api/v1
- AuthAPI key in header x-publora-key
Path parameters
platformIdstring required
Platform connection ID (format: platform-id)
Response
Connection test result
Example response
{
"platform": "linkedin",
"platformId": "linkedin-Tz9W5i6ZYG",
"username": "John Doe",
"status": "ok",
"message": "Connection is valid",
"permissions": [
"w_member_social",
"r_basicprofile"
],
"tokenExpiresIn": "29 days"
}Changes
- info
added the optional property
to the response with the status
- info
- breaking
the response property
became nullable for the status
- breaking