The Relay REST API allows you to purchase phone numbers, create SIP endpoints, manage campaigns, and more.

Find the documentation here: https://docs.signalwire.com/topics/relay-rest