Contact Log in

API

Current API Version: v1

If you want to offer Thankful interactions outside of any helpdesk, such as in a customer user interface on their website, you can achieve that using this API. A helpdesk integration is still required.

Most businesses will not need to integrate directly with Thankful’s API and should instead integrate through their helpdesk.

You create an API key at https://dashboard.thankful.ai/settings/api. With that in hand, create send a request like the following to Thankful:

POST https://dashboard.thankful.ai/api/v1/messages

Request Header:
	X-API-Key: your_key_here
	Content-Type: application/json

Request Body:
{
	"Message": "Where is my order? #1015",
	"FlexID": "customer-email@example.com",
	"EndpointUUID": "ce2a9f3e-4b3d-4133-858d-4d837e07247c"
}

In curl, it looks like this:

curl -XPOST \
	-H 'X-API-Key: your_key_here' \
	-H 'Content-Type: application/json' \
	-d '{ \
		"Message":"Where is my order? #1015", \
		"FlexID":"customer-email@example.com", \
		"EndpointUUID":"ce2a9f3e-4b3d-4133-858d-4d837e07247c" \
	}' \
	https://dashboard.thankful.ai/api/v1/messages

Fields