# Register an app (/docs/api/access/apps_put)

Name an attributed app and opt it in (or out) of the public rankings and showcase. A domain-style id must match its URL; another org's public id is refused.

`PUT /v1/apps/{id}`

```json
{
  "operationId": "apps_put",
  "summary": "Register an app",
  "description": "Name an attributed app and opt it in (or out) of the public rankings and showcase. A domain-style id must match its URL; another org's public id is refused.",
  "tags": [
    "apps"
  ],
  "security": [
    {
      "bearer": []
    }
  ],
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 2,
        "maxLength": 64,
        "pattern": "^[a-z0-9]+([.-][a-z0-9]+)*$"
      },
      "required": true,
      "name": "id",
      "in": "path"
    }
  ],
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 80
            },
            "url": {
              "type": [
                "string",
                "null"
              ],
              "maxLength": 300,
              "format": "uri",
              "default": null
            },
            "description": {
              "type": "string",
              "maxLength": 300,
              "default": ""
            },
            "categories": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "ai-sdr",
                  "enrichment",
                  "list-building",
                  "crm-sync",
                  "research-agent",
                  "outbound",
                  "data-pipeline",
                  "internal-tool"
                ]
              },
              "maxItems": 3,
              "default": []
            },
            "public": {
              "type": "boolean",
              "default": false
            }
          },
          "required": [
            "name"
          ]
        }
      }
    }
  },
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "object": {
                "type": "string",
                "enum": [
                  "app"
                ]
              },
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": {
                "type": "string"
              },
              "categories": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ai-sdr",
                    "enrichment",
                    "list-building",
                    "crm-sync",
                    "research-agent",
                    "outbound",
                    "data-pipeline",
                    "internal-tool"
                  ]
                }
              },
              "public": {
                "type": "boolean"
              },
              "registered": {
                "type": "boolean"
              },
              "calls_30d": {
                "type": "integer",
                "minimum": 0
              },
              "hits_30d": {
                "type": "integer",
                "minimum": 0
              },
              "cost_30d_micro": {
                "type": "integer",
                "minimum": 0
              },
              "last_seen_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "object",
              "id",
              "name",
              "url",
              "description",
              "categories",
              "public",
              "registered",
              "calls_30d",
              "hits_30d",
              "cost_30d_micro",
              "last_seen_at"
            ]
          }
        }
      }
    },
    "default": {
      "description": "Error",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "error": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "enum": [
                      "invalid_request",
                      "unauthorized",
                      "insufficient_balance",
                      "max_cost_exceeded",
                      "scope_denied",
                      "budget_blocked",
                      "not_found",
                      "idempotency_mismatch",
                      "invalid_meta",
                      "rate_limited",
                      "upstream_error",
                      "response_buffer_limit",
                      "provider_capacity_unavailable",
                      "grid_saturated",
                      "upstream_timeout",
                      "conflict",
                      "internal_error",
                      "account_frozen",
                      "strict_filters",
                      "plan_limit_reached",
                      "validation_failed",
                      "deadline_exceeded",
                      "cancelled"
                    ]
                  },
                  "message": {
                    "type": "string"
                  },
                  "request_id": {
                    "type": "string"
                  },
                  "call_id": {
                    "type": "string"
                  },
                  "retry_after_ms": {
                    "type": "integer",
                    "minimum": 0
                  },
                  "details": {
                    "type": "object",
                    "additionalProperties": {}
                  }
                },
                "required": [
                  "code",
                  "message"
                ]
              }
            },
            "required": [
              "error"
            ]
          }
        }
      }
    }
  }
}
```
