Skip to content

Update profile

Users
POSThttps://api.dcdial.com/api/type=update_profile
Changes dataToken

Updates the user’s name, email or mobile number. Fields you leave out stay unchanged.

Parameters

Send as application/x-www-form-urlencoded.

  • typestringrequired

    Selects the operation. Always update_profile for this endpoint.

  • tokenstringrequired

    Your API token from Log in. See Authentication.

  • full_namestringrequired

    Full name.

    Example Jane Doe
  • emailstringrequired

    Email address.

    Example jane@example.com
  • mobile_numberstringrequired

    Mobile number.

    Example 5551234567
Terminal window
curl https://api.dcdial.com/api/ \
-d type=update_profile \
-d token="$DCDIAL_TOKEN" \
-d full_name='Jane Doe' \
-d email=jane@example.com \
-d mobile_number=5551234567
Response · 200 OK
{
"response": {
"success": "1",
"error": ""
}
}

Try it

Environment