Characters

Save AI Character to Drupal

Saves an AI character from Postgres to Drupal MySQL and updates the Postgres record with the Drupal ID. The characterId from the generate step is required.

post/api/v1/characters/save

Request body

characterIdstring uuid required

Character ID from generation step

b2bClientIdstring

B2B client ID (required if ohFunCreatorId not provided)

ohFunCreatorIdstring

OhFun creator ID (required if b2bClientId not provided)

firstNamestring

Override first name

lastNamestring

Override last name

biographystring

Override biography

aliasstring

Override alias/nickname

jobstring

Override job title

whereYouLivestring

Override location

dateOfBirthstring

Override date of birth. Character must be 21+.

genderstring

Override gender

orientationstring

Override orientation

relationshipStatusstring

Override relationship status

interestsInterests — unresolved $ref
personalitystring

Override personality

typeOfCharacterstring

Type of character for OhChat

bodyTypenumber

Body type ID for OhChat

eyeColornumber

Eye color ID for OhChat

hairColornumber

Hair color ID for OhChat

messagePricenumber

Price per message

subscriptionPricenumber

Subscription price

uidnumber

User ID in OhChat/Drupal system

Response

Character saved to Drupal successfully

successboolean

Whether the save was successful

characterIdnumber

The character ID in Drupal

messagestring

Status message

Changes