Apis::V4::Challenge API

create a challenge

Parameters

Name Description
access_token JSON Web Token retrieved from the Sessions endpoint (you can also passthis into the Authorization header)
data The payload data that will be serialized to create the challenge

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMDIsImV4cCI6MTcwNDQ3MzIyOCwiaWF0IjoxNzA0NDczMDQ4fQ.ZzkBTW9oXMqc3uqbaaBaKz5cesksjnaurNxlr3j1R2Q
Host: example.org
Cookie: 

Route

POST /apis/v4/challenges

Body

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
X-MH-Session: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMDIsImV4cCI6MTcwNDY0NTg0OCwiaWF0IjoxNzA0NDczMDQ4fQ.ojcqbSB5s_VUN_x9EygaPVlGBko8RHbQziVMY2HsLZ0
Access-Control-Expose-Headers: X-MH-Session
ETag: W/"3f5b52a12efce93e4f71679dd28c7990"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 08455372-42dd-431d-8e5c-f032848eff2a
X-Runtime: 0.052069
Content-Length: 567

Status

201

Body