Profile

The signed-in person's own details and photo.

MethodPathSummary
GET/v1/userGet your account
GET/v1/user/emailGet your email address
GET/v1/user/pictureGet your photo
PUT/v1/user/pictureSet your photo
DELETE/v1/user/pictureRemove your photo
GET/user/infoGet your account (legacy)
GET/user/nameGet your name (legacy)
GET/user/emailGet your email address (legacy)
GET/user/pictureGet your photo (legacy)

#Get your account

GET/v1/user

Everything about the signed-in person — profile, organisation, roles and settings.

Address
https://<your-org>.brambleit.cloud/api/v1/user
Requires
Signed-in session, X-API-Key, or a Bramble app access token (Authorization: Bearer).

Response 200

Errors

StatusMessage
404User not found

Example request

Bash
curl -X GET 'https://<your-org>.brambleit.cloud/api/v1/user' \
  -H "X-API-Key: $BRAMBLE_KEY"

#Get your email address

GET/v1/user/email

Get the users email. Returns the users primary email address used for authentication

Address
https://<your-org>.brambleit.cloud/api/v1/user/email
Requires
Signed-in session, X-API-Key, or a Bramble app access token (Authorization: Bearer).

Response 200

Errors

StatusMessage
404User not found

Example request

Bash
curl -X GET 'https://<your-org>.brambleit.cloud/api/v1/user/email' \
  -H "X-API-Key: $BRAMBLE_KEY"

#Get your photo

GET/v1/user/picture
Address
https://<your-org>.brambleit.cloud/api/v1/user/picture
Requires
Signed-in session, X-API-Key, or a Bramble app access token (Authorization: Bearer).

Response 200

Errors

StatusMessage
404User not found

Example request

Bash
curl -X GET 'https://<your-org>.brambleit.cloud/api/v1/user/picture' \
  -H "X-API-Key: $BRAMBLE_KEY"

#Set your photo

PUT/v1/user/picture
Address
https://<your-org>.brambleit.cloud/api/v1/user/picture
Requires
Signed-in session, X-API-Key, or a Bramble app access token (Authorization: Bearer).

Request body JSON

NameTypeDescription
imageanyThe image as a data URL (data:image/png;base64,…).

Response 200

FieldTypeDescription
profile_pictureany
Example response
JSON
{
  "profile_picture": null
}

Errors

StatusMessage
404User not found

Example request

Bash
curl -X PUT 'https://<your-org>.brambleit.cloud/api/v1/user/picture' \
  -H "X-API-Key: $BRAMBLE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image":"…"}'

#Remove your photo

DELETE/v1/user/picture
Address
https://<your-org>.brambleit.cloud/api/v1/user/picture
Requires
Signed-in session, X-API-Key, or a Bramble app access token (Authorization: Bearer).

Response 200

FieldTypeDescription
profile_pictureany
Example response
JSON
{
  "profile_picture": null
}

Errors

StatusMessage
404User not found

Example request

Bash
curl -X DELETE 'https://<your-org>.brambleit.cloud/api/v1/user/picture' \
  -H "X-API-Key: $BRAMBLE_KEY"

#Get your account (legacy)

GET/user/info
Address
https://<your-org>.brambleit.cloud/api/user/info
Requires
Signed-in session, X-API-Key, or a Bramble app access token (Authorization: Bearer).

Response 200

FieldTypeDescription
resultany
Example response
JSON
{
  "result": null
}

Errors

StatusMessage
404User not found

Example request

Bash
curl -X GET 'https://<your-org>.brambleit.cloud/api/user/info' \
  -H "X-API-Key: $BRAMBLE_KEY"

#Get your name (legacy)

GET/user/name
Address
https://<your-org>.brambleit.cloud/api/user/name
Requires
Signed-in session, X-API-Key, or a Bramble app access token (Authorization: Bearer).

Response 200

FieldTypeDescription
resultany
Example response
JSON
{
  "result": null
}

Errors

StatusMessage
404User not found

Example request

Bash
curl -X GET 'https://<your-org>.brambleit.cloud/api/user/name' \
  -H "X-API-Key: $BRAMBLE_KEY"

#Get your email address (legacy)

GET/user/email
Address
https://<your-org>.brambleit.cloud/api/user/email
Requires
Signed-in session, X-API-Key, or a Bramble app access token (Authorization: Bearer).

Response 200

FieldTypeDescription
resultany
Example response
JSON
{
  "result": null
}

Errors

StatusMessage
404User not found

Example request

Bash
curl -X GET 'https://<your-org>.brambleit.cloud/api/user/email' \
  -H "X-API-Key: $BRAMBLE_KEY"

#Get your photo (legacy)

GET/user/picture
Address
https://<your-org>.brambleit.cloud/api/user/picture
Requires
Signed-in session, X-API-Key, or a Bramble app access token (Authorization: Bearer).

Response 200

FieldTypeDescription
resultany
Example response
JSON
{
  "result": null
}

Errors

StatusMessage
404User not found

Example request

Bash
curl -X GET 'https://<your-org>.brambleit.cloud/api/user/picture' \
  -H "X-API-Key: $BRAMBLE_KEY"