- Home
- Models
- Account
Account
The account model represents the overarching entity which "owns" all data, such as forms, users or responses.
Account fields
Field |
Type |
Fillable |
Reference |
address
|
Array
|
Yes
|
|
|
auto_delete_contact_days
|
Integer
|
Yes
|
|
|
balance
|
Integer
|
|
|
|
call_limit
|
Integer
|
|
|
|
call_sender_id
|
Integer
|
Yes
|
|
|
color
|
Color
|
Yes
|
|
A HEX value used to theme interfaces with the organisation brand color.
|
config
|
Object
|
|
|
|
contact_matching_requirement
|
String
|
Yes
|
|
|
contact_sort_direction
|
String
|
Yes
|
|
|
contact_sort_field_id
|
Integer
|
Yes
|
|
|
contrast_color
|
String
|
|
|
|
created_at
|
Timestamp
|
|
|
The date the account was created.
|
currency
|
String
|
|
|
|
currency_symbol
|
String
|
|
|
|
default_attendance_added_status
|
Integer
|
Yes
|
|
|
default_attendance_captured_status
|
Integer
|
Yes
|
|
|
default_country
|
String
|
Yes
|
|
|
deleted_at
|
Timestamp
|
|
|
The date the account was deleted.
|
header_bg
|
URL
|
|
|
A URL to an image of the organisation's header background for use in apps, this should be an https URL to prevent security warnings in some browsers.
|
header_logo
|
URL
|
|
|
A URL to an image of the organisation's header logo for use in apps, this should be an https URL to prevent security warnings in some browsers.
|
id
|
Integer
|
|
|
The unique ID to identify the account
|
logo
|
URL
|
|
|
A URL to an image of the organisation's logo, this should be an https URL to prevent security warnings in some browsers.
|
long_date_format
|
String
|
|
|
|
name
|
String
|
Required
|
|
This will usually be the name of the organisation who use the account.
|
organisation_sort_direction
|
String
|
Yes
|
|
|
organisation_sort_field_id
|
Integer
|
Yes
|
|
|
owner_id
|
Reference
|
Required
|
User
|
Indicates which user is the owner of the account.
|
package_id
|
Reference
|
|
Package
|
Indicates which package the account is on.
|
privacy_policy
|
String
|
Yes
|
|
|
rebrand_id
|
Reference
|
|
Rebrand
|
Indicates which rebrand the account is associated with.
|
region
|
String
|
|
|
|
ringtone
|
String
|
Yes
|
|
|
ringtone_url
|
String
|
|
|
|
sender_id
|
Reference
|
Yes
|
Sender
|
Specifies the sender which is used by default when sending emails.
|
short_date_format
|
String
|
Yes
|
|
|
short_name
|
String
|
Yes
|
|
|
sms_sender_id
|
Integer
|
Yes
|
|
|
timezone
|
String
|
Required
|
|
|
updated_at
|
Timestamp
|
|
|
The date the account was last updated.
|
uuid
|
String
|
|
|
|
Account relations
call_sender,
package,
sender,
sms_sender,
logo_file,
header_bg_file,
header_logo_file,
Account endpoints
GET Return data for a specified Account. /accounts/:id toggle
URL slugs
- id
-
String
id
Required
Paramaters
There are no parameters for this endpoint
Example response
POST Update the Account /accounts/:id toggle
URL slugs
- id
-
String
id
Required
Paramaters
- account_uuid
-
String
[No documentation available]
- address
-
String
[No documentation available]
- auto_delete_contact_days
-
String
[No documentation available]
- call_sender_id
-
String
[No documentation available]
- color
-
Color
A HEX value used to theme interfaces with the organisation brand color.
- contact_matching_requirement
-
String
[No documentation available]
- contact_sort_direction
-
String
[No documentation available]
- contact_sort_field_id
-
String
[No documentation available]
- default_attendance_added_status
-
String
[No documentation available]
- default_attendance_captured_status
-
String
[No documentation available]
- default_country
-
String
[No documentation available]
- name
-
String
This will usually be the name of the organisation who use the account.
Required
- organisation_sort_direction
-
String
[No documentation available]
- organisation_sort_field_id
-
String
[No documentation available]
- owner_id
-
Reference
Indicates which user is the owner of the account.
References user model.
Required
- privacy_policy
-
String
[No documentation available]
- ringtone
-
String
[No documentation available]
- sender_id
-
Reference
Specifies the sender which is used by default when sending emails.
References sender model.
- short_date_format
-
String
[No documentation available]
- short_name
-
String
[No documentation available]
- sms_sender_id
-
String
[No documentation available]
- timezone
-
String
[No documentation available]
Required
POST Register a new account /accounts/register toggle
Paramaters
- account_uuid
-
String
[No documentation available]
- address
-
String
[No documentation available]
- auto_delete_contact_days
-
String
[No documentation available]
- call_sender_id
-
String
[No documentation available]
- color
-
Color
A HEX value used to theme interfaces with the organisation brand color.
- contact_matching_requirement
-
String
[No documentation available]
- contact_sort_direction
-
String
[No documentation available]
- contact_sort_field_id
-
String
[No documentation available]
- default_attendance_added_status
-
String
[No documentation available]
- default_attendance_captured_status
-
String
[No documentation available]
- default_country
-
String
[No documentation available]
- name
-
String
This will usually be the name of the organisation who use the account.
Required
- organisation_sort_direction
-
String
[No documentation available]
- organisation_sort_field_id
-
String
[No documentation available]
- privacy_policy
-
String
[No documentation available]
- ringtone
-
String
[No documentation available]
- short_date_format
-
String
[No documentation available]
- short_name
-
String
[No documentation available]
- sms_sender_id
-
String
[No documentation available]
- timezone
-
String
[No documentation available]
Required
- user
-
Array
An object containing full_name, email and password which will be used to create the first user account.
Required