# Create Account Portal

This endpoint creates a new portal for a customer.

Endpoint: POST /api/v2/pockets/{pocket_id}/portals/
Version: Version: a85ecbae
Security: CodeBearer

## Path parameters:

  - `pocket_id` (string, required)

## Response 422 fields (application/json):

  - `detail` (array)

  - `detail.loc` (array, required)

  - `detail.msg` (string, required)

  - `detail.type` (string, required)

  - `detail.input` (any)

  - `detail.ctx` (object)


## Response 404 fields
