Profile

Replace demographic (Profile Authorization)

Replaces the demographic information for a profile eg. Age, Gender. Requires a valid <b>Profile</b> token in the authorization header.

put/api/v1/profile/demographic

Request

  • Base URL
    https://api.sahha.ai (the document declares no server; this is the origin it was published from)
  • Auth
    API key in header Authorization

Request body

ageinteger nullable

Age of the user, must be 18 or more and 100 or less.

genderstring nullable

Gender of the user. Can be Male, Female or Gender Diverse.

birthDatestring date-time nullable

Birth Date of the user. In ISO 8601 format.

Example request

{
  "gender": "Male",
  "birthDate": "1990-01-01T00:00:00.0000000+00:00"
}

Response

Updates the demographic information for the profile.

Changes

No recorded changes to this operation across all 1 revision of this API.