Create account

POST /accounts

Create a new customer account. Note that accounts are also created and updated automatically in the SSO flow. If you use Embedding with SSO, it's not needed to create accounts via the SaaS API.

Body Parameters

Name Description Type Required
name Company name of the account, e.g. ACME string Yes
externalid Your id of the account string Yes
user Example: { externalid: user001, name: John Doe, email: john@acme.com, locale: nl-BE } json
datasource Credentials to your API. Keys should match the datasource inputs in Blendr.io. Example: { Api-Key: 123456 } json
send_invite Send an invite email to the user to set a password ? boolean

Examples

{
    "name": "ACME Corp",
    "externalid": "5678A",
    "datasource": {
        "your_api_key": "1234567890",
        "environment": "production"
    },
    "send_invite": false,
    "user": {
        "externalid": "123abc",
        "locale": "nl-BE"
    }
}

Results

200

  {
    "guid": "",
    "externalid": "",
    "name": "",
    "created_at": ""
  }

400

{}