Skip to main content
GET
Connect a platform

Request contract

  • Method and path: GET /apis/v1/social/messaging/connect/{platform}
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/messaging/connect/{platform}
  • platform: path; required
  • profileId: query; optional
  • redirectUrl: query; optional
  • onboarding: query; optional
  • loginHint: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

platform
string
required

Query Parameters

profileId
string

Your social profile (prf_...); the default profile when omitted.

Pattern: ^prf_[0-9A-Za-z]+$
redirectUrl
string<uri>

Where the browser goes when the flow ends; it must be on your redirect allowlist.

onboarding
string

WhatsApp only: api for a number used only through the API, business_app (the default) for a number that stays on the WhatsApp Business app.

loginHint
string

The mailbox address, to preselect it on the account picker.

Response

Success

alreadyConnected
boolean
required
authUrl
string<uri>

Open this in a browser to authorize the platform, then poll the connect session.

connectSessionId
string
connection
object
expiresAt
string<date-time>