V1
Schemas
ChangePasswordRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| language | string | false | Customer’s preferred language for communications |
| new_password | string | true | New password |
| old_password | string | true | Old password |
| username | string | true | Customer username |
CreateUsernameRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| customer_id | string | true | Internal identification of the customer |
| msisdn | string | true | Msisdn belonging to the customer |
| username | string | true | Username to be linked to the customer |
Credential
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| created_at | string(date-time) | true | Creation date |
| deleted_at | DeletedAt | false | Deletion date. It’s a nullTime which represents a time.Time that may be null. |
| enabled | boolean | true | If true it’s enabled |
| require2fa | boolean | false | If true the 2fa is required |
| id | string | false | none |
| last_login_at | string(date-time) | true | Date of last successful login |
| updated_at | string(date-time) | true | Date of last update |
| username | string | true | Username |
| crm | string | true | the crm where the credential belongs to |
DeletedAt
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| Time | string(date-time) | false | Deletion date |
| Valid | boolean | false | true is valid |
ErrorDto
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| componentMsg | string | true | Internal message |
| id | string | true | Unique id identifying the error |
| msg | string | true | Display message |
| sentryCode | string | false | Unique id identifying the error |
| status | integer(int64) | true | Equivalent http error code |
InboundChangeStatusCredential
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| enabled | boolean | true | Enables or disables the credential |
| require2fa | boolean | false | If true the 2fa is required |
InboundCredential
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| password | string | true | New password for the customer credential |
| token | string | true | Security token issued in order to change passwords |
GenerateOTPRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| language | string | false | Customer’s preferred language for communications |
| hint | string | false | Customer’s preferred channel to send otp |
ValidateOTPRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| code | string | false | OTP to validate |
GenerateOTPResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| expires_in | integer(int64) | true | Time to live in seconds |
GeneratePasscodeResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| expires_in | integer(int64) | true | Time to live in seconds |
| passcode | string | false | OTP to validate |
ResetPasswordRequest
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| language | string | false | Customer’s preferred language for communications |
| username | string | true | Customer username |
| hint | string | false | Customer’s preferred channel to send otp |
TokenResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| token | string | true | Security token issued in order to change passwords |
TokenUsernameResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| username | string | true | Customer username |
MagicLinkResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| token | string | true | Security token issued to be able to login without using credentials |
| link | string | true | Link to Authn where the issued security token is sent to be able to login without using credentials. |
Device
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| device_id | string | false | Unique identifier for the device |
| user_agent | string | false | User agent of the device |
| user_agent_alias | string | false | User agent alias of the device |
| created_at | integer | false | Timestamp (in Unix time) when the device was connected |
| expires_at | integer | false | Timestamp (in Unix time) when the device’s connection expires |
DevicesListResponse
|
|
| Name | Type | Required | Description |
|---|---|---|---|
| devices | [Device] | false | none |