post
https://api.clerk.io/v2/redirects
Add or update redirects.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Add or update redirects with key, private_key, and a redirects array in the JSON body. Each redirect requires url and a queries array. Each query object requires query and the boolean exact_match. The example includes an exact query and a partial-match query. Use /redirects without a trailing slash.
A response with status ok acknowledges the request. Use GET to verify the stored result.
Check status in the response body even when HTTP 200 is returned. Keep your private API key on your server.
