> ## Documentation Index
> Fetch the complete documentation index at: https://docs.member.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Read the magic-link redirect-origin allowlist for a hub

> Return the current magic-link redirect-origin allowlist for a hub.

Owner-only.  Returns the stored list (may be empty).  No portal/member
equivalent — the allowlist is security-sensitive config.



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/teams/{team_id}/hubs/{identifier}/redirect-origins
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/teams/{team_id}/hubs/{identifier}/redirect-origins:
    get:
      tags:
        - hubs-admin
      summary: Read the magic-link redirect-origin allowlist for a hub
      description: |-
        Return the current magic-link redirect-origin allowlist for a hub.

        Owner-only.  Returns the stored list (may be empty).  No portal/member
        equivalent — the allowlist is security-sensitive config.
      operationId: >-
        hubs_admin.get_hubs_admin_get_teams_by_team_id_hubs_by_identifier_redirect_origins
      parameters:
        - in: path
          name: team_id
          required: true
          schema:
            title: Team Id
            type: string
        - in: path
          name: identifier
          required: true
          schema:
            maxLength: 100
            minLength: 1
            title: Identifier
            type: string
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/RedirectOriginsResponse'
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    RedirectOriginsResponse:
      additionalProperties: false
      description: JSON:API single-resource response for a hub redirect-origin allowlist.
      properties:
        data:
          $ref: '#/components/schemas/RedirectOriginsResource'
      required:
        - data
      title: RedirectOriginsResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    RedirectOriginsResource:
      additionalProperties: false
      description: JSON:API resource object for a hub redirect-origin allowlist.
      properties:
        attributes:
          $ref: '#/components/schemas/RedirectOriginsAttributes'
        id:
          title: Id
          type: string
        type:
          const: hub_redirect_origin_allowlists
          default: hub_redirect_origin_allowlists
          title: Type
          type: string
      required:
        - id
        - attributes
      title: RedirectOriginsResource
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    RedirectOriginsAttributes:
      additionalProperties: false
      description: Attributes returned in a GET redirect-origins response.
      properties:
        origins:
          items:
            type: string
          title: Origins
          type: array
      required:
        - origins
      title: RedirectOriginsAttributes
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````