POST/user/credits
Check Credits
Query the current credit balance of your developer account.
Authentication: None
Content-Type:
application/jsonRequest Parameters
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| userId | string | Yes | ā | The user ID to query. |
curl -X POST "https://apisdk.snapmydesign.com/api/v1/user/credits" \
-H "Content-Type: application/json" \
-d '{
"userId": "user_abc123"
}'Example Response200 OK
{
"success": true,
"statusCode": 200,
"message": "User credits found",
"credits": {
"user": {
"userId": "user_abc123"
},
"credits": 42.5
}
}