Send your first message
This is a step-by-step guide for sending your first text message.
Ping!
Let’s get started sending text messages via the OpenPhone API.
1. Get phone numbers (optional)
Make a call to the GET Phone Numbers
endpoint to retrieve userId
and from
for the desired number (the phone number from which you’d like to send a text message). This step is optional if you already know the userId
and from
for the desired sending number.
2. Specify user ID (optional)
If you’d like to send the text message as a particular OpenPhone member in your workspace, make sure to include this userId
in your request body. If userId
is not specified, the sender will default to the phone number owner.
3. Send your message
You are now ready to send your first text message! Once you send your text message, you will receive a 202 Success Message via the API. Nice!
Summary
You are now able to send a text message to anyone in US or Canada. By using the API, you are able to programmatically send texts to your customers.
Was this page helpful?