Many services only accept American numbers. If you are outside the country, or you do not want to share your own number, a free US phone number does the job.
US numbers use the country code +1, followed by a three-digit area code and a seven-digit number. Canada shares the +1 code, so check the area code if the app is strict.
Free US numbers are the most used numbers anywhere, so big apps block many of them. If yours is refused, try a newer number from the list or a number from the United Kingdom or Canada.
For important accounts, rent a private US number. You can even ask for a certain area code. Only you see its messages.