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

# Creates a Zype's Consumer

Given the device session ID, returned in the response of the Register Adobe Device Session endpoint, this endpoint creates a Zype's Consumer.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "TVE",
    "description": "",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://tve.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "paths": {
    "/adobe/authn": {
      "post": {
        "summary": "Creates a Zype's Consumer",
        "description": "Given the device session ID, returned in the response of the Register Adobe Device Session endpoint, this endpoint creates a Zype's Consumer.",
        "operationId": "postCreateZypeConsumer",
        "tags": [
          "Adobe"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "Create Zype Consumer",
                "type": "object",
                "required": [
                  "device_session_id"
                ],
                "properties": {
                  "device_session_id": {
                    "type": "string",
                    "description": "The device session ID returned from the Register Adobe Device Session endpoint"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Zype's Consumer created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "title": "ConsumerResponse",
                  "type": "object",
                  "properties": {
                    "response": {
                      "title": "Consumer",
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "amazon_user_id": {
                          "description": "Unique ID to identify a consumer by Amazon Fire",
                          "type": "string"
                        },
                        "birthday": {
                          "type": "string"
                        },
                        "braintree_id": {
                          "type": "string"
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "current_sign_in_at": {
                          "type": "string"
                        },
                        "current_sign_in_ip": {
                          "type": "string"
                        },
                        "days_trialed": {
                          "type": "number"
                        },
                        "email": {
                          "type": "string"
                        },
                        "has_trialed": {
                          "type": "boolean"
                        },
                        "last_sign_in_at": {
                          "type": "string"
                        },
                        "last_sign_in_ip": {
                          "type": "string"
                        },
                        "linked_devices": {
                          "description": "IDs of Devices a user uses to watch your videos",
                          "type": "object"
                        },
                        "name": {
                          "type": "string"
                        },
                        "parental_access_code": {
                          "description": "The four digit code to use for gating of age restricted content in apps.",
                          "type": "string"
                        },
                        "parental_access_rating": {
                          "type": "string"
                        },
                        "pass_count": {
                          "description": "Number of passes a consumer has",
                          "type": "number"
                        },
                        "password_token": {
                          "type": "string"
                        },
                        "playist_count": {
                          "type": "number"
                        },
                        "recurly_code": {
                          "type": "string"
                        },
                        "remember_token": {
                          "type": "string"
                        },
                        "rss_token": {
                          "type": "string"
                        },
                        "sex": {
                          "type": "string"
                        },
                        "sign_in_count": {
                          "type": "number"
                        },
                        "site_id": {
                          "type": "string"
                        },
                        "stripe_id": {
                          "type": "string"
                        },
                        "subscription_count": {
                          "description": "Number of subscriptions a consumer has",
                          "type": "number"
                        },
                        "terms": {
                          "type": "boolean"
                        },
                        "transaction_count": {
                          "description": "Number of transactions a consumer has",
                          "type": "number"
                        },
                        "updated_at": {
                          "type": "string"
                        },
                        "updates": {
                          "type": "boolean"
                        },
                        "video_count": {
                          "description": "Number of videos a consumer has access to",
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Bad Request",
                  "type": "object",
                  "required": [
                    "message"
                  ],
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "error_code": {
                      "type": "string",
                      "description": "A code representing the specific error condition"
                    }
                  }
                },
                "example": {
                  "message": "Already Logged in with device session"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "title": "Unprocessable Entity",
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                },
                "example": {
                  "message": "Could not save new consumer: {ERROR}"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "api_key",
        "in": "query",
        "description": "The adobe api key"
      }
    }
  }
}
```