Skip to main content

postProfileFindOrCreate

POST 

/profile/findOrCreate

For creating a user profile. The endpoint will first check to see if the wallet exists elsewhere on the graph. If it does, we will create a new profile associated with the wallet that is namespaced to your app. If it does not exist, we will create a node for the wallet, a node for the profile (namespaced to your app) and an edge indicating that the wallet in question is associated with the profile on your app.

Request

Query Parameters

    apiKey stringrequired
    username string

Body

required

    id stringrequired
    username string

    this field is optional. if you do not set a username, the same string you send in the id field will automatically be set as the username

    blockchain stringrequired

    Default value: Solana

    email string

    execution

    object

    required

    anyOf

    string

Responses

Loading...