channels

Confirm Channel Association

Changed on

Bind the channel identity from the token to the authenticated user.

Mounted on both POST /channel_associations (canonical, #858) and POST /whatsapp_associations (legacy alias kept so the existing mobile client keeps working without a coordinated release). Both routes share this handler; the channel is resolved from the token's :class:ChannelAssociationRequest row.

post/channel_associations

Request

  • Base URL
    https://api.imperfect.co (the document declares no server; this is the origin it was published from)
  • URL
    https://api.imperfect.co/channel_associations
  • Auth
    HTTP bearer

Query parameters

user_idstring nullable

Headers

accept-languagestring nullable
x-device-timezonestring nullable
x-unitsstring nullable
x-units-sourcestring nullable

Request body

tokenstring required

Response

Successful Response

object required

Changes