POST
/
profiles
/
create
Create
curl --request POST \
  --url https://api.buybase.ai/profiles/create \
  --header 'authorization: <authorization>'
{
  "success": true,
  "profile": {
    "id": "prof_12345",
    "dev_id": "dev_67890",
    "created_at": "2023-09-15T14:22:31Z"
  },
  "code": "PROFILE_CREATED"
}

Headers

authorization
string
required
Your API key for authorization.

Body Parameters

No additional parameters required. The profile will be created for the authenticated developer.

Response

success
boolean
Indicates whether the operation was successful.
profile
object
The created profile object.
code
string
A code indicating the result of the operation. Possible values:
  • PROFILE_CREATED: Profile created successfully
  • PROFILE_CREATION_FAILED: Failed to create profile
error
string
Error message if the request fails.
A profile is automatically associated with the authenticated developer. Each developer can have multiple profiles.
{
  "success": true,
  "profile": {
    "id": "prof_12345",
    "dev_id": "dev_67890",
    "created_at": "2023-09-15T14:22:31Z"
  },
  "code": "PROFILE_CREATED"
}