URL: https://gateway.tld/api/send-sms
Method: POST
{
"requester": {
"institution": "SURFnet",
"identity": "d12cb994-5719-405a-9533-af1beef78ee3"
},
"message": {
"originator": "SURFnet",
"recipient": "31610101010",
"body": "DCAF83"
}
}
On Success 200 OK
{
"status": "OK"
}
MessageBird delivery status is not available for lib/bundle consumers
On Invalid Request 400 BAD REQUEST
{
"errors": [
"Invalid phonenumber format"
]
}
On Failure 502 Bad Gateway
{
"errors": [
"Not enough balance (25)"
]
}
Messagebird error
URL: https://gateway.tld/api/verify-yubikey
Method: POST
{
"requester": {
"institution":"institution",
"identity":"UUID"
},
"otp": {
"value": "ccccccbtbhnhgvjjickhkndrllvfcerkrcdttbtigduc"
}
}
On Success 200 OK
{
"status": "OK"
}
On Invalid Request 400 BAD REQUEST
On Failure 502 Bad Gateway