{
  "info": {
    "_postman_id": "246afc37-826b-4877-97c6-f9010aab8187",
    "name": "Clerk Backend Account Portal Redirect API",
    "description": "The Clerk REST Backend API, meant to be accessed by backend servers.\n\n### Versions\n\nWhen the API changes in a way that isn't compatible with older versions, a new version is released.\nEach version is identified by its release date, e.g. `2025-04-10`. For more information, please see [Clerk API Versions](https://clerk.com/docs/versioning/available-versions).\n\nPlease see https://clerk.com/docs for more information.\n\nContact Support:\n Name: Clerk Platform Team\n Email: support@clerk.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:24:50.000Z",
    "updatedAt": "2026-07-28T01:24:50.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-246afc37-826b-4877-97c6-f9010aab8187"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "redirect",
          "item": [
            {
              "name": "Redirect to a Validated URL",
              "id": "ef0494f1-9952-45a6-a14c-c28c08c6a682",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/redirect?redirect_url=<string>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "redirect"
                  ],
                  "query": [
                    {
                      "description": "The URL to redirect to (optional). If empty or not provided, redirects to the default URL.",
                      "key": "redirect_url",
                      "value": "<string>"
                    }
                  ]
                },
                "description": "Validates and redirects to a safe URL. If no URL is provided, redirects to a default URL."
              },
              "response": [
                {
                  "id": "f580357a-807d-4cbb-b9d1-777e7b13f9d8",
                  "name": "Temporary redirect to the validated URL or default URL",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/redirect?redirect_url=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "redirect"
                      ],
                      "query": [
                        {
                          "description": "The URL to redirect to (optional). If empty or not provided, redirects to the default URL.",
                          "key": "redirect_url",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "Temporary Redirect (since HTTP/1.1)",
                  "code": 307,
                  "_postman_previewlanguage": "text",
                  "header": [
                    {
                      "disabled": false,
                      "description": {
                        "content": "The URL to redirect to",
                        "type": "text/plain"
                      },
                      "key": "Location",
                      "value": "<uri>"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:24:50.000Z",
                  "updatedAt": "2026-07-28T01:24:50.000Z",
                  "uid": "35240-f580357a-807d-4cbb-b9d1-777e7b13f9d8"
                },
                {
                  "id": "13f1980d-9bc0-4fa3-98eb-631e9ffbca80",
                  "name": "Request was not successful",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/redirect?redirect_url=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "redirect"
                      ],
                      "query": [
                        {
                          "description": "The URL to redirect to (optional). If empty or not provided, redirects to the default URL.",
                          "key": "redirect_url",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"errors\": [\n    {\n      \"message\": \"<string>\",\n      \"long_message\": \"<string>\",\n      \"code\": \"<string>\",\n      \"meta\": {}\n    },\n    {\n      \"message\": \"<string>\",\n      \"long_message\": \"<string>\",\n      \"code\": \"<string>\",\n      \"meta\": {}\n    }\n  ],\n  \"meta\": {},\n  \"clerk_trace_id\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T01:24:50.000Z",
                  "updatedAt": "2026-07-28T01:24:50.000Z",
                  "uid": "35240-13f1980d-9bc0-4fa3-98eb-631e9ffbca80"
                },
                {
                  "id": "0a10e76a-3797-47ff-aa60-0321143a4e49",
                  "name": "Request was not successful",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/redirect?redirect_url=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "redirect"
                      ],
                      "query": [
                        {
                          "description": "The URL to redirect to (optional). If empty or not provided, redirects to the default URL.",
                          "key": "redirect_url",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"errors\": [\n    {\n      \"message\": \"<string>\",\n      \"long_message\": \"<string>\",\n      \"code\": \"<string>\",\n      \"meta\": {}\n    },\n    {\n      \"message\": \"<string>\",\n      \"long_message\": \"<string>\",\n      \"code\": \"<string>\",\n      \"meta\": {}\n    }\n  ],\n  \"meta\": {},\n  \"clerk_trace_id\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T01:24:50.000Z",
                  "updatedAt": "2026-07-28T01:24:50.000Z",
                  "uid": "35240-0a10e76a-3797-47ff-aa60-0321143a4e49"
                },
                {
                  "id": "3a9c231e-760a-4fb1-9a11-0b6d78486ec6",
                  "name": "Request was not successful",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/redirect?redirect_url=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "redirect"
                      ],
                      "query": [
                        {
                          "description": "The URL to redirect to (optional). If empty or not provided, redirects to the default URL.",
                          "key": "redirect_url",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "Forbidden",
                  "code": 403,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"errors\": [\n    {\n      \"message\": \"<string>\",\n      \"long_message\": \"<string>\",\n      \"code\": \"<string>\",\n      \"meta\": {}\n    },\n    {\n      \"message\": \"<string>\",\n      \"long_message\": \"<string>\",\n      \"code\": \"<string>\",\n      \"meta\": {}\n    }\n  ],\n  \"meta\": {},\n  \"clerk_trace_id\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T01:24:50.000Z",
                  "updatedAt": "2026-07-28T01:24:50.000Z",
                  "uid": "35240-3a9c231e-760a-4fb1-9a11-0b6d78486ec6"
                },
                {
                  "id": "a73d4ae9-8265-440b-aef7-98e0e46aadf5",
                  "name": "Request was not successful",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: bearer",
                        "key": "Authorization",
                        "value": "Bearer <token>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/v1/redirect?redirect_url=<string>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "redirect"
                      ],
                      "query": [
                        {
                          "description": "The URL to redirect to (optional). If empty or not provided, redirects to the default URL.",
                          "key": "redirect_url",
                          "value": "<string>"
                        }
                      ]
                    }
                  },
                  "status": "Unprocessable Entity (WebDAV) (RFC 4918)",
                  "code": 422,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"errors\": [\n    {\n      \"message\": \"<string>\",\n      \"long_message\": \"<string>\",\n      \"code\": \"<string>\",\n      \"meta\": {}\n    },\n    {\n      \"message\": \"<string>\",\n      \"long_message\": \"<string>\",\n      \"code\": \"<string>\",\n      \"meta\": {}\n    }\n  ],\n  \"meta\": {},\n  \"clerk_trace_id\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T01:24:50.000Z",
                  "updatedAt": "2026-07-28T01:24:50.000Z",
                  "uid": "35240-a73d4ae9-8265-440b-aef7-98e0e46aadf5"
                }
              ],
              "createdAt": "2026-07-28T01:24:50.000Z",
              "updatedAt": "2026-07-28T01:24:50.000Z",
              "uid": "35240-ef0494f1-9952-45a6-a14c-c28c08c6a682"
            }
          ],
          "id": "1109634d-3d73-4867-a107-a5fc5db2288c",
          "createdAt": "2026-07-28T01:24:50.000Z",
          "updatedAt": "2026-07-28T01:24:50.000Z",
          "uid": "35240-1109634d-3d73-4867-a107-a5fc5db2288c"
        }
      ],
      "id": "c02a9fdb-af20-49c8-9828-cccb0b99edd4",
      "createdAt": "2026-07-28T01:24:50.000Z",
      "updatedAt": "2026-07-28T01:24:50.000Z",
      "uid": "35240-c02a9fdb-af20-49c8-9828-cccb0b99edd4"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.clerk.com/v1"
    }
  ]
}