The Pley API allows you to integrate with features like payments, account linking and authentication.

It's meant to be used from your back end only. All endpoints exist under https://api.pley.com/v2.

Request format

This API uses an RPC-style format based on JSON. All requests are POST requests, so the content-type header of your request must be application/json.

Authentication

Requests need to be authenticated using an API token. You can find your API token in the Game Manager by navigating to "Organization settings".

Then, for all your requests, pass an Authorization header with this value: Bearer YOUR_API_TOKEN.