Skip to content

Accounts (2.0.0)

The 'Accounts' application of the Core API

Languages
Servers
https://{environment}.pigello.io

Subtenantcontractconnection

Operations

Subtenanttenantconnection

Operations

Tenant

Operations

Organizationuser

Operations

Bulk write 'Organizationuser'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Bodyapplication/jsonArray [
detail_accessinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum012
custom_idstring or null<= 128 characters
external_clientsArray of objects(Externalclient)
ssn_is_coordination_numberboolean
debt_distribution_instructionArray of objects or null
birth_datestring or null(date)
emailstring or null(email)<= 254 characters
reminder_distribution_instructionArray of objects or null
org_nostring or null(luhn)[ 10 .. 11 ] characters
last_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: first_name, corporate_name

organizationobject or null(Organization)
anonymizedboolean
fmistring or null[ 17 .. 20 ] characters
roleobject or null(Role)
send_out_distribution_instructionArray of objects or null
active_tostring or null(date-time)
prefer_invoice_view_onlyboolean
first_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: last_name, corporate_name

phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
ssnstring or null(luhn)[ 12 .. 13 ] characters
invoice_distribution_instructionArray of objects or null
corporate_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: first_name, last_name

is_activeboolean
anonymization_namestring or null<= 255 characters
profile_pictureobject or null
]
curl -i -X POST \
  https://dev.api.pigello.io/accounts/users/organization/organizationuser/list/ \
  -H 'Content-Type: application/json' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
  -d '[
    {
      "custom_id": "string",
      "external_clients": [
        {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
        }
      ],
      "ssn_is_coordination_number": true,
      "debt_distribution_instruction": [
        null
      ],
      "birth_date": "2019-08-24",
      "email": "user@example.com",
      "reminder_distribution_instruction": [
        null
      ],
      "org_no": "stringstri",
      "last_name": "string",
      "organization": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "anonymized": true,
      "fmi": "stringstringstrin",
      "detail_access": 0,
      "role": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
      },
      "send_out_distribution_instruction": [
        null
      ],
      "active_to": "2019-08-24T14:15:22Z",
      "prefer_invoice_view_only": true,
      "first_name": "string",
      "phone_number": "string",
      "ssn": "stringstring",
      "invoice_distribution_instruction": [
        null
      ],
      "corporate_name": "string",
      "is_active": true,
      "anonymization_name": "string",
      "profile_picture": {
        "name": "string",
        "md5_hash": "string",
        "get": "string",
        "post": {
          "url": "string",
          "fields": {}
        }
      }
    }
  ]'

Responses

Successful bulk create/update

