Skip to main content
POST
Upsert User Profiles
This endpoint allows you to create or update user profiles in bulk. It is an idempotent operation, meaning you can safely retry requests without creating duplicate profiles.

Path Parameters

string
required
The slug of the Guru to which the profiles belong.

Headers

string
required
Your API key for authentication. You can obtain your API key from the Gurubase dashboard.

Body Parameters

object[]
required
An array of user profile objects to upsert.

Example Request

Response

The response provides a detailed breakdown of the upsert operation.
string
Indicates the overall status of the request. Will be “success” if the request was accepted and partially or fully processed.
number
The total number of users in the request payload.
number
The number of users successfully processed.
array
An array of result objects, one for each user in the request, in the same order.