---
updatedAt: 2026-08-06T09:23:45.000Z
agentTools:
  projectIndex: https://developers.alcmeon.com/llms.txt
---

# Get the details of a specific user that has opted out of an optin

Retrieve details of a specific user-optout by ID

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Optins",
    "description": "API for managing optins and user in the optins",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.alcmeon.com",
      "description": "Alcmeon production API server"
    }
  ],
  "x-readme": {
    "explorer-enabled": true
  },
  "paths": {
    "/v1/optins/{optin_id}/user-optouts/{user_optout_id}": {
      "get": {
        "summary": "Get the details of a specific user that has opted out of an optin",
        "description": "Retrieve details of a specific user-optout by ID",
        "operationId": "getUserOptout",
        "tags": [
          "User Optouts"
        ],
        "parameters": [
          {
            "name": "optin_id",
            "in": "path",
            "required": true,
            "description": "The ID of the optin",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "user_optout_id",
            "in": "path",
            "required": true,
            "description": "The ID of the user-optout to retrieve",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved user-optout",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserOptout"
                }
              }
            }
          },
          "404": {
            "description": "Optin or user-optout not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseError"
                },
                "examples": {
                  "optinNotFound": {
                    "summary": "Optin not found",
                    "value": {
                      "error": "optin-not-found",
                      "details": "Optin not found"
                    }
                  },
                  "userOptoutNotFound": {
                    "summary": "User-optout not found",
                    "value": {
                      "error": "user-optout-not-found",
                      "details": "The user optout does not exist"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Rate limit reached. Default limit is set to 15 requests per minute.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "basic_auth": {
        "description": "Basic authentication using your environment Instance ID as username and Application Secret as password.\n",
        "type": "http",
        "scheme": "basic"
      },
      "bearer_token": {
        "description": "OAuth 2.0 Bearer token authentication.  Obtain a token by calling the /v1/oauth2/token endpoint with your credentials. The token is valid for one hour.\n",
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "UserOptout": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Unique identifier for the user-optout",
            "example": 400
          },
          "user_phone_number": {
            "type": "string",
            "description": "User's phone number in E.164 format (without + prefix)",
            "example": "33612345678"
          },
          "optin_id": {
            "type": "integer",
            "description": "ID of the associated optin",
            "example": 200
          },
          "account_id": {
            "type": "integer",
            "description": "ID of the account/site",
            "example": 100
          },
          "output_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Timestamp of when the user opted out",
            "example": "2025-11-12T10:30:00Z"
          },
          "last_optin_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "description": "Timestamp of when the user last opted in before opting out",
            "example": "2025-11-12T09:00:00Z"
          }
        },
        "required": [
          "id",
          "user_phone_number",
          "optin_id",
          "account_id"
        ]
      },
      "ResponseError": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "description": "A short string explaining the reason of the error.",
            "example": "optin-not-found"
          },
          "details": {
            "type": "string",
            "description": "A short string which describes what is wrong. Provide this string to support@alcmeon.com if you wish to obtain more details about the problem.\n",
            "example": "Optin not found"
          }
        },
        "required": [
          "error"
        ]
      }
    }
  },
  "security": [
    {
      "basic_auth": []
    },
    {
      "bearer_token": []
    }
  ],
  "tags": [
    {
      "name": "User Optouts",
      "description": "Operations related to managing users who have opted out"
    }
  ]
}
```