Skip to main content
PATCH
https://app.usatimbre.com
/
api
/
profile
/
{rfc}
curl -X PATCH "https://app.usatimbre.com/api/profile/XAXX010101000" \
  -H "Authorization: Bearer tmb_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Name",
    "phone_number": "+525512345678",
    "email": "[email protected]"
  }'
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Updated Name",
  "email": "[email protected]",
  "phone_number": "+525512345678",
  "org_id": "org_123456",
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-21T09:00:00Z",
  "is_admin": false,
  "credits_remaining": 50
}

Overview

Update profile information. You can update the name, phone number, and email fields.

Path Parameters

rfc
string
required
The RFC (Mexican tax ID) or UUID of the profile to update

Request Body

name
string
Updated name for the profile
phone_number
string
Updated phone number. Should include country code (e.g., +525512345678)
email
string
Updated email address

Response

Returns the updated profile object.
id
string
Unique profile identifier (UUID)
name
string
Updated profile name
email
string
Updated email address
phone_number
string
Updated phone number
updated_at
string
ISO 8601 timestamp of the update
curl -X PATCH "https://app.usatimbre.com/api/profile/XAXX010101000" \
  -H "Authorization: Bearer tmb_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Name",
    "phone_number": "+525512345678",
    "email": "[email protected]"
  }'
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Updated Name",
  "email": "[email protected]",
  "phone_number": "+525512345678",
  "org_id": "org_123456",
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-21T09:00:00Z",
  "is_admin": false,
  "credits_remaining": 50
}