# Store or create a new certificate of the given OrganisationCertificateType for the given organisation **POST /organisations/{OrganisationId}/certificates/{OrganisationCertificateType}** ## Servers - Raidiam Directory Sandbox Environment: https://matls-api.sandbox.raidiam.io (Raidiam Directory Sandbox Environment) ## Authentication methods - O auth ## Parameters ### Headers - **x-fapi-auth-date** (string) The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC - **x-fapi-customer-ip-address** (string) The PSU's IP address if the PSU is currently logged in with the TPP. - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. - **x-customer-user-agent** (string) Indicates the user-agent that the PSU is using. ### Path parameters - **OrganisationId** (string) The organisation ID - **OrganisationCertificateType** (string) The certificate type ### Body: application/jwt (string) string ## Responses ### 201 A certificate object #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. #### Body: application/jwk+json (object) - **ClientName** (string) - **ExpiryDateTime** (string) - **JwkPath** (string) Used to display path to JWKS containing this certificate - **OrgJwkPath** (string) Used to display path to Org JWKS containing org certificates - **OrganisationId** (string) Unique ID associated with the organisation - **RevokedDateTime** (string) - **SignedCertPath** (string) Used to display location of the signed certificate in PEM format - **SoftwareStatementIds** (array[string]) Unique Software Statement Id - **Status** (string) - **ValidFromDateTime** (string) - **crv** (string) - **e** (string) - **keyType** (string) - **kid** (string) - **kty** (string) - **n** (string) - **use** (string) - **x** (string) - **x5c** (array[string]) A PKIX certificate [RFC5280] - **x5t** (string) - **x5thashS256** (string) - **x5u** (string) - **y** (string) ### 400 Bad Request #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. #### Body: application/json (object) - **errors** (array[string]) Validation Error messages ### 401 Unauthorized #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. ### 403 Forbidden #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. ### 429 Too many requests, maximum capacity reached. Requests are now throttled. #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. ### 500 Internal Server Error #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. ### 502 Bad Gateway #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. ### 504 Upstream timeout, insufficient capacity to serve request. More capacity being brought online. Please try again. #### Headers - **x-fapi-interaction-id** (string) An RFC4122 UID used as a correlation id. [Powered by Bump.sh](https://bump.sh)