Creates a new Rove Miles account for a user identified by phone number and external ID.
cURL
curl --request POST \ --url https://api.staging.rovemiles.com/functions/v1/miles/account/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "phone_number": "+12025550123", "external_id": "user_12345" } '
{ "success": true, "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
API key for authentication. Add your API key to the Authorization header with this format: 'Bearer your_api_key_here'
Phone number of the user
^(\+1|1)[0-9]+$
External identifier for the user
Successfully created account
true
The UUID of the created account