cURL
curl --request POST \ --url https://api.example.com/api/Messages/Sms/CreditCheck \ --header 'Content-Type: application/json' \ --data ' [ { "subject": "<string>", "body": "<string>", "jobId": 123, "placementId": 123, "changeRequestId": 123, "recipientEntityId": 1, "recipientRecordId": 123 } ] '
{ "creditBalance": 123, "creditsNeeded": 123, "statusMessage": "<string>" }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
25
26
27
28
29
30
31
1000
1003
1004
1400
-2
OK
Was this page helpful?