Skip to main content
Version: 0.1

Set your Aprroval for a request

Path Parameters
  • id string required

    Request's unique id

Request Body required

Vote of the user for an existing request

    oneOf

  • approvalType string required

    Possible values: [Accept]

Responses

Request successfully voted

PUT /api/approvals:id

Authorization

type: apiKeyname: x-api-keyin: header

Request

api_key
id — path required
Body required
{
"approvalType": "Accept"
}
curl -L -X GET 'https://taple.es' \
-H 'Content-Type: application/json' \
-H 'x-api-key: <API_KEY_VALUE>'