# Signup a user

## Signup a user

<mark style="color:green;">`POST`</mark> `https://api.sponseasy.com/v2/user/sign_up`

This endpoint allows you to signup a new user.

#### Query Parameters

| Name                | Type   | Description |
| ------------------- | ------ | ----------- |
| user\[organization] | string |             |
| user\[email]        | string |             |
| user\[password]     | string |             |

{% tabs %}
{% tab title="200 Request successfully executed." %}

```
{ 
  status: "success",
  data: {
    user: {
      id: id,
      email: email,
      first_name: first_name,
      last_name: last_name,
      organization: organization,
      premium: premium?,
      plan: subscription&.plan,
      subscription: subscription,
      coupon: coupon,
      credit_card: {
        brand: credit_card&.brand,
        exp_month: credit_card&.exp_month,
        exp_year: credit_card&.exp_year,
        last4: credit_card&.last4
      }
    }
  }
}
```

{% endtab %}

{% tab title="400 Could not find a success matching this query." %}

```
{ 
  status: "error",
  message: ["error_message"]
}
```

{% endtab %}
{% endtabs %}
