Assign a specific agent to a user number

View as Markdown
Explicitly creates or updates the mapping that routes messages from a given user number through a specific agent.

Authentication

X-App-Idstring

Your MessageBlue App ID, sent in clear on every request. It is paired with request signing: each request is also signed with your App Secret (see the Authentication tag). The App Secret itself is NEVER transmitted — it is only the HMAC signing key.

Request

This endpoint expects an object.
userNumberstringRequired
agentNumberstringRequired

Response

Updated
messagestring
userNumberstring
agentNumberstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error