Morph.ai provides simple and easy to use REST-like APIs to send a message, update customer, etc. These APIs will let you easily integrate Morph.ai with your business tool/CRM.
- Host/Base Url: Morph.ai APIs have the following host/base URL: https://open-api.morph.ai/v1/
- Request/Response Format: The API accepts JSON in request bodies and requires that the content-type: application/json header to be specified for all such requests. The API will always respond with a JSON object.
- CORS: The API also facilitates cross-origin resource sharing so that it can be called from a web application.
- Ping: The API also supports a special ping endpoint to check whether the API is up & running or not: https://open-api.morph.ai/v1/ping
Each API request requires authentication to identify the client that is responsible for making the request. Authentication is provided through passing an access token in the Authorization header. For example:
You can find the access token for your account here (Nurture>API).
|200||For all the successful requests|
|401||When the Authorization header is missing or the provided token is wrong|
|400||Something malformed in your header or request body|
|404||The requested path is not found|
|500||In case of any unexpected error. Contact support with the RefId provided in the error response.|