/
Create a service credenti...
Creates a service credential.
Security
SecretApiKey or JWT or ApplicationJWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/service-credentials/{type}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/service-credentials/{type}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/service-credentials/{type}
- SecretApiKey
- JWT
- ApplicationJWT
- smtp
- webhook
- experian
- mailgun
- oauth2
- postmark
- sendgrid
- aws-ses
- taxjar
- avalara
- plaid
curl -i -X POST \
'https://www.rebilly.com/_mock/catalog/all/service-credentials/{type}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"type": "smtp",
"host": "string",
"port": 25,
"encryption": "none",
"auth": {
"type": "none"
}
}'Service credential created.
Headers
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
Example:3600
Status of the credential.
| Enum Value | Description |
|---|---|
| active | Credential is active and can be used. |
| inactive | Credential is temporarily inactivated and cannot be used until reactivated. |
| deactivated | Credential is permanently deactivated and cannot be reactivated. |
Date and time when the credential is deactivated.
Response
- smtp
- webhook
- experian
- mailgun
- oauth2
- postmark
- sendgrid
- aws-ses
- taxjar
- avalara
- plaid
{ "id": "crd_0YV9Y706QGCB39FQD380G1ZHZH", "hash": "crd_0YV9Y706QGCB39FQD380G1ZHZH", "status": "active", "deactivationTime": "2019-08-24T14:15:22Z", "type": "smtp", "host": "string", "port": 25, "encryption": "none", "auth": { "type": "none" }, "_links": [ { … } ] }