cURL
curl --request POST \ --url https://api.pagecall.com/v1/users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "user_id": "external_user_102932", "name": "scotty", "profile_url": "https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f=y", "default_member_type": "guest" }'
{ "user": { "user_id": "external_user_102932", "name": "scotty", "profile_url": "https://www.gravatar.com/avatar/00000000000000000000000000000000?d=mp&f=y", "default_member_type": "guest", "access_token": "TfowtRYBs0E_trzoTaCmAXKzB1JxDDhi", "created_at": "2023-01-01T01:00:00.000Z", "updated_at": "2023-01-01T01:00:00.000Z" } }
Create user within workspace
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful operation
The response is of type object.
object