> ## Documentation Index > Fetch the complete documentation index at: https://help.narmi.com/llms.txt > Use this file to discover all available pages before exploring further. # Generate Bearer token for post-submission features > Generates a Bearer token for accessing post-submission features. This token should be used in the Authorization header as: `Authorization: Bearer ` Pass `application_id` to get a token for that application. Without it, the token is for the applicant's newest application. How can we improve these docs? Share your feedback. ## OpenAPI ````json POST /v1/account_opening/post_submission_token/ { "openapi": "3.0.3", "info": { "title": "Narmi Account Opening API", "version": "v1 (main)", "description": "To read about the primary endpoints required for Online Account Opening and recommended usage, go to [Account Opening Usage](https://narmi.stoplight.io/docs/narmi-developer-docs/i365qm2g7lq69-account-opening-usage).", "termsOfService": "https://www.narmi.com/policies/developer-terms-conditions", "contact": { "name": "Narmi Support", "email": "support@narmi.com" } }, "servers": [ { "url": "https://api.sandbox.narmi.dev/", "description": "" } ], "tags": [ { "name": "account opening" }, { "name": "csrf" }, { "name": "products" }, { "name": "session" } ], "x-stoplight": { "id": "j1gfsrho7eeyd" }, "paths": { "/v1/account_opening/post_submission_token/": { "post": { "operationId": "POST Generate Post-Submission Token", "description": "Generates a Bearer token for accessing post-submission features.\nThis token should be used in the Authorization header as:\n`Authorization: Bearer `\n\nPass `application_id` to get a token for that application. Without it, the token is for the\napplicant's newest application.\n\n\n\nHow can we improve these docs? Share your feedback.", "summary": "Generate Bearer token for post-submission features", "parameters": [ { "in": "query", "name": "format", "schema": { "type": "string", "enum": [ "json", "toon" ] } } ], "tags": [ "account opening" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostSubmissionTokenRequest" } }, "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/PostSubmissionTokenRequest" } }, "multipart/form-data": { "schema": { "$ref": "#/components/schemas/PostSubmissionTokenRequest" } }, "application/toon": { "schema": { "$ref": "#/components/schemas/PostSubmissionTokenRequest" } } } }, "responses": { "200": { "content": { "application/json": { "schema": { "description": "Bearer token generated successfully", "examples": { "application/json": { "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...", "expires_in": 900 } } } }, "application/toon": { "schema": { "description": "Bearer token generated successfully", "examples": { "application/json": { "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...", "expires_in": 900 } } } } }, "description": "" }, "403": { "content": { "application/json": { "schema": { "description": "Application not in valid state for post-submission features" } }, "application/toon": { "schema": { "description": "Application not in valid state for post-submission features" } } }, "description": "" }, "404": { "content": { "application/json": { "schema": { "description": "No such application for this applicant" } }, "application/toon": { "schema": { "description": "No such application for this applicant" } } }, "description": "" } }, "x-stoplight": { "id": "l7xhe8wu3cemg" } } } }, "components": { "schemas": { "PostSubmissionTokenRequest": { "type": "object", "properties": { "application_id": { "type": "string", "format": "uuid" } }, "x-stoplight": { "id": "o53obqny4swlm" } } } } } ````