Skip to main content

Activated users and legal documents?

Thread solved
Forum Member
Posts: 20
Comments: 34

Howdy,

A user is created, set and activated using API. Will this user still be presented the legal documents at first connection to the plattorm?

Thanks.

0 Users found this helpful
Forum Member
Posts: 3
Comments: 59

#1

Yes, this user still needs to agree to the legal documents. However, there are API which provides possibilities to agree on legal documents on behalf of them.

Forum Member
Posts: 20
Comments: 34

#2

Ah ah, I missed the terms_accepted parameter. Suffice to set it to true then?

Thanks!

Forum Member
Posts: 3
Comments: 59

#3

Unfortunately, no.

1. You need to impersonate themselves as this user.
POST /api/2/idp/ott
POST/api/2/idp/ott/login -> here you receive authorization cookie, and you need to use it for following requests
2. Take a list of legal documents.
GET /api/2/users/{{user_id}}/legal_documents
3.  Sing them.
POST /api/2/users/{{user_id}}/legal_documents
4. Logout from user
GET /api/2/idp/logout

Forum Member
Posts: 20
Comments: 34

#4

Clear, thanks for the details!