{
  "info": {
    "_postman_id": "cb297466-bb2a-4f8d-bb0b-a1a3bbdd8f03",
    "name": "Cobalt Applications Session Token API",
    "description": "The Cobalt API enables developers to programmatically manage integrations, linked accounts, configurations, events, webhooks, executions, public workflows, and datastores within the Cobalt embedded integration platform. Cobalt helps product and engineering teams build native integrations, deploy them within days, and monetize them with the help of AI agents.\n\nContact Support:\n Name: Cobalt Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:23:23.000Z",
    "updatedAt": "2026-07-28T01:23:23.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-cb297466-bb2a-4f8d-bb0b-a1a3bbdd8f03"
  },
  "item": [
    {
      "name": "public",
      "item": [
        {
          "name": "session-token",
          "item": [
            {
              "name": "Cobalt Generate Token for Linked Account",
              "id": "57ff9009-6b0a-487d-9e17-7d4e775e446b",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"linked_account_id\": \"<string>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/public/session-token",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "public",
                    "session-token"
                  ]
                },
                "description": "Generates a session token for a linked account. Session tokens expire in 24 hours and are used to authenticate client-side SDK calls."
              },
              "response": [
                {
                  "id": "6baf1a01-6312-484c-a525-2a91b5112e0c",
                  "name": "Session token generated successfully.",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-key",
                        "value": "<API Key>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"linked_account_id\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/public/session-token",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "public",
                        "session-token"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"token\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T01:23:24.000Z",
                  "updatedAt": "2026-07-28T01:23:24.000Z",
                  "uid": "35240-6baf1a01-6312-484c-a525-2a91b5112e0c"
                },
                {
                  "id": "232dde19-b499-4423-96a1-7368e5a05687",
                  "name": "Bad request - Missing required parameters.",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-key",
                        "value": "<API Key>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"linked_account_id\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/public/session-token",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "public",
                        "session-token"
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:23:24.000Z",
                  "updatedAt": "2026-07-28T01:23:24.000Z",
                  "uid": "35240-232dde19-b499-4423-96a1-7368e5a05687"
                },
                {
                  "id": "dc8f1cc3-9d16-452e-bae0-d42573a9a609",
                  "name": "Unauthorized - Invalid API key.",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-key",
                        "value": "<API Key>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"linked_account_id\": \"<string>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/public/session-token",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "public",
                        "session-token"
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:23:24.000Z",
                  "updatedAt": "2026-07-28T01:23:24.000Z",
                  "uid": "35240-dc8f1cc3-9d16-452e-bae0-d42573a9a609"
                }
              ],
              "createdAt": "2026-07-28T01:23:24.000Z",
              "updatedAt": "2026-07-28T01:23:24.000Z",
              "uid": "35240-57ff9009-6b0a-487d-9e17-7d4e775e446b"
            }
          ],
          "id": "c273d478-ecba-4abe-85b4-32ebdd92bc2b",
          "createdAt": "2026-07-28T01:23:24.000Z",
          "updatedAt": "2026-07-28T01:23:24.000Z",
          "uid": "35240-c273d478-ecba-4abe-85b4-32ebdd92bc2b"
        }
      ],
      "id": "63f5398c-8c74-4855-ab04-4d47af477643",
      "createdAt": "2026-07-28T01:23:24.000Z",
      "updatedAt": "2026-07-28T01:23:24.000Z",
      "uid": "35240-63f5398c-8c74-4855-ab04-4d47af477643"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "x-api-key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.gocobalt.io/api/v2"
    }
  ]
}