Skip to main content
POST
/
contacts
/
{contactId}
/
b2b-portal-password
Set or rotate B2B portal password
curl --request POST \
  --url https://{companyName}.api.joinluminous.com/external/api/v1/contacts/{contactId}/b2b-portal-password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "password": "minimum8chars"
}
'
{
  "data": {
    "id": "789123",
    "created_at": "2023-03-15T14:30:00Z",
    "updated_at": "2023-03-15T14:30:00Z",
    "status": "active",
    "first_name": "John",
    "last_name": "Smith",
    "email": "john.smith@acmecorp.com",
    "phone": "555-987-6543",
    "phone_2": "555-555-5555",
    "full_name": "John Smith",
    "company_id": "123456",
    "company": {
      "id": "123456",
      "name": "Acme Corporation"
    },
    "is_primary": true,
    "receive_quotation_pdf": false,
    "receive_purchase_order_pdf": false,
    "receive_purchase_order_invoice_pdf": false,
    "has_portal_login": false,
    "companies": [
      {
        "id": 123,
        "name": "<string>",
        "is_primary": true,
        "receive_quotation_pdf": true,
        "receive_purchase_order_pdf": true,
        "receive_purchase_order_invoice_pdf": true
      }
    ],
    "tags": [
      {
        "id": 123,
        "name": "<string>",
        "description": "<string>",
        "icon": "<string>",
        "color": "<string>"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.joinluminous.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

contactId
integer
required

The unique identifier of the contact

Body

application/json
password
string<password>
required

Plain-text password (min 8 characters). Transmitted only over HTTPS.

Required string length: 8 - 255

Response

Contact with updated portal login status

data
object