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

Subtenant

Operations

Organizationuserworkengagement

Operations

Organizationusersegment

Operations

Integrationuseragent

Operations

Protectedidentity

Operations

Update 'Protectedidentity'

Request

Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
Path
pkstringwrite-onlyrequired
Bodyapplication/json
tenantobject or null(Tenant)

Additional Validation Information:

Must be unique

This value can't bet set, when any of the following fields are set: sub_tenant

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

last_namestring or null<= 255 characters
organizationobject or null(Organization)
emailstring or null(email)<= 254 characters
previous_addressobject or null(Address)
sub_tenantobject or null(Subtenant)

Additional Validation Information:

Must be unique

This value can't bet set, when any of the following fields are set: tenant

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

future_addressobject or null(Address)
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
custom_idstring or null<= 128 characters
birth_datestring or null(date)
first_namestring or null<= 255 characters
current_registered_addressobject or null(Address)
ssnstring or null(luhn)[ 12 .. 13 ] characters
curl -i -X PATCH \
  'https://dev.api.pigello.io/accounts/users/customer/protectedidentity/{pk}/' \
  -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 '{
    "tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "last_name": "string",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "email": "user@example.com",
    "previous_address": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "sub_tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "future_address": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "phone_number": "string",
    "custom_id": "string",
    "birth_date": "2019-08-24",
    "first_name": "string",
    "current_registered_address": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "ssn": "stringstring"
  }'

Responses

Successful update

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

tenantobject or null(Tenant)

Additional Validation Information:

Must be unique

This value can't bet set, when any of the following fields are set: sub_tenant

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

last_namestring or null<= 255 characters
organizationobject or null(Organization)
emailstring or null(email)<= 254 characters
previous_addressobject or null(Address)
sub_tenantobject or null(Subtenant)

Additional Validation Information:

Must be unique

This value can't bet set, when any of the following fields are set: tenant

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

future_addressobject or null(Address)
created_atstring(date-time)read-only
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
custom_idstring or null<= 128 characters
birth_datestring or null(date)
first_namestring or null<= 255 characters
current_registered_addressobject or null(Address)
ssnstring or null(luhn)[ 12 .. 13 ] characters
Response
application/json
{ "tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "last_name": "string", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "email": "user@example.com", "previous_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "sub_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "future_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "phone_number": "string", "custom_id": "string", "birth_date": "2019-08-24", "first_name": "string", "current_registered_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "ssn": "stringstring" }

Create 'Protectedidentity'

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
tenantobject or null(Tenant)

Additional Validation Information:

Must be unique

This value can't bet set, when any of the following fields are set: sub_tenant

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

last_namestring or null<= 255 characters
organizationobject or null(Organization)
emailstring or null(email)<= 254 characters
previous_addressobject or null(Address)
sub_tenantobject or null(Subtenant)

Additional Validation Information:

Must be unique

This value can't bet set, when any of the following fields are set: tenant

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

future_addressobject or null(Address)
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
custom_idstring or null<= 128 characters
birth_datestring or null(date)
first_namestring or null<= 255 characters
current_registered_addressobject or null(Address)
ssnstring or null(luhn)[ 12 .. 13 ] characters
curl -i -X POST \
  https://dev.api.pigello.io/accounts/users/customer/protectedidentity/ \
  -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 '{
    "tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "last_name": "string",
    "organization": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "email": "user@example.com",
    "previous_address": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "sub_tenant": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "future_address": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "phone_number": "string",
    "custom_id": "string",
    "birth_date": "2019-08-24",
    "first_name": "string",
    "current_registered_address": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    },
    "ssn": "stringstring"
  }'

Responses

Successful creation

Bodyapplication/json
idstring(uuid)read-onlyrequired

Additional Validation Information:

Must be unique

tenantobject or null(Tenant)

Additional Validation Information:

Must be unique

This value can't bet set, when any of the following fields are set: sub_tenant

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

last_namestring or null<= 255 characters
organizationobject or null(Organization)
emailstring or null(email)<= 254 characters
previous_addressobject or null(Address)
sub_tenantobject or null(Subtenant)

Additional Validation Information:

Must be unique

This value can't bet set, when any of the following fields are set: tenant

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

future_addressobject or null(Address)
created_atstring(date-time)read-only
phone_numberstring or null<= 36 characters'^\+?1?\d{7,15}$'
custom_idstring or null<= 128 characters
birth_datestring or null(date)
first_namestring or null<= 255 characters
current_registered_addressobject or null(Address)
ssnstring or null(luhn)[ 12 .. 13 ] characters
Response
application/json
{ "tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "last_name": "string", "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "email": "user@example.com", "previous_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "sub_tenant": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "future_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "created_at": "2019-08-24T14:15:22Z", "phone_number": "string", "custom_id": "string", "birth_date": "2019-08-24", "first_name": "string", "current_registered_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "ssn": "stringstring" }

Workengagement

Operations