Redirect URLs
Prior to beginning your first verification, ensure you have configured at least one redirect_url. After verification completes, users are redirected to one of your registered URLs with a verification_id parameter. You then use this ID to query the Status endpoint for the final result.
⚠️ INFO
This process can be completed in the Developers menu of the Verifymy Admin Dashboard. You will first need to do this in Sandbox and then replicate it in Production when access is provided.
Authentication
All redirect URL management endpoints require HMAC-SHA256 authentication.
For detailed information on generating HMAC headers and authentication requirements, please refer to the API Integration section of this documentation.
API Endpoints
Get Allowed URLs
Retrieve a list of allowed redirect URLs for your account.
Request:
GET /api/v3/allowed-redirects
Content-type: application/json
Authorization: hmac YOUR-API-KEY:GENERATE-HMAC-WITH-REQUEST-URI
cURL Example:
curl https://oauth.verifymyage.com/api/v3/allowed-redirects \
--header 'Content-type: application/json' \
--header 'Authorization: hmac YOUR-API-KEY:GENERATE-HMAC-WITH-REQUEST-URI'
Response:
{
"body": [
"https://your-website.com/redirect-1",
"https://your-website.com/redirect-2"
]
}
Response parameters:
| Field | Type | Description |
|---|---|---|
|
array |
The list of allowed redirect URLs |
Error responses:
| Code | Description |
|---|---|
401 |
Unauthorized - Invalid API key or HMAC signature |
500 |
Internal server error |
Add allowed URLs
Add one or more allowed redirect URLs to your existing list.
Important: This PUT endpoint appends URLs to your existing list — it does not replace them. To add three new URLs, send only the three new URLs. Your previously registered URLs remain unchanged.
Request:
PUT /api/v3/allowed-redirects
Content-type: application/json
Authorization: hmac YOUR-API-KEY:GENERATE-HMAC-WITH-REQUEST-BODY
[
"https://your-website.com/redirect-1"
]
Request parameters:
| Field | Type | Required | Description |
|---|---|---|---|
|
array |
Yes |
An array containing the allowed redirect URLs to add |
cURL Example:
curl -X PUT https://oauth.verifymyage.com/api/v3/allowed-redirects \
--header 'Content-type: application/json' \
--header 'Authorization: hmac YOUR-API-KEY:GENERATE-HMAC-WITH-REQUEST-BODY'
--data '[
"https://your-website.com/redirect-1"
]'
Error responses:
| Code | Description |
|---|---|
401 |
Unauthorized - Invalid API key or HMAC signature |
500 |
Internal server error |
Best Practices
URL Format Requirements
- All redirect URLs must use HTTPS protocol
- URLs should be fully qualified (include protocol, domain, and path)
- Avoid using localhost or IP addresses in production environments
Security Considerations
- Only add redirect URLs that you control and trust
- Regularly audit your allowed redirect URLs list
- Remove URLs that are no longer needed
- To remove a redirect URL, use the Verifymy Admin Dashboard (Developers menu). There is currently no API endpoint for deleting individual redirect URLs.
- Use specific paths rather than wildcard domains when possible