Post user

POST /v1/user/

Body Required

  • name string Required

    Name of the user

  • email string Required

    Email of the user

  • account_id string

    Account ID of the user, provided by Auth Provider

  • connections array[object]

    User connections

    Hide connections attributes Show connections attributes object
    • type string Required

      Type of connection (e.g., "cognito")

    • id string Required

      Identifier for the connection (e.g., Cognito ID)

  • created_at string(date-time)

    Time when the user was created

Responses

  • 200

    Success

POST /v1/user/
curl \
 -X POST https://api.infura.ai/v1/user/ \
 -H "x-api-key: $API_KEY" \
 -d '{"name":"string","email":"string","account_id":"string","connections":[{"type":"string","id":"string"}],"created_at":"2024-05-04T09:42:00+00:00"}'
Request example
{
  "name": "string",
  "email": "string",
  "account_id": "string",
  "connections": [
    {
      "type": "string",
      "id": "string"
    }
  ],
  "created_at": "2024-05-04T09:42:00+00:00"
}