POST
/
users
Authorization
Body
curl --request POST \
  --url https://api.pagecall.com/v1/users \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": "external_user_102932"
}'
{
  "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.

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

user_idrequired
string

ID of the user. Will override exisiting user if the specified ID already being used.

Response

200 - application/json
user
object