{
  "info": {
    "_postman_id": "53768bc4-2974-4116-b0a2-f57e8e55d36f",
    "name": "Unified.to account auth API",
    "description": "One API to Rule Them All\n\nContact Support:\n Email: hello@unified.to",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:22:46.000Z",
    "updatedAt": "2026-07-28T03:22:46.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-53768bc4-2974-4116-b0a2-f57e8e55d36f"
  },
  "item": [
    {
      "name": "unified",
      "item": [
        {
          "name": "integration",
          "item": [
            {
              "name": "auth",
              "item": [
                {
                  "name": "{workspace_id}",
                  "item": [
                    {
                      "name": "{integration_type}",
                      "item": [
                        {
                          "name": "Authorize New Connection",
                          "id": "91394550-aef2-420d-9e52-1302ea3a95cb",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "text/plain"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/unified/integration/auth/:workspace_id/:integration_type?success_redirect=<string>&failure_redirect=<string>&state=<string>&external_xref=<string>&scopes=<string>&scopes=<string>&redirect=<boolean>&env=<string>&lang=<string>&subdomain=<string>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "unified",
                                "integration",
                                "auth",
                                ":workspace_id",
                                ":integration_type"
                              ],
                              "query": [
                                {
                                  "description": "The URL where you want the user to be redirect to after a successful authorization.  The connection ID will be appended with (id=<connectionId>) to this URL, as will the state that was provided.",
                                  "key": "success_redirect",
                                  "value": "<string>"
                                },
                                {
                                  "description": "The URL where you want the user to be redirect to after an unsuccessful authentication. An \"error\" variable will be appended.",
                                  "key": "failure_redirect",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Extra state to send back to your success URL",
                                  "key": "state",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Your user identifier to associate with the new Integration",
                                  "key": "external_xref",
                                  "value": "<string>"
                                },
                                {
                                  "key": "scopes",
                                  "value": "<string>"
                                },
                                {
                                  "key": "scopes",
                                  "value": "<string>"
                                },
                                {
                                  "key": "redirect",
                                  "value": "<boolean>"
                                },
                                {
                                  "key": "env",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Language: en, fr, es, it, pt, zh, hi",
                                  "key": "lang",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Optional tenant domain or subdomain for integrations that require it to build the authorize, token, or API URL. Depending on the integration, this may be a bare subdomain or a full domain/URL.",
                                  "key": "subdomain",
                                  "value": "<string>"
                                }
                              ],
                              "variable": [
                                {
                                  "id": "4adef3b4-ca45-41b3-8910-7da17cf68e61",
                                  "key": "workspace_id",
                                  "value": "<string>",
                                  "description": "(Required) The ID of the workspace"
                                },
                                {
                                  "id": "4acba764-e82a-491e-be6e-960155ed372b",
                                  "key": "integration_type",
                                  "value": "<string>",
                                  "description": "(Required) Type of the supported integration"
                                }
                              ]
                            },
                            "description": "Returns an authorization URL for the specified integration.  Once a successful authorization occurs, a new connection is created."
                          },
                          "response": [
                            {
                              "id": "c86fbec8-65fd-4381-8887-6c092c6182e7",
                              "name": "Successful",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "text/plain"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "authorization",
                                    "value": "<API Key>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/unified/integration/auth/:workspace_id/:integration_type?success_redirect=<string>&failure_redirect=<string>&state=<string>&external_xref=<string>&scopes=<string>&redirect=<boolean>&env=<string>&lang=<string>&subdomain=<string>",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "unified",
                                    "integration",
                                    "auth",
                                    ":workspace_id",
                                    ":integration_type"
                                  ],
                                  "query": [
                                    {
                                      "description": "The URL where you want the user to be redirect to after a successful authorization.  The connection ID will be appended with (id=<connectionId>) to this URL, as will the state that was provided.",
                                      "key": "success_redirect",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "The URL where you want the user to be redirect to after an unsuccessful authentication. An \"error\" variable will be appended.",
                                      "key": "failure_redirect",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "Extra state to send back to your success URL",
                                      "key": "state",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "Your user identifier to associate with the new Integration",
                                      "key": "external_xref",
                                      "value": "<string>"
                                    },
                                    {
                                      "key": "scopes",
                                      "value": "<string>"
                                    },
                                    {
                                      "key": "redirect",
                                      "value": "<boolean>"
                                    },
                                    {
                                      "key": "env",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "Language: en, fr, es, it, pt, zh, hi",
                                      "key": "lang",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "Optional tenant domain or subdomain for integrations that require it to build the authorize, token, or API URL. Depending on the integration, this may be a bare subdomain or a full domain/URL.",
                                      "key": "subdomain",
                                      "value": "<string>"
                                    }
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace_id"
                                    },
                                    {
                                      "key": "integration_type"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "text",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "text/plain"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "<string>",
                              "createdAt": "2026-07-28T03:22:47.000Z",
                              "updatedAt": "2026-07-28T03:22:47.000Z",
                              "uid": "35240-c86fbec8-65fd-4381-8887-6c092c6182e7"
                            }
                          ],
                          "createdAt": "2026-07-28T03:22:47.000Z",
                          "updatedAt": "2026-07-28T03:22:47.000Z",
                          "uid": "35240-91394550-aef2-420d-9e52-1302ea3a95cb"
                        }
                      ],
                      "id": "16953908-32e6-4696-a6cf-9657df723969",
                      "createdAt": "2026-07-28T03:22:47.000Z",
                      "updatedAt": "2026-07-28T03:22:47.000Z",
                      "uid": "35240-16953908-32e6-4696-a6cf-9657df723969"
                    }
                  ],
                  "id": "65890f44-6154-41f6-b8fd-82d01035a536",
                  "createdAt": "2026-07-28T03:22:47.000Z",
                  "updatedAt": "2026-07-28T03:22:47.000Z",
                  "uid": "35240-65890f44-6154-41f6-b8fd-82d01035a536"
                }
              ],
              "id": "5767ef26-b7e5-4156-9bf8-9a36351764f9",
              "createdAt": "2026-07-28T03:22:47.000Z",
              "updatedAt": "2026-07-28T03:22:47.000Z",
              "uid": "35240-5767ef26-b7e5-4156-9bf8-9a36351764f9"
            },
            {
              "name": "login",
              "item": [
                {
                  "name": "{workspace_id}",
                  "item": [
                    {
                      "name": "{integration_type}",
                      "item": [
                        {
                          "name": "Sign in a User",
                          "id": "e9cb3ad1-e71d-433f-9757-9bd294f12f02",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "text/plain"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/unified/integration/login/:workspace_id/:integration_type?success_redirect=<string>&failure_redirect=<string>&state=<string>&redirect=<boolean>&env=<string>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "unified",
                                "integration",
                                "login",
                                ":workspace_id",
                                ":integration_type"
                              ],
                              "query": [
                                {
                                  "description": "The URL where you want the user to be redirect to after a successful authentication/sign-in.  A \"jwt\" parameter will be appended to the URL which will contain a name and email of the user who just signed-in.",
                                  "key": "success_redirect",
                                  "value": "<string>"
                                },
                                {
                                  "description": "The URL where you want the user to be redirect to after an unsuccessful authentication. An \"error\" variable will be appended.",
                                  "key": "failure_redirect",
                                  "value": "<string>"
                                },
                                {
                                  "description": "Extra state to send back to your success URL",
                                  "key": "state",
                                  "value": "<string>"
                                },
                                {
                                  "key": "redirect",
                                  "value": "<boolean>"
                                },
                                {
                                  "key": "env",
                                  "value": "<string>"
                                }
                              ],
                              "variable": [
                                {
                                  "id": "52d2104a-268f-4b81-98dc-431efdfdd7fd",
                                  "key": "workspace_id",
                                  "value": "<string>",
                                  "description": "(Required) The ID of the workspace"
                                },
                                {
                                  "id": "d75ff29d-4b7c-4def-8d23-4743ac3fb47e",
                                  "key": "integration_type",
                                  "value": "<string>",
                                  "description": "(Required) Type of the supported integration"
                                }
                              ]
                            },
                            "description": "Returns an authentication URL for the specified integration.  Once a successful authentication occurs, the name and email are returned inside a jwt parameter, which is a JSON web token that is base-64 encoded."
                          },
                          "response": [
                            {
                              "id": "86ff5f6b-56e0-4b2a-90f5-f0ad784d803e",
                              "name": "Successful",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "text/plain"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: apikey",
                                    "key": "authorization",
                                    "value": "<API Key>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/unified/integration/login/:workspace_id/:integration_type?success_redirect=<string>&failure_redirect=<string>&state=<string>&redirect=<boolean>&env=<string>",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "unified",
                                    "integration",
                                    "login",
                                    ":workspace_id",
                                    ":integration_type"
                                  ],
                                  "query": [
                                    {
                                      "description": "The URL where you want the user to be redirect to after a successful authentication/sign-in.  A \"jwt\" parameter will be appended to the URL which will contain a name and email of the user who just signed-in.",
                                      "key": "success_redirect",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "The URL where you want the user to be redirect to after an unsuccessful authentication. An \"error\" variable will be appended.",
                                      "key": "failure_redirect",
                                      "value": "<string>"
                                    },
                                    {
                                      "description": "Extra state to send back to your success URL",
                                      "key": "state",
                                      "value": "<string>"
                                    },
                                    {
                                      "key": "redirect",
                                      "value": "<boolean>"
                                    },
                                    {
                                      "key": "env",
                                      "value": "<string>"
                                    }
                                  ],
                                  "variable": [
                                    {
                                      "key": "workspace_id"
                                    },
                                    {
                                      "key": "integration_type"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "text",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "text/plain"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "<string>",
                              "createdAt": "2026-07-28T03:22:47.000Z",
                              "updatedAt": "2026-07-28T03:22:47.000Z",
                              "uid": "35240-86ff5f6b-56e0-4b2a-90f5-f0ad784d803e"
                            }
                          ],
                          "createdAt": "2026-07-28T03:22:47.000Z",
                          "updatedAt": "2026-07-28T03:22:47.000Z",
                          "uid": "35240-e9cb3ad1-e71d-433f-9757-9bd294f12f02"
                        }
                      ],
                      "id": "c71d211b-554a-4268-9819-f0dbc722b19f",
                      "createdAt": "2026-07-28T03:22:47.000Z",
                      "updatedAt": "2026-07-28T03:22:47.000Z",
                      "uid": "35240-c71d211b-554a-4268-9819-f0dbc722b19f"
                    }
                  ],
                  "id": "bcf183bd-f5ba-4c12-9933-d3d8cb6b9957",
                  "createdAt": "2026-07-28T03:22:47.000Z",
                  "updatedAt": "2026-07-28T03:22:47.000Z",
                  "uid": "35240-bcf183bd-f5ba-4c12-9933-d3d8cb6b9957"
                }
              ],
              "id": "c3c9dbee-0e96-436b-9441-0999ec998e39",
              "createdAt": "2026-07-28T03:22:47.000Z",
              "updatedAt": "2026-07-28T03:22:47.000Z",
              "uid": "35240-c3c9dbee-0e96-436b-9441-0999ec998e39"
            }
          ],
          "id": "5419db1f-2171-4ee0-b17c-9eddecef4d34",
          "createdAt": "2026-07-28T03:22:47.000Z",
          "updatedAt": "2026-07-28T03:22:47.000Z",
          "uid": "35240-5419db1f-2171-4ee0-b17c-9eddecef4d34"
        }
      ],
      "id": "09a29dbd-219f-4c24-b79d-4203fab61e82",
      "createdAt": "2026-07-28T03:22:47.000Z",
      "updatedAt": "2026-07-28T03:22:47.000Z",
      "uid": "35240-09a29dbd-219f-4c24-b79d-4203fab61e82"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "authorization",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.unified.to"
    }
  ]
}