---
updatedAt: 2025-06-11T23:24:26.000Z
agentTools:
  projectIndex: https://developers.workramp.com/llms.txt
---

# Create Contact

Creates a new contact in your Academy. You can create a contact with a password, or, if you use SSO or another login mechanism, you can just use this to ensure that the user has been created, for instance, if you want to add them to a segment before they first visit the site.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "json-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://app.workramp.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer",
        "x-default": "ACCESS_TOKEN"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v1/academies/{academy_id}/users": {
      "post": {
        "summary": "Create Contact",
        "description": "Creates a new contact in your Academy. You can create a contact with a password, or, if you use SSO or another login mechanism, you can just use this to ensure that the user has been created, for instance, if you want to add them to a segment before they first visit the site.",
        "operationId": "create-contact",
        "parameters": [
          {
            "name": "academy_id",
            "in": "path",
            "description": "The id of the Academy",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Content-Type",
            "in": "header",
            "description": "Always application/json",
            "schema": {
              "type": "string",
              "default": "application/json"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "name"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "description": "The email address of the Contact"
                  },
                  "name": {
                    "type": "string",
                    "description": "The name of the Contact"
                  },
                  "password": {
                    "type": "string",
                    "description": "(Optional) If you'd like the contact to sign in with a password. Not needed when using SSO, magic links, or another login mechanism."
                  },
                  "custom_registration_fields": {
                    "type": "string",
                    "description": "JSON dictionary where keys are the \"API Name\" of your registration field to set, and the values are the values to set. e.g. `{\"favorite_color\": \"blue\"}`",
                    "default": "{}",
                    "format": "json"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"url\": \"/api/v1/academies/c8be6efc-c511-11ee-8dca-000000000001/users\",\n  \"data\": {\n    \"user\": {\n      \"id\": \"01902776-8464-76c5-a173-293333b17baa\",\n      \"email\": \"john@doe.com\",\n      \"segments\": [],\n      \"display_name\": \"John Doe\",\n      \"first_name\": \"John\",\n      \"last_name\": \"Doe\",\n      \"created_at\": \"2024-06-17 18:29:56 UTC\",\n      \"custom_registration_field_values\": [\n      \t{\n      \t\t\"academy_registration_field_id\": \"field-id-1234\",\n      \t\t\"name\": \"department\",\n      \t\t\"value\": \"Sales\"\n    \t\t}\n      ],\n      \"status\": \"Active\"\n    }\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "example": "/api/v1/academies/c8be6efc-c511-11ee-8dca-000000000001/users"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "user": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "example": "01902776-8464-76c5-a173-293333b17baa"
                            },
                            "email": {
                              "type": "string",
                              "example": "john@doe.com"
                            },
                            "segments": {
                              "type": "array"
                            },
                            "display_name": {
                              "type": "string",
                              "example": "John Doe"
                            },
                            "first_name": {
                              "type": "string",
                              "example": "John"
                            },
                            "last_name": {
                              "type": "string",
                              "example": "Doe"
                            },
                            "created_at": {
                              "type": "string",
                              "example": "2024-06-17 18:29:56 UTC"
                            },
                            "custom_registration_field_values": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "academy_registration_field_id": {
                                    "type": "string",
                                    "example": "field-id-1234"
                                  },
                                  "name": {
                                    "type": "string",
                                    "example": "department"
                                  },
                                  "value": {
                                    "type": "string",
                                    "example": "Sales"
                                  }
                                }
                              }
                            },
                            "status": {
                              "type": "string",
                              "example": "Active"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"type\": \"invalid_params\",\n  \"message\": \"Invalid custom parameters: badField1, badField2\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "example": "invalid_params"
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid custom parameters: badField1, badField2"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```