---
updatedAt: 2026-06-05T22:10:56.000Z
agentTools:
  projectIndex: https://docs.astra.finance/llms.txt
---

# Get a User Intent

> 📘
>
> You can place your application's `client_id` into the `username` field, and your `client_secret` into the `password` form field of the Authentication section of this documentation 👉.

A User Intent manages the lifecycle of the creation of a User, before that User has been fully created. This endpoint retrieves the User Intent details.

> 📘
>
>  Note that the `user_id` will be returned in the payload if the UserIntent has been successfully converted to a User. Also note that a UserIntent does not need to have an Approved Status to be converted to a User.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Astra Developer API",
    "description": "Astra's public API endpoints available to our customers.",
    "version": "1.0.0"
  },
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    },
    "headers": {
      "request-id": {
        "description": "Unique ID returned with each API response",
        "schema": {
          "type": "string"
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api-sandbox.astra.finance",
      "description": "Sandbox Environment"
    },
    {
      "url": "https://secure.api-sandbox.astra.finance",
      "description": "Secure Sandbox URL"
    }
  ],
  "tags": [
    {
      "name": "User"
    }
  ],
  "paths": {
    "/v1/user_intent/{id}": {
      "get": {
        "tags": [
          "User"
        ],
        "summary": "Get a User Intent",
        "description": "> 📘\n>\n> You can place your application's `client_id` into the `username` field, and your `client_secret` into the `password` form field of the Authentication section of this documentation 👉.\n\nA User Intent manages the lifecycle of the creation of a User, before that User has been fully created. This endpoint retrieves the User Intent details.\n\n> 📘\n>\n>  Note that the `user_id` will be returned in the payload if the UserIntent has been successfully converted to a User. Also note that a UserIntent does not need to have an Approved Status to be converted to a User.\n",
        "security": [
          {
            "basicAuth": []
          }
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true,
            "description": "User intent ID"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "headers": {
              "request-id": {
                "$ref": "#/components/headers/request-id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "description": "Unique Astra user intent ID",
                      "type": "string"
                    },
                    "user_id": {
                      "description": "Unique Astra user ID",
                      "type": "string"
                    },
                    "email": {
                      "description": "Email address of the user",
                      "type": "string"
                    },
                    "phone": {
                      "description": "Phone number of the user",
                      "type": "string"
                    },
                    "first_name": {
                      "description": "First name of the user",
                      "type": "string"
                    },
                    "last_name": {
                      "description": "Last name of the user",
                      "type": "string"
                    },
                    "preferred_first_name": {
                      "description": "Preferred first name of the user",
                      "type": "string"
                    },
                    "preferred_last_name": {
                      "description": "Preferred last name of the user",
                      "type": "string"
                    },
                    "preferred_pronouns": {
                      "description": "Preferred pronouns of the user",
                      "type": "string"
                    },
                    "status": {
                      "description": "Current status of the user (Details on [User Statuses](ref:user-statuses))",
                      "type": "string",
                      "enum": [
                        "approved",
                        "pending",
                        "retry",
                        "document",
                        "suspended",
                        "rejected",
                        "converted_to_user"
                      ]
                    },
                    "rejection_reasons": {
                      "description": "List of details on why a User is not approved",
                      "type": "array"
                    },
                    "kyc_type": {
                      "type": "string",
                      "description": "The verification type of the user, which determines the user's capabilities to send and/or receive funds",
                      "enum": [
                        "receive-only",
                        "unverified",
                        "verified"
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "description": "An optional metadata object for submitting custom data (during User Intent creation) that will be associated with the User Intent and the User",
                      "properties": {
                        "custom_field_name_1": {
                          "type": "string",
                          "description": "Supply a custom name for any number of fields, and provide it a custom value"
                        },
                        "custom_field_name_2": {
                          "type": "string",
                          "description": "Supply a custom name for any number of fields, and provide it a custom value"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```