isSendMessage
is true, then overrideClientId
is required. You may check if the credentials (phone number/email) already exits in ConnectID by using Check credential - client mode API.credential
.isSendMessage
is set as true. The message is composed using a template that must be configured by Unite support. A part of this message is a link that the user must click in order to login (for existing users) or set password (for new users). This means that you also must supply the returnUrl
and errorUrl
. These urls are used by our systems to generate the link in the message.curl --location --request POST 'https://api.mediaconnect.no/capi/v1/client/order//user' \
--header 'Content-Type: application/json' \
--data-raw '{
"credential": "+4712345678",
"isSendMessage": true,
"returnUrl": "www.mediaconect.no/...",
"errorUrl": "www.mediaconect.no/...",
"linkLifetime": 2,
"overrideClientId": "no.mediaconnect"
}'
{
"orderId": 14,
"uniqueUserId": "f21942404003447993b198bdd7ba2ef4",
"isNewUser": true,
"isPasswordSet": false
}