Skip to main content

Add requirement links

This Request will raise your requirement links by [VALUE].

Request​

GET https://api.emlalock.com/addrequirement?userid=[USERID]&apikey=[APIKEY]&value=[VALUE]

Request Parameter​

FieldTypeDescription
[USERID]StringYour UserID
[APIKEY]StringYour API-Key
[VALUE]IntegerLinks to add

Response​

Success (Status: 200)​

Response​

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"user": { ... },
"chastitysession": { ... }
}

Description​

FieldTypeDescription
userObjectThe user object
chastitysessionObjectThe session object

Error (Status: 4xx)​

Response​

HTTP/1.1 400 Bad Request
{
"error": "MissingRequiredData",
"values": [
"userid"
]
}

Description​

ErrorDescription
MissingRequiredDataRequired parameters are not set. See response for missing values.
UserNotFoundThe user was not found.
WrongAPIKeyThe apikey was not correct.
NoActiveSessionThe user has no active session.
InvalidTimeValueThe value of [VALUE] is invalid.