Skip to main content
POST
/
api
/
public
/
v1
/
auth
/
test
Test authentication
curl --request POST \
  --url https://app.tagadapay.com/api/public/v1/auth/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true,
  "user": {
    "id": "user_123",
    "orgId": "org_456",
    "permissions": [
      "org:admin"
    ],
    "account": {
      "id": "acc_789",
      "name": "My Account"
    },
    "isServiceAccount": false,
    "isAccountOwner": true
  }
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json

The body is of type object.

Response

Successful response