Users

Register a new user

Creates a new user. Request body is JSON:API enveloped (data.attributes). Signup path is determined by attributes:

  • token present → assignee signup (from invitation)
  • linking_request_id present → linked-invite signup (accounts-api creates the child org)
  • neither → account-owner signup (creates a new org) When supplied, contact_number must be an E.164 number with any country code (e.g. +639171234567) — anything else returns 422.
post/v1/users

Request

  • Base URL
    https://identity-api.paymongo.com
  • URL
    https://identity-api.paymongo.com/v1/users
  • Auth
    none required

Request body

Example request

{
  "data": {
    "attributes": {
      "accelerator_program_code": "sme",
      "accepted_terms": true,
      "affiliate_partner": "partner-name",
      "contact_number": "+639171234567",
      "department": "owner_management",
      "email": "juan@example.com",
      "first_name": "-",
      "last_name": "-",
      "linking_request_id": "lr_abc123",
      "password": "Str0ng!Password",
      "password_confirmation": "Str0ng!Password",
      "referral_code": "REF1234",
      "sales_invitation_token": "abc123def456",
      "token": "invt_xyz789",
      "utm_campaign": "summer_2026",
      "utm_content": "hero_banner",
      "utm_medium": "cpc",
      "utm_source": "google",
      "utm_term": "online_payments",
      "utm_type": "paid",
      "visitor_id": "7f1e2c3a-4b5d-6e7f-8a9b-0c1d2e3f4a5b"
    }
  }
}

Response

Created

has_moreboolean

Example response

{
  "data": {
    "attributes": {
      "email": "juan@example.com",
      "first_name": "-",
      "last_name": "-"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.