Connect a new social network
Store OAuth configuration for a social network platform to enable account connection and content publishing.
Store OAuth configuration for a social network platform to enable account connection and content publishing. This endpoint implements the Bring Your Own Key (BYOK) model, allowing you to use your own OAuth applications for complete control over the authentication flow.
Workflow:
- Obtain OAuth credentials from the social network's developer portal (see platform-specific guides)
- Store the social network using this endpoint
- Connect social accounts using the social accounts API
- Create and schedule posts
Security: The client_secret is encrypted at rest using industry-standard encryption and is never returned in API responses. Only the client_key (public identifier) is included in subsequent GET requests.
Important: Before using this endpoint, ensure you have valid OAuth credentials from the target platform's developer portal. Each platform has different requirements, approval processes, and credential naming conventions. Check our configuration documentation for platform-specific guides.
Permissions: Requires configurations:manage. Access is limited by the API key creator's current organization membership and stored key ceiling. See Organization permissions.
application/json- body
Schema for creating a new customer social network. Before creating a social network, ensure you have obtained valid OAuth credentials from the respective social network's developer portal. Each platform has different requirements and approval processes. Once stored, these credentials enable you to connect social media accounts and publish content through our unified API. For detailed instructions on obtaining credentials for specific platforms, refer to our configuration documentation.
oauth_callback_url?|YouTube BYOK only. Exact customer-hosted HTTPS callback registered with Google. Omit to preserve the default; PATCH null clears it. Requires exactly one YouTube credential configuration.
network*stringSocial network platform identifier. Each platform requires specific OAuth credentials obtained from their respective developer portals. Refer to our configuration guides for detailed instructions on obtaining credentials for each platform.
"threads""bluesky""x""linkedin""youtube""instagram""facebook""tiktok""tiktok-business""pinterest""google_business""vimeo""reddit"client_key*stringOAuth Client ID, API Key, or App ID from the social network's developer portal. This is the public identifier for your OAuth application. Different platforms use different terminology (e.g., X/Twitter uses "Client ID", Meta apps use "App ID", LinkedIn uses "Client ID"). Obtain this from the respective platform's developer console after creating an application.
1 <= lengthclient_secret*stringOAuth Client Secret, API Secret, or App Secret from the social network's developer portal. This is a private credential that should be kept secure and never exposed in client-side code or logs. Different platforms use different terminology (e.g., "Client Secret", "App Secret", "Consumer Secret"). This value is encrypted at rest and never returned in subsequent API responses.
1 <= lengthSocial network created successfully
application/json- response
Successful creation response
success*booleanmessage*stringdata*Customer social network response (client_secret is never included)
curl -X POST 'https://api.outstand.so/v1/social-networks' \ -H 'Content-Type: application/json' \ -d '{ "network": "threads", "client_key": "string", "client_secret": "string"}'{ "success": true, "message": "string", "data": { "oauth_callback_url": "string", "id": "string", "network": "threads", "client_key": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }}