To add an Approval URL to API Bespoke Approval Requests, include the URL in the request payload under a designated field, typically named approvalUrl
or similar, depending on the API specifications. Ensure the URL is properly formatted and accessible, as it serves as the destination for reviewers to approve or reject requests.
Here’s a sample JSON payload:
{
"requestId": "12345",
"approvalUrl": "https://your-approval-url.com",
"requestDetails": {
"type": "access",
"description": "Approval needed for access request"
}
}
Consult the API documentation for required headers, authentication, and specific field names. Test the integration to ensure the URL correctly redirects reviewers and supports the intended approval workflow.idmcrack