Skip to main content
POST
/
v3
/
api
/
servicedesk
/
approve
Approve or reject an instruction
curl --request POST \
  --url https://api.custody.api-zodia.io/v3/api/servicedesk/approve \
  --header 'Content-Type: application/json' \
  --header 'X-Signature: <api-key>' \
  --header 'submitter-id: <submitter-id>' \
  --data '
{
  "requestId": "SERV-REQ-XHGFJUUG",
  "request": {},
  "signature": "MEUCIC3VIuw4pfk+BLnZrk1qklGS9phAlQFSQoAnlhw59x7cAiEAm5nq8ANlHcRNcONj5FXXl1v0EK5U8gZyQ22geFSsFL8="
}
'
{
  "timestamp": "2021-10-27T14:30:13.912Z",
  "title": "Method Not Allowed",
  "status": 415,
  "details": [
    {
      "message": "Available methods : GET,POST",
      "code": "ER-204"
    }
  ]
}

Authorizations

X-Signature
string
header
required

Headers

submitter-id
string
required

Email of API user submitting the request

Example:

"api-maker@zodia.io"

Body

application/json
requestId
string
required

Service Request ID

Example:

"SERV-REQ-XHGFJUUG"

request
object
required

As a maker you don't need to modify this element. As an authoriser you need to explicitly specify the approval or rejection of the request

signature
string
required

Signature of the request field object above (using user private key)

Example:

"MEUCIC3VIuw4pfk+BLnZrk1qklGS9phAlQFSQoAnlhw59x7cAiEAm5nq8ANlHcRNcONj5FXXl1v0EK5U8gZyQ22geFSsFL8="

Response

OK