Authorization

This endpoint allows you to send a request that returns a Json Web Token (JWT).

You must have the Authorization to use this API

Authorization

Authorization

POST https://example.com/wp-json/rimplenet/v1 /authorization

{
    "status_code": 200,
    "status": true,
    "message": "Authorization Successful",
    "data": {
        "iss": "localhost",
        "iat": 0000000000,
        "exp": 0000000000,
        "user": {
            "id": 1,
            "username": "john",
            "roles": [
                "administrator"
            ]
        }
    },
    "error": []
}

To view request params, click on the arrow (>) at the right-hand side of the endpoint URL to expand or collapse

Sample response{

{
    "status_code": 200,
    "status": true,
    "message": "Authorization Successful",
    "data": {
        "iss": "localhost",
        "iat": 0000000000,
        "exp": 0000000000,
        "user": {
            "id": 1,
            "username": "john",
            "roles": [
                "administrator"
            ]
        }
    },
    "error": []
}

Last updated