REST API

General Information

The MyCRT REST API is split into five sections: Users, Environments, Captures, Replays, and Granting Environment Permissions. The entire API uses JSON for both requests and responses.

Permissions

Every request requires authentication, and will result in errors if the authentication fails to be met. Four main levels of permissions can be found below.

The following errors will be returned if a request is made by a user who is not logged in or if the user does not have permission to view a requested capture, replay, or environment.

Error Response for Requests Made By Users Without Permission to Access

401 UNAUTHORIZED
{
    "code": 401,
    "message": "user does not have access"
}

Error Response for Requests Made Without User Logged In

403 FORBIDDEN
{
    "code": 403,
    "message": "login required"
}

Last updated