Users

Create or update user

Endpoint to create or update a user.

post/users/upsert

Request

  • Base URL
    https://api.journy.io
  • URL
    https://api.journy.io/users/upsert
  • Auth
    none declared

Request body

propertiesobject

The properties being set, possible values are strings, booleans, numbers and datetimes (ISO 8601)

Response

User will be created

messagestring required
rejectedobject

If validation fails, specifies property name and error description

Example response

{
  "message": "User will be created or updated",
  "rejected": {
    "created_at": "Expected a date but found a boolean."
  }
}

Changes

No recorded changes to this operation across all 3 revisions of this API.