App passwords

Passwords for mail, calendar and contacts apps that can't do Bramble's two-step sign-in. Each is shown once when created, and can be revoked on its own.

MethodPathSummary
GET/v1/user/app-passwordsList your app passwords
POST/v1/user/app-passwordsCreate an app password
DELETE/v1/user/app-passwords/:idRevoke an app password

#List your app passwords

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

Response 200

FieldTypeDescription
successboolean
app_passwordsarray of any
Example response
JSON
{
  "success": true,
  "app_passwords": []
}

Example request

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

#Create an app password

POST/v1/user/app-passwords

The password is in the response once; it can't be shown again.

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

Request body JSON

NameTypeDescription
namestringWhat it's for, e.g. "Phone calendar".

Response 201

FieldTypeDescription
successboolean
app_passwordany
Example response
JSON
{
  "success": true,
  "app_password": null
}

Example request

Bash
curl -X POST 'https://<your-org>.brambleit.cloud/api/v1/user/app-passwords' \
  -H "X-API-Key: $BRAMBLE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Example name"}'

#Revoke an app password

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

Path parameters

NameTypeDescription
idrequirednumber

Response 200

FieldTypeDescription
successboolean
Example response
JSON
{
  "success": true
}

Errors

StatusMessage
404App password not found

Example request

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