Flows
API for managing credentials flows operations, to simplify CRUD operations
Parameters
Name |
In |
Type |
Required |
Description |
org |
path |
string |
true |
a orgID of Grupo Mamovil |
body |
body |
ChangePasswordRequest |
false |
‘none’ |
1
2
3
4
5
6
|
{
"language": "string",
"new_password": "string",
"old_password": "string",
"username": "string"
}
|
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 |
Request example
1
2
3
4
5
6
7
8
9
10
11
12
|
curl -X POST https://credentials.masstack.com/v1/orgs/{org}/flows/change_password \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}" \
--data-raw "{
'language': 'string',
'new_password': 'string',
'old_password': 'string',
'username': 'string'
}"
|
Parameters
Name |
In |
Type |
Required |
Description |
org |
path |
string |
true |
a orgID of Grupo Mamovil |
body |
body |
CreateUsernameRequest |
false |
‘none’ |
1
2
3
4
5
|
{
"customer_id": "string",
"msisdn": "string",
"username": "string"
}
|
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 |
Request example
1
2
3
4
5
6
7
8
9
10
11
|
curl -X POST https://credentials.masstack.com/v1/orgs/{org}/flows/create_username \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}" \
--data-raw "{
'customer_id': 'string',
'msisdn': 'string',
'username': 'string'
}"
|
Parameters
Name |
In |
Type |
Required |
Description |
org |
path |
string |
true |
a orgID of Grupo Mamovil |
body |
body |
ResetPasswordRequest |
false |
‘none’ |
1
2
3
4
5
|
{
"language": "string",
"username": "string",
"hint": "user@masmovil.com"
}
|
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 |
Request example
1
2
3
4
5
6
7
8
9
10
11
|
curl -X POST https://credentials.masstack.com/v1/orgs/{org}/flows/reset_password \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {access-token}" \
--data-raw "{
'language': 'string',
'username': 'string',
'hint': 'user@masmovil.com'
}"
|