Assign user - client mode
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
POST
/v1/client/order/{orderId}/user
User
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
.The user is notified on the attachment via an email or an SMS message if
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.Request Request Example
Shell
JavaScript
Java
Swift
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"
}'
Response Response Example
200 - Success
{
"orderId": 14,
"uniqueUserId": "f21942404003447993b198bdd7ba2ef4",
"isNewUser": true,
"isPasswordSet": false
}
Request
Path Params
orderId
string
required
Body Params application/json