Accounts

Get OAuth authorization URL for a platform

get/accounts/{platform}/auth-url

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/accounts/{platform}/auth-url
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Path parameters

platformstring required

Social platform (x, mastodon, bluesky, linkedin, threads, instagram, facebook, tiktok, youtube, pinterest)

Query parameters

connection_mode'oauth' | 'instagram_login'

Instagram login method. Omitted or oauth uses Facebook Login; instagram_login signs in directly with Instagram.

workspace_idstring required

Workspace ID to link account to

server_namestring

Mastodon server name from config (required for mastodon)

instance_urlstring

Mastodon instance URL to dynamically register

intent'production' | 'certification_test'

Typed execution intent; certification_test requires an unscoped instance administrator

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

urlstring required

OAuth authorization URL

Example response

{
  "$schema": "https://example.com/api/v1/schemas/GetAuthURLOutputBody.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.