Skip to main content
POST
Set business username

Request contract

  • Method and path: POST /apis/v1/social/messaging/whatsapp/business-profile/username
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/messaging/whatsapp/business-profile/username
  • connectionId: query; required
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.

Query Parameters

connectionId
string
required

Your messaging connection (msc_...), from GET /apis/v1/social/messaging/connections. On a request with a JSON body it may be sent as a top-level body member instead.

Pattern: ^msc_[0-9A-Za-z]+$

Body

application/json
username
string
required

Desired username. Letters, digits, period, and underscore only. Must contain at least one letter. No leading, trailing, or consecutive periods. No www prefix. No domain TLD suffix.

Required string length: 3 - 35
connectionId
string

The connection, when not sent as the connectionId query parameter.

Pattern: ^msc_[0-9A-Za-z]+$
transferAction
enum<string>
default:none

Pass force_transfer to request a transfer if the username is held by another account

Available options:
none,
force_transfer

Response

Success

status
enum<string>
Available options:
approved,
reserved,
none
success
boolean
username
string