# Connect a credential platform with the PostEverywhere API **Source:** https://posteverywhere.ai/docs/api/connect-credential-account --- [🤖Connect ChatGPT, Claude or any AI agent to manage your social media end to endConnect your AI agent to manage your social media](https://posteverywhere.ai/agents)POST/accounts/connect-credential # Connect a credential platform with the PostEverywhere API Connects a credential-based platform entirely through the API, no browser involved. Credentials are validated live against the platform before saving; invalid credentials return a 400 with the reason. Re-submitting credentials for an already-connected account updates it in place (this is also how these platforms reconnect). Required fields by platform: telegram needs `bot_token` (from @BotFather; the bot must be an admin of the channel) and `channel` (@username or numeric chat id); discord needs `webhook_url`; bluesky needs `handle` and `app_password` (an app password, never the main account password). Guides: [Connecting accounts guide](https://posteverywhere.ai/docs/connecting-accounts) · [Account health guide](https://posteverywhere.ai/docs/account-health) Copy MarkdownCopy for LLMThis endpoint accepts a JSON request body. See the [accounts guide](https://posteverywhere.ai/docs/connecting-accounts) for a worked example. ## Responses - 200Account connected - 400 - 401 - 402 - 403 - 429 - 500 ## More in Accounts - [List accounts](https://posteverywhere.ai/docs/api/list-accounts) - [Get an account](https://posteverywhere.ai/docs/api/get-account) - [Account health](https://posteverywhere.ai/docs/api/get-account-health) - [Create a connect link](https://posteverywhere.ai/docs/api/create-connect-link) - [Reconnect an account](https://posteverywhere.ai/docs/api/create-reconnect-link) [← Create a connect link](https://posteverywhere.ai/docs/api/create-connect-link)[Reconnect an account →](https://posteverywhere.ai/docs/api/create-reconnect-link)[← All endpoints](https://posteverywhere.ai/docs/api/reference)