Infoworks 5.5.1
Infoworks Rest API V3

Infoworks Rest API V31.0

Infoworks Rest API V3

Servers

Choose a server to use:

http://localhost:3001/v3

Get `authentication_token` with `username` and `password`.

GET /security/authenticate

Get authentication_token with username and password.

Auth
Query String
service_id number

Used to represent the way user has login into infoworks

optional
Example Request
Copy
Responses
200 400 401 406 500
object object
message stringoptional
result objectoptional
authentication_token stringoptional
is_authenticated booleanoptional
user_id stringoptional
Example Response
200 Authentication success response
400 Request has invalid body or parameters.
401 Forbidden. User lacks access to specified resource.
406 Authentication Failed response
500 Internal Server Error.
Copy

Get `authentication_token` with `refresh_token`.

GET /security/token/access

Get authentication_token with refresh_token.

Auth
Headers
Authorization string

refresh token auth header put Basic {refresh_token}

required
Example Request
Copy
Responses
200 400 401 406 500
object object
message stringoptional
result objectoptional
authentication_token stringoptional
Example Response
200 Authentication success response
400 Request has invalid body or parameters.
401 Forbidden. User lacks access to specified resource.
406 Authentication Failed response
500 Internal Server Error.
Copy

Purge authentication token

DELETE /security/token/access

Purges authentication token and logs out the user. The user will need to generate a new authentication token for subsequent API calls.

Auth
Example Request
Copy
Responses
200 400 401 500
object object
message stringoptional
result stringoptional
Example Response
200 ok
400 Request has invalid body or parameters.
401 Forbidden. User lacks access to specified resource.
500 Internal Server Error.
Copy

Validate `authentication_token` if its active or not.

GET /security/token/validate

Validate authentication_token if its active or not.

Auth
Example Request
Copy
Responses
200 400 401 500
object object
message stringoptional
result objectoptional
is_valid booleanoptional
Example Response
200 Valid Token Response
400 Request has invalid body or parameters.
401 Forbidden. User lacks access to specified resource.
500 Internal Server Error.
Copy

Regenerate Refresh Token and blacklist old token.

DELETE /security/token/refresh

Regenerate Refresh Token and blacklist old token.

Auth
Example Request
Copy
Responses
200 400 401 500
object object
message stringoptional
result stringoptional
Example Response
200
400 Request has invalid body or parameters.
401 Forbidden. User lacks access to specified resource.
500 Internal Server Error.
Copy

Authorise User.

POST /security/authorise/user

Authorise User.

Auth
Request Body
object object
entityType stringoptional
action stringoptional
entityId stringoptional
Example Request
Copy
Responses
200 400 401 500
object object
message stringoptional
result objectoptional
delegation_token stringoptional
is_authorised booleanoptional
Example Response
200
400 Request has invalid body or parameters.
401 Forbidden. User lacks access to specified resource.
500 Internal Server Error.
Copy

Get SAML Redirect URL.

GET /security/sso/initialise

Get SAML Redirect URL.

Auth
Example Request
Copy
Responses
200 400 401 500
object object
Location stringoptional
Example Response
200 Valid Token Response
400 Request has invalid body or parameters.
401 Forbidden. User lacks access to specified resource.
500 Internal Server Error.
Copy

LDAP Authorise User.

POST /security/get/user/data

LDAP Authorise User.

Auth
Request Body
object object
userIds array[string]optional
searchAttribute stringoptional
Example Request
Copy
Responses
200 400 401 500
object object
users array[string]optional
Example Response
200
400 Request has invalid body or parameters.
401 Forbidden. User lacks access to specified resource.
500 Internal Server Error.
Copy

bulk sync (add/update) ldap user by providing login attribute

POST /security/bulk-ldap-sync

bulk sync (add/update) ldap user by providing login attribute

Auth
Request Body
object object
search_on stringoptional
search_list array[string]optional
should_update boolean

Default: true

optional
should_add boolean

Default: true

optional
Example Request
Copy
Responses
200 400 401 406 500
object object
message stringoptional
result objectoptional
new_users_count integeroptional
existing_user_count integeroptional
added array[object]optional
email stringoptional
id stringoptional
updated array[object]optional
email stringoptional
id stringoptional
failed array[object]optional
email stringoptional
id stringoptional
error stringoptional
Example Response
200 bulk ldap users sync response
400 Request has invalid body or parameters.
401 Forbidden. User lacks access to specified resource.
406 Authentication Failed response
500 Internal Server Error.
Copy