Update Discord settings
Update Discord account settings. Supports two operations (can be combined): 1. **Webhook identity** - Set the default display name and avatar that appear as the message author on every post. These are account-level defaults; individual posts can override them via platformSpecificData.webhookUsername / webhookAvatarUrl. 2. **Switch channel** - Move the connection to a different channel in the same guild. A new webhook is automatically created in the target channel.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Discord account ID
Custom display name for the webhook (1-80 chars). Empty string resets to default ("Zernio"). Cannot contain "clyde" or "discord".
Custom avatar URL. Empty string resets to default bot avatar.
Switch to a different channel in the same guild. Must be a text (0), announcement (5), or forum (15) channel.
Response Body
application/json
application/json
curl -X PATCH "https://zernio.com/api/v1/accounts/string/discord-settings" \ -H "Content-Type: application/json" \ -d '{ "accountId": "abc123", "webhookUsername": "My Brand", "webhookAvatarUrl": "https://example.com/logo.png" }'{
"message": "Discord settings updated",
"account": {
"_id": "string",
"platform": "string",
"username": "string",
"displayName": "string",
"profilePicture": "string",
"channelId": "string",
"channelName": "string",
"channelType": "string",
"guildId": "string",
"webhookUsername": "string",
"webhookAvatarUrl": "string"
}
}{
"error": "Unauthorized"
}Get Discord account settings GET
Returns the current Discord account settings including webhook identity (display name and avatar), connected channel, and guild information.
Resolve LinkedIn mention GET
Converts a LinkedIn profile or company URL to a URN for @mentions in posts. How to use LinkedIn @mentions (2-step workflow): 1. Call this endpoint with the LinkedIn profile/company URL to get the mention URN and format. 2. Embed the returned mentionFormat (e.g. @[Vincent Jong](urn:li:person:xxx)) directly in your post's content field. Example: - Resolve: GET /v1/accounts/{id}/linkedin-mentions?url=linkedin.com/in/vincentjong&displayName=Vincent Jong - Returns: mentionFormat: "@[Vincent Jong](urn:li:person:xxx)" - Use in post content: "Great talk with @[Vincent Jong](urn:li:person:xxx) today!" Important: The mentions array field in POST /v1/posts is stored for reference only and does NOT trigger @mentions on LinkedIn. You must embed the mention format directly in the content text. Requirements: - Person mentions require the LinkedIn account to be admin of at least one organization. This is a LinkedIn API limitation: the only endpoints that resolve profile URLs to member URNs (vanityUrl, peopleTypeahead) are scoped to organization followers. There is no public LinkedIn API to resolve a vanity URL without organization context. - Organization mentions (e.g. @Microsoft) work without this requirement. - For person mentions to be clickable, the displayName parameter must exactly match the name shown on their LinkedIn profile. - Person mentions DO work when published from personal profiles (the URN just needs to be valid). The limitation is only in the resolution step (URL to URN), not in publishing.