Accounts

Add account member

Changed on

Adds a contact to the account (creating the contact when email is new). Re-adding an existing member with a role updates it; without a role keeps the current one.

post/accounts/{externalId}/members

Request

  • Base URL
    https://api.sequenzy.com/api/v1
  • URL
    https://api.sequenzy.com/api/v1/accounts/{externalId}/members
  • Auth
    HTTP bearer

Request body

emailstring email
externalIdstring

Contact external ID, as an alternative to email.

role'owner' | 'admin' | 'member'
firstNamestring
lastNamestring

Response

Existing membership updated

successboolean

Example response

{
  "account": {
    "id": "acc_abc123",
    "externalId": "org_123",
    "name": "Acme",
    "domain": "acme.com",
    "attributes": {
      "plan": "pro",
      "seats": 5
    }
  }
}

Changes