POST
/
public
/
admin
/
phone-assignments
curl --request POST \
  --url https://web-api.clerk.chat/public/admin/phone-assignments \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '{
  "userId": "<string>",
  "phoneId": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "email": "<string>",
  "phone": "<string>"
}

Authorizations

apiKey
string
header
required

Body

application/json

Request to assign a phone number to a user

Response

201
application/json

The user with assigned phone

Response containing user information