User Endpoints
Update User
Update user with user id
PUT
/
users
/
{id}
Authorization
Path
Body
curl --request PUT \
--url https://api.pagecall.com/v1/users/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json'
{
"user": {
"access_token": "TfowtRYBs0E_trzoTaCmAXKzB1JxDDhi",
"created_at": "2023-01-01T01:00:00.000Z",
"default_member_type": "guest",
"name": "scotty",
"nickname": "scotty_the_guest",
"profile_url": "https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f=y",
"updated_at": "2023-01-01T01:00:00.000Z",
"user_id": "external_user_102932"
}
}
Authorizations
Authorizationheaderrequired
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
idrequired
string
user id
Body
application/json
default_member_type
Default: "guest"enum<string>
Default type of member when invited to room
Available options:
guest
, host
, monitor
name
string
Name of the user.
nickname
string
Default display name of the user in the room
profile_url
string
Profile image of the user
Response
200 - application/json
user
object
curl --request PUT \
--url https://api.pagecall.com/v1/users/{id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json'
{
"user": {
"access_token": "TfowtRYBs0E_trzoTaCmAXKzB1JxDDhi",
"created_at": "2023-01-01T01:00:00.000Z",
"default_member_type": "guest",
"name": "scotty",
"nickname": "scotty_the_guest",
"profile_url": "https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f=y",
"updated_at": "2023-01-01T01:00:00.000Z",
"user_id": "external_user_102932"
}
}