Profile API
Retrieve information related to player's account balances, chips, and more.
Overview
The Profile API allows clients to retrieve player data from Pokerscript, including profile information and chip balance.
Endpoint
GET http://admin.pokerurl.com/api/profile
Headers
Key
Value
Description
AuthKey
489j4erwginerwgirn
Client Key provided by Pokerscript
Accept
application/JSON
Expected response format
Content-Type
application/JSON
Request payload format
Authorization
Bearer + UserToken
User authentication token
Request Body
The API requires the following JSON payload:
Note: The UserToken
is retrieved from the Login API and should be securely stored on the client side (local machine or database) for easy access.
Success Response
On successful retrieval, the API returns a 200 OK response with the following JSON format:
Error Responses
If the request fails, an error response is returned with the corresponding status code:
401 Unauthorized
401 Unauthorized
404 Not Found
404 Not Found
500 Internal Server Error
500 Internal Server Error
Additional Notes
Ensure that the
UserToken
is valid and has not expired.If an authentication error occurs, verify that the correct
AuthKey
andUserToken
are used.The API response times depend on server load; retry if necessary in case of a temporary failure.
Last updated
Was this helpful?