---
agentTools:
  projectIndex: https://sendinblue.readme.io/llms.txt
---

# Identify the user

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-samples-languages": [
    "curl"
  ],
  "info": {
    "version": "2.0",
    "title": "RESTful Tracker",
    "description": "The RESTful Tracker is for logging users related events which you can then use to trigger actions in your Marketing Automation workflows.\n\n\n**Possible responses**\n\n  | Code | Message |\n  | :-------------: | ------------- |\n  | 204  | OK. Successful request  |\n  | 400  | Error. Bad request |\n  | 401  | Error. Authentication Needed  |\n  | 403  | Error. Permission denied  |\n  | 405  | Error. Method not allowed  |\n",
    "contact": {
      "name": "Brevo Support",
      "email": "contact@brevo.com",
      "url": "https://my.brevo.com"
    },
    "license": {
      "name": "MIT",
      "url": "http://opensource.org/licenses/MIT"
    }
  },
  "security": [
    {
      "ma-key": []
    }
  ],
  "paths": {
    "/identify": {
      "post": {
        "tags": [
          "Restful endpoints"
        ],
        "summary": "Identify the user",
        "operationId": "identifyUser",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/identifyUser"
              }
            }
          },
          "description": "Values to identify an user",
          "required": true
        },
        "responses": {
          "204": {
            "description": "User has been identified and successfully updated",
            "content": {}
          },
          "400": {
            "description": "bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/400Model"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://in-automate.brevo.com/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "ma-key": {
        "type": "apiKey",
        "name": "ma-key",
        "in": "header"
      }
    },
    "schemas": {
      "identifyUser": {
        "type": "object",
        "required": [
          "email"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email",
            "example": "example@brevo.com"
          },
          "attributes": {
            "type": "object",
            "description": "This object will contain all your custom fields. Add as many as needed. Keep in mind that those user properties will populate your database on the Marketing Automation platform to create rich scenarios",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "400Model": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "invalid_parameter",
              "missing_parameter",
              "out_of_rangeModel"
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "invalidParameter",
              "missingParameter",
              "outOfRangeModel"
            ]
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 145,
      "2": 150,
      "3": 105,
      "4": 102,
      "5": 190,
      "6": 203,
      "7": 0,
      "8": 11,
      "9": 120,
      "10": 66,
      "11": 63
    }
  }
}
```