Add User
POST https://api.stream-io-api.com/api/v1.0/user?api_key=2yxg5ueum4b7
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | ||
get_or_create | boolean | Optional - If true, if a user with the same ID already exists, it will be returned. Otherwise, the endpoint will return 409 Conflict. |
Request Body
{"id"=>"Michum", "data"=>{"extra"=>"fields"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string | ||
Stream-Auth-Type | string |