Bodyapplication/jsonArray [
detail_accessinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum012
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

mfa_has_totpboolean or nullread-only
custom_idstring or null<= 128 characters
external_clientsArray of objects(Externalclient)
ssn_is_coordination_numberboolean
debt_distribution_instructionArray of objects or null
birth_datestring or null(date)
emailstring or null(email)<= 254 characters
email_verifiedbooleanread-only
reminder_distribution_instructionArray of objects or null
full_nameanyread-only
tagsanyread-only
org_nostring or null(luhn)[ 10 .. 11 ] characters
last_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: first_name, corporate_name

last_loginstring or null(date-time)read-only
organizationobject or null(Organization)
communication_nameanyread-only
anonymizedboolean
fmistring or null[ 17 .. 20 ] characters
customer_columnsanyread-only
roleobject or null(Role)
send_out_distribution_instructionArray of objects or null
active_tostring or null(date-time)
usernamestring or null[ 8 .. 150 ] characters'^[\w.@+-]+\Z'read-only

Additional Validation Information:

Must be unique

prefer_invoice_view_onlyboolean
first_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: last_name, corporate_name

phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
mfa_has_hotpboolean or nullread-only
hotp_invite_sendout_timestring or null(date-time)read-only
ssnstring or null(luhn)[ 12 .. 13 ] characters
invoice_distribution_instructionArray of objects or null
corporate_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: first_name, last_name

is_activeboolean
created_atstring(date-time)read-only
anonymization_namestring or null<= 255 characters
profile_pictureobject or null
phone_number_verifiedbooleanread-only
]
Response
application/json
[ { "mfa_has_totp": true, "custom_id": "string", "external_clients": [], "ssn_is_coordination_number": true, "debt_distribution_instruction": [], "birth_date": "2019-08-24", "email": "user@example.com", "email_verified": true, "reminder_distribution_instruction": [], "full_name": null, "tags": null, "org_no": "stringstri", "last_name": "string", "last_login": "2019-08-24T14:15:22Z", "organization": {}, "communication_name": null, "anonymized": true, "fmi": "stringstringstrin", "customer_columns": null, "detail_access": 0, "role": {}, "send_out_distribution_instruction": [], "active_to": "2019-08-24T14:15:22Z", "username": "stringst", "prefer_invoice_view_only": true, "first_name": "string", "phone_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "mfa_has_hotp": true, "hotp_invite_sendout_time": "2019-08-24T14:15:22Z", "ssn": "stringstring", "invoice_distribution_instruction": [], "corporate_name": "string", "is_active": true, "created_at": "2019-08-24T14:15:22Z", "anonymization_name": "string", "profile_picture": {}, "phone_number_verified": true } ]

List 'Organizationuser'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Query
_jsonlboolean
_order_byArray of strings
Example: _order_by=field_a,-field_b
_pageinteger(int32)>= 1

Additional Validation Information:

This value must be set together with the following fields: _page_size

_page_sizeinteger(int32)

Additional Validation Information:

This value must be set together with the following fields: _page

_searchstring
_slimboolean
_statisticsboolean
customer_columnsArray of objects
global_realestatesArray of objects
global_segmentsArray of objects
tagsArray of objects
work_engagementsArray of objects
active_toany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

anonymization_nameany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

anonymizedany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

birth_dateany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

corporate_nameany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

created_atany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

custom_idany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

detail_accessany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

emailany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

email_verifiedany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

external_clientsany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

first_nameany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

fmiany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

hotp_invite_sendout_timeany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

idany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

is_activeany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

last_loginany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: gt, Supports negation (via !): True

Operator: gte, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: lt, Supports negation (via !): True

Operator: lte, Supports negation (via !): True

last_nameany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

mfa_has_hotpany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

mfa_has_totpany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

org_noany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

organizationany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

phone_numberany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

phone_number_verifiedany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

prefer_invoice_view_onlyany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

roleany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

ssnany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

ssn_is_coordination_numberany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

usernameany

Filter can be negated by adding a ! to the end of the parameter name.

Additional operators:

Operator: contains, Supports negation (via !): True

Operator: endswith, Supports negation (via !): True

Operator: icontains, Supports negation (via !): True

Operator: iendswith, Supports negation (via !): True

Operator: iexact, Supports negation (via !): True

Operator: in, Supports negation (via !): True

Operator: isnull, Supports negation (via !): True

Operator: istartswith, Supports negation (via !): True

Operator: startswith, Supports negation (via !): True

curl -i -X GET \
  'https://dev.api.pigello.io/accounts/users/organization/organizationuser/list/?_jsonl=true&_order_by=field_a%2C-field_b&_page=1&_page_size=0&_search=string&_slim=true&_statistics=true' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE'

Responses

Successful query

Bodyapplication/jsonArray [
detail_accessinteger(int32)[ -2147483648 .. 2147483647 ]required
Enum012
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

mfa_has_totpboolean or nullread-only
custom_idstring or null<= 128 characters
external_clientsArray of objects(Externalclient)
ssn_is_coordination_numberboolean
debt_distribution_instructionArray of objects or null
birth_datestring or null(date)
emailstring or null(email)<= 254 characters
email_verifiedbooleanread-only
reminder_distribution_instructionArray of objects or null
full_nameanyread-only
tagsanyread-only
org_nostring or null(luhn)[ 10 .. 11 ] characters
last_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: first_name, corporate_name

last_loginstring or null(date-time)read-only
organizationobject or null(Organization)
communication_nameanyread-only
anonymizedboolean
fmistring or null[ 17 .. 20 ] characters
customer_columnsanyread-only
roleobject or null(Role)
send_out_distribution_instructionArray of objects or null
active_tostring or null(date-time)
usernamestring or null[ 8 .. 150 ] characters'^[\w.@+-]+\Z'read-only

Additional Validation Information:

Must be unique

prefer_invoice_view_onlyboolean
first_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: last_name, corporate_name

phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
mfa_has_hotpboolean or nullread-only
hotp_invite_sendout_timestring or null(date-time)read-only
ssnstring or null(luhn)[ 12 .. 13 ] characters
invoice_distribution_instructionArray of objects or null
corporate_namestring or null<= 255 characters

Additional Validation Information:

This field, or at least one of the following fields must be set: first_name, last_name

is_activeboolean
created_atstring(date-time)read-only
anonymization_namestring or null<= 255 characters
profile_pictureobject or null
phone_number_verifiedbooleanread-only
]
Response
application/json
[ { "mfa_has_totp": true, "custom_id": "string", "external_clients": [], "ssn_is_coordination_number": true, "debt_distribution_instruction": [], "birth_date": "2019-08-24", "email": "user@example.com", "email_verified": true, "reminder_distribution_instruction": [], "full_name": null, "tags": null, "org_no": "stringstri", "last_name": "string", "last_login": "2019-08-24T14:15:22Z", "organization": {}, "communication_name": null, "anonymized": true, "fmi": "stringstringstrin", "customer_columns": null, "detail_access": 0, "role": {}, "send_out_distribution_instruction": [], "active_to": "2019-08-24T14:15:22Z", "username": "stringst", "prefer_invoice_view_only": true, "first_name": "string", "phone_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "mfa_has_hotp": true, "hotp_invite_sendout_time": "2019-08-24T14:15:22Z", "ssn": "stringstring", "invoice_distribution_instruction": [], "corporate_name": "string", "is_active": true, "created_at": "2019-08-24T14:15:22Z", "anonymization_name": "string", "profile_picture": {}, "phone_number_verified": true } ]

/accounts/users/auth/invite/organization/organizationuser/

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Bodyapplication/json
any
curl -i -X POST \
  https://dev.api.pigello.io/accounts/users/auth/invite/organization/organizationuser/ \
  -H 'Content-Type: application/json' \
  -H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
  -H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE'

Responses

Successful creation

Bodyapplication/json
any
Response
application/json
null

Subtenant

Operations

Organizationuserworkengagement

Operations

Organizationusersegment

Operations

Integrationuseragent

Operations

Protectedidentity

Operations

Workengagement

Operations