/redirects

Add or update redirects.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.

Body Params
string
required

Your Store's public API key.

string
required

Your Store's private API key. Keep it on your server.

redirects
array
required

A JSON array of redirect objects. See the complete example and field requirements above.

redirects*
Response

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